Fortinet white logo
Fortinet white logo

Rest API

7.4.0

Post /settings/integration/mdm/{id}

Post /settings/integration/mdm/{id}

Description

Updates an MDM record.

Request Parameter

Id, the MDM 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

POST https://10.106.94.152:8443/api/v2/settings/integration/mdm/2

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Request Body

{

"dbid": 0,

"name": "string",

"version": "string",

"request": "string",

"identifier": "string",

"userID": "string",

"password": "string",

"credentialText": "string",

"pluginName": "string",

"deleteOnRemove": true,

"onDemandRegistration": true,

"reValidation": true,

"updateApplications": true,

"poll": true,

"pollInterval": 0,

"lastPoll": "2024-03-13T22:30:50.174Z",

"lastSuccessfulPoll": "2024-03-13T22:30:50.174Z",

"createDate": "2024-03-13T22:30:50.174Z",

"maaS360PlatformID": "string",

"maaS360AppID": "string",

"maaS360AppVersion": "string",

"maaS360AppAccessKey": "string",

"otOnly": true,

"approvedOnly": true,

"insecureSSL": true,

"riskLevel": "string",

"complianceRetrieval": true,

"sslVerifyCert": true,

"sslVerifyHostname": true,

"option1": "string",

"option2": "string",

"option3": "string",

"option4": "string",

"connectTimeout": 0,

"readTimeout": 0

}

Sample Response

{

"status": "string",

"errorMessage": "string"

}

Post /settings/integration/mdm/{id}

Post /settings/integration/mdm/{id}

Description

Updates an MDM record.

Request Parameter

Id, the MDM 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

POST https://10.106.94.152:8443/api/v2/settings/integration/mdm/2

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Request Body

{

"dbid": 0,

"name": "string",

"version": "string",

"request": "string",

"identifier": "string",

"userID": "string",

"password": "string",

"credentialText": "string",

"pluginName": "string",

"deleteOnRemove": true,

"onDemandRegistration": true,

"reValidation": true,

"updateApplications": true,

"poll": true,

"pollInterval": 0,

"lastPoll": "2024-03-13T22:30:50.174Z",

"lastSuccessfulPoll": "2024-03-13T22:30:50.174Z",

"createDate": "2024-03-13T22:30:50.174Z",

"maaS360PlatformID": "string",

"maaS360AppID": "string",

"maaS360AppVersion": "string",

"maaS360AppAccessKey": "string",

"otOnly": true,

"approvedOnly": true,

"insecureSSL": true,

"riskLevel": "string",

"complianceRetrieval": true,

"sslVerifyCert": true,

"sslVerifyHostname": true,

"option1": "string",

"option2": "string",

"option3": "string",

"option4": "string",

"connectTimeout": 0,

"readTimeout": 0

}

Sample Response

{

"status": "string",

"errorMessage": "string"

}