Fortinet white logo
Fortinet white logo

Rest API

7.2.0

Post /user/admin-profile/mapping

Post /user/admin-profile/mapping

Description

Creates a new Admin Profile Mapping record, updating instead if the supplied profile has a DBID of one that already exists.

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

POST https://10.106.94.152:8443/api/v2/user/admin-profile/mapping

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Request Body

{

"dbid": 0,

"rank": 0,

"version": 0,

"lastModifiedBy": "string",

"lastModifiedDate": "2024-03-05T23:45:54.458Z",

"adminProfileDBID": 0,

"groupDBID": 0,

"auditObj": {

"auditDBID": 0,

"liveDBID": 0,

"liveObj": {

"auditObj": "string",

"yamsEventTag": "string"

},

"user": "string",

"action": "string",

"timestamp": "2024-03-05T23:45:54.458Z",

"auditObj": "string",

"yamsEventTag": "string"

},

"yamsEventTag": "string",

"auditObjectName": "string",

"auditObjectType": {

"auditTableName": "string",

"mysqlTableName": "string",

"idnameQuery": "string"

},

"groupName": "string",

"group": {

"landscape": 0,

"dbid": 0,

"elementClass": 0,

"name": "string",

"userGroup": true,

"description": "string",

"accessPolicy": 0,

"daysValid": 0,

"daysInactive": 0,

"guid": 0,

"globalModifiedDate": "2024-03-05T23:45:54.458Z",

"nameLabel": "string"

}

}

Sample Response

{

"status": "string",

"errorMessage": "string",

"results": []

}

Post /user/admin-profile/mapping

Post /user/admin-profile/mapping

Description

Creates a new Admin Profile Mapping record, updating instead if the supplied profile has a DBID of one that already exists.

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

POST https://10.106.94.152:8443/api/v2/user/admin-profile/mapping

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Request Body

{

"dbid": 0,

"rank": 0,

"version": 0,

"lastModifiedBy": "string",

"lastModifiedDate": "2024-03-05T23:45:54.458Z",

"adminProfileDBID": 0,

"groupDBID": 0,

"auditObj": {

"auditDBID": 0,

"liveDBID": 0,

"liveObj": {

"auditObj": "string",

"yamsEventTag": "string"

},

"user": "string",

"action": "string",

"timestamp": "2024-03-05T23:45:54.458Z",

"auditObj": "string",

"yamsEventTag": "string"

},

"yamsEventTag": "string",

"auditObjectName": "string",

"auditObjectType": {

"auditTableName": "string",

"mysqlTableName": "string",

"idnameQuery": "string"

},

"groupName": "string",

"group": {

"landscape": 0,

"dbid": 0,

"elementClass": 0,

"name": "string",

"userGroup": true,

"description": "string",

"accessPolicy": 0,

"daysValid": 0,

"daysInactive": 0,

"guid": 0,

"globalModifiedDate": "2024-03-05T23:45:54.458Z",

"nameLabel": "string"

}

}

Sample Response

{

"status": "string",

"errorMessage": "string",

"results": []

}