Fortinet white logo
Fortinet white logo

Rest API

7.2.0

Get /user/guest-self-registration/{id}

Get /user/guest-self-registration/{id}

Description

Returns a list of self registration request records matching the supplied database id.

Request Parameter

Id, the Security Registration record 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/user/guest-self-registration/1

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "string",

"errorMessage": "string",

"results": [

{

"dbid": 0,

"sponsor": "string",

"ip": "string",

"mac": "string",

"location": "string",

"guestData": "string",

"createDate": "2024-02-06T23:54:18.801Z",

"expireDate": "2024-02-06T23:54:18.801Z",

"responseDate": "2024-02-06T23:54:18.801Z",

"message": "string",

"userID": "string",

"guestDBID": 0,

"requestKey": "string",

"portalName": "string",

"yamsEventTag": "string",

"auditObj": {

"user": "string",

"action": "string",

"timestamp": "2024-02-06T23:54:18.801Z",

"liveObj": {

"yamsEventTag": "string",

"auditObj": "string"

},

"auditDBID": 0,

"liveDBID": 0,

"yamsEventTag": "string",

"auditObj": "string"

},

"expired": true,

"pending": true,

"stateType": "ACCEPTED",

"stateDisplayValue": "string",

"formattedSponsorString": "string"

}

],

"filtered": 0,

"total": 0

}

Get /user/guest-self-registration/{id}

Get /user/guest-self-registration/{id}

Description

Returns a list of self registration request records matching the supplied database id.

Request Parameter

Id, the Security Registration record 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/user/guest-self-registration/1

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Sample Response

{

"status": "string",

"errorMessage": "string",

"results": [

{

"dbid": 0,

"sponsor": "string",

"ip": "string",

"mac": "string",

"location": "string",

"guestData": "string",

"createDate": "2024-02-06T23:54:18.801Z",

"expireDate": "2024-02-06T23:54:18.801Z",

"responseDate": "2024-02-06T23:54:18.801Z",

"message": "string",

"userID": "string",

"guestDBID": 0,

"requestKey": "string",

"portalName": "string",

"yamsEventTag": "string",

"auditObj": {

"user": "string",

"action": "string",

"timestamp": "2024-02-06T23:54:18.801Z",

"liveObj": {

"yamsEventTag": "string",

"auditObj": "string"

},

"auditDBID": 0,

"liveDBID": 0,

"yamsEventTag": "string",

"auditObj": "string"

},

"expired": true,

"pending": true,

"stateType": "ACCEPTED",

"stateDisplayValue": "string",

"formattedSponsorString": "string"

}

],

"filtered": 0,

"total": 0

}