Post /host/device-profiling-rule/{id}
Description
Updates an existing Device Profiling Rule record in the database.
Request Parameter
Id, Device Profiling Rule 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/host/device-profiling-rule/3 |
Request Header |
Authorization: Bearer <Authorization_Token> Content-Type: application/json
|
Request Body |
{ "landscape": 0, "id": 3, "name": "string", "type": { "name": "string", "tag": "string", "imageFile": "string", "id": 0 }, "notify": true, "registerAutomatically": true, "registerClient": true, "registerToLoggedInUser": true, "role": "string", "addToGroup": true, "groupId": 0, "addToDomain": true, "domainId": 0, "state": "string", "version": 0, "rank": 0, "enabled": true, "methods": [ { "enabled": true, "methodType": { "id": 0, "name": "string", "shortName": "string" }, "version": 0, "encrypted": true, "priority": 0, "methodTypeString": "string" } ], "description": "string", "sponsorNote": "string", "weeklySchedule": { "version": 0, "startTimeOfDay": 0, "endTimeOfDay": 0, "daysOfWeek": 0, "validTime": true, "alwaysOn": true, "startTimeOfDayAM": true, "endTimeOfDayAM": true, "startTimeOfDayHours": 0, "endTimeOfDayHours": 0, "startTimeOfDayMinutes": 0, "endTimeOfDayMinutes": 0 }, "reValidation": true, "reValidationInterval": 0, "failedValidationAction": { "disable": true, "version": 0 }, "lastModifiedBy": "string", "lastModifiedDate": "2024-02-28T19:25:46.868Z", "guid": 0, "globalModifiedDate": "2024-02-28T19:25:46.868Z", "registerToUser": "string", "tags": [ "string" ], "auditObjectName": "string", "auditObjectType": { "auditTableName": "string", "mysqlTableName": "string", "idnameQuery": "string" }, "modifyAuditSummary": "string", "addAuditSummary": "string", "catchAll": true, "methodSummaryString": "string" } |
Sample Response
{
"status": "string",
"errorMessage": "string"
}