Get /host/device-profiling-rule/create-from-adapter
Description
Returns the potential contents of a new Device Profiling Rule created from an existing adapter. This is not automatically added to the database.
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 |
|
|
Request Body Parameters
Name |
Required |
Type |
---|---|---|
macAddress | Required | String |
Sample Request
Request URL |
GET https://10.106.94.152:8443/api/v2/host/device-profiling-rule/create-from-adapter |
Request Header |
Authorization: Bearer <Authorization_Token> Content-Type: application/json
|
Request Body |
macAddress: xxxxxxxxx |
Sample Response
{
"status": "string",
"errorMessage": "string",
"results": [
{
"landscape": 0,
"id": 0,
"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-27T23:59:17.572Z",
"guid": 0,
"globalModifiedDate": "2024-02-27T23:59:17.572Z",
"registerToUser": "string",
"tags": [
"string"
],
"auditObjectName": "string",
"auditObjectType": {
"auditTableName": "string",
"mysqlTableName": "string",
"idnameQuery": "string"
},
"modifyAuditSummary": "string",
"addAuditSummary": "string",
"catchAll": true,
"methodSummaryString": "string"
}
],
"filtered": 0,
"total": 0
}