Fortinet white logo
Fortinet white logo

Rest API

7.4.0

Get /host/registration-request/{id}

Get /host/registration-request/{id}

Description

Returns a list of Host Registration Request records matching the supplied filter.

Request Parameter

Id, the Host Registration Request ID.

Request Headers

Key

Value

Type

Description

Authorization Bearer <Authorization Token> String Authorization credential generated by FortiNAC
Content-Type (option 1) application/json String

Content-Type (option 2)

application/xml

Sample Request

Request URL

GET https://10.106.94.152:8443/api/v2/host/registration-request/1

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "string",

"errorMessage": "string",

"results": [

{

"dbid": 0,

"approver": "string",

"ip": "string",

"mac": "string",

"location": "string",

"state": "ACCEPTED",

"createDate": "2024-04-25T21:17:11.029Z",

"expireDate": "2024-04-25T21:17:11.029Z",

"responseDate": "2024-04-25T21:17:11.029Z",

"userID": "string",

"requestKey": "string",

"requestSource": "PORTAL_STANDARD_USER",

"requestSourceName": "string",

"approverGroup": 0

}

],

"filtered": 0,

"total": 0

}

Get /host/registration-request/{id}

Get /host/registration-request/{id}

Description

Returns a list of Host Registration Request records matching the supplied filter.

Request Parameter

Id, the Host Registration Request ID.

Request Headers

Key

Value

Type

Description

Authorization Bearer <Authorization Token> String Authorization credential generated by FortiNAC
Content-Type (option 1) application/json String

Content-Type (option 2)

application/xml

Sample Request

Request URL

GET https://10.106.94.152:8443/api/v2/host/registration-request/1

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "string",

"errorMessage": "string",

"results": [

{

"dbid": 0,

"approver": "string",

"ip": "string",

"mac": "string",

"location": "string",

"state": "ACCEPTED",

"createDate": "2024-04-25T21:17:11.029Z",

"expireDate": "2024-04-25T21:17:11.029Z",

"responseDate": "2024-04-25T21:17:11.029Z",

"userID": "string",

"requestKey": "string",

"requestSource": "PORTAL_STANDARD_USER",

"requestSourceName": "string",

"approverGroup": 0

}

],

"filtered": 0,

"total": 0

}