Fortinet black logo

Online Help

Get Severity

Copy Link
Copy Doc ID 73ddbf8a-9129-11ec-9fd1-fa163e15d75b:39390

Get Severity

Description

Get alert severities from FortiCWP

URL

/api/v1/severity

Method: GET

Request Headers

Key

Value

Type

Description

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

companyId

<12345>

Integer

Company ID in FortiCWP, 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.forticwp.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 FortiCWP 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 FortiCWP

URL

/api/v1/severity

Method: GET

Request Headers

Key

Value

Type

Description

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

companyId

<12345>

Integer

Company ID in FortiCWP, 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.forticwp.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 FortiCWP 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"

}

]