Fortinet black logo

Online Help

Get Severity

Copy Link
Copy Doc ID cf00dcb1-0886-11ed-bb32-fa163e15d75b:39390

Get Severity

Description

Get alert severities from FortiCNP

URL

/api/v1/severity

Method: GET

Request Headers

Key

Value

Type

Description

Authorization Bearer <Authorization Token> String Authorization credential generated by FortiCNP
Content-Type application/json String

companyId

<12345>

Integer

Company ID in FortiCNP, can be obtained through Get Resource Map

roleId

<12345>

Long

Login user identity, can be obtained through Get Resource Map

Sample Request

Request URL

GET https://www.forticnp.com/api/v1/severity

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

roleId: 36241

companyId: 8059334

Response Variables

Name

Type

Description

id String ID number of FortiCNP severity
name String Type of severity

Sample Response

[

{

"id":"1",

"name":"Critical"

},

{

"id":"2",

"name":"Alert"

},

{

"id":"3",

"name":"Warning"

},

{

"id":"4",

"name":"Information"

},

{

"id":"5",

"name":"Pass"

}

]

Get Severity

Description

Get alert severities from FortiCNP

URL

/api/v1/severity

Method: GET

Request Headers

Key

Value

Type

Description

Authorization Bearer <Authorization Token> String Authorization credential generated by FortiCNP
Content-Type application/json String

companyId

<12345>

Integer

Company ID in FortiCNP, can be obtained through Get Resource Map

roleId

<12345>

Long

Login user identity, can be obtained through Get Resource Map

Sample Request

Request URL

GET https://www.forticnp.com/api/v1/severity

Request Header

Authorization: Bearer <Authorization_Token>

Content-Type: application/json

roleId: 36241

companyId: 8059334

Response Variables

Name

Type

Description

id String ID number of FortiCNP severity
name String Type of severity

Sample Response

[

{

"id":"1",

"name":"Critical"

},

{

"id":"2",

"name":"Alert"

},

{

"id":"3",

"name":"Warning"

},

{

"id":"4",

"name":"Information"

},

{

"id":"5",

"name":"Pass"

}

]