Get /system/task/{id}
Description
Returns all task records with the supplied DBID.
Request Parameter
Id, the task record DBID.
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/system/task/1 |
Request Header |
Authorization: Bearer <Authorization_Token> Content-Type: application/json
|
Sample Response
{
"status": "success",
"errorMessage": null,
"results": [
{
"landscape": 345052093136,
"id": 1,
"state": 0,
"elementType": 100,
"nameTag": "SECURITY_RESCAN",
"scheduledObjectType": 10,
"eventTag": "SECURITY_RESCAN",
"taskType": 3,
"version": 1.2,
"lastModifiedBy": "SYSTEM",
"lastModifiedDate": "2024-02-05T02:29:19.337+0000",
"lastChangeSummary": "",
"taskValue": "SecurityManager",
"auditObjectName": "SECURITY_RESCAN",
"auditObjectType": null,
"modifyAuditSummary": null,
"addAuditSummary": null
}
],
"filtered": 2,
"total": 34
}