Fortinet white logo
Fortinet white logo

Rest API

7.4.0

Get /device/discovery/discover/status

Get /device/discovery/discover/status

Description

Returns the discovery status for a single container.

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

containerName Yes String

Sample Request

Request URL

GET https://10.106.94.152:8443/api/v2/device/discovery/discover/status

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Request Body

containerName: xxxxxxxx

Sample Response

{

"status": "string",

"errorMessage": "string",

"result": {

"currentAddress": "string",

"devicesFound": 0,

"useCDP": true,

"deviceTotal": 0,

"totalAddresses": 0,

"devicesProcessed": 0,

"snmpV1Errors": [

"string"

],

"snmpV3Errors": [

"string"

],

"cliErrors": [

"string"

],

"vendorOIDMismatch": [

"string"

],

"pingFailures": [

"string"

],

"ipList": [

{}

],

"seedList": [

"string"

],

"endTime": "2024-04-17T21:52:18.095Z",

"startingAddress": "string",

"endingAddress": "string"

}

}

Get /device/discovery/discover/status

Get /device/discovery/discover/status

Description

Returns the discovery status for a single container.

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

containerName Yes String

Sample Request

Request URL

GET https://10.106.94.152:8443/api/v2/device/discovery/discover/status

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

Request Body

containerName: xxxxxxxx

Sample Response

{

"status": "string",

"errorMessage": "string",

"result": {

"currentAddress": "string",

"devicesFound": 0,

"useCDP": true,

"deviceTotal": 0,

"totalAddresses": 0,

"devicesProcessed": 0,

"snmpV1Errors": [

"string"

],

"snmpV3Errors": [

"string"

],

"cliErrors": [

"string"

],

"vendorOIDMismatch": [

"string"

],

"pingFailures": [

"string"

],

"ipList": [

{}

],

"seedList": [

"string"

],

"endTime": "2024-04-17T21:52:18.095Z",

"startingAddress": "string",

"endingAddress": "string"

}

}