Get Application Status
Description
Get the cloud service information and authentication status under the same business unit.
URL
/api/v1/application/status
Method: Get
Request Headers
Key |
Value |
Type |
Description |
---|---|---|---|
Authorization | Bearer <Authorization Token> | String | Authorization credential generated by FortiCASB |
Content-Type | application/json | String | |
buId |
<Business Unit ID> |
Long |
The targeted business unit ID on FortiCASB. Business unit ID can be obtained through . Alternatively, it can also be obtained from the REST API Get Resource Map |
companyId | <Company ID> | Integer | Company ID of which the business unit is under, can be obtained through Get Resource Map. |
roleId |
<User ID> |
Integer |
Login user ID, can be obtained through Get Resource Map. |
Sample Request
Request URL |
GET https://www.forticasb.com/api/v1/application/status |
Request Header |
Authorization: Bearer <Authorization_Token> Content-Type: application/json roleId: 36241 companyId: 62598 buid: 84 |
Response Variables
Name |
Required |
Type |
Description |
---|---|---|---|
service | Required | String | Cloud service account such as "Salesforce", "Office365", etc. |
applicationId | Required | String | The id of the cloud service account. |
applicationStatus | Required | int | The onboarding status of the cloud service account. |
cloudAccount | Required | String | Cloud service account username. |
Sample Response
[
{
"companyId": 62598,
"buId": 84,
"service": "AWSS3",
"applicationId": "239187241191",
"update": false,
"enable": true,
"applicationStatus": "RUNNING",
"lastUpdate": 1680311539918,
"cloudAccount": "239187241191"
},
{
"companyId": 62598,
"buId": 84,
"service": "SAPSuccessFactors",
"applicationId": "SFCPART000289",
"update": false,
"enable": true,
"applicationStatus": "RUNNING",
"lastUpdate": 1705083754298,
"cloudAccount": "sfadmin"
},
{
"companyId": 62598,
"buId": 84,
"service": "CitrixShareFile",
"applicationId": "a4205de9-ca5b-8c96-4cb3-802ffe209b84",
"update": true,
"enable": true,
"applicationStatus": "RUNNING",
"lastUpdate": 1705070917370,
"cloudAccount": "testadmin1@forticasb.com"
}
]