/api/v2/bpm/applications/{id}
/api/v2/bpm/applications/{id}
Path Parameters
- id integer required
ID, под которым хранится токен доступа для внешних систем к какому либо сервису BPMS
Example: 28
Header Parameters
- Authorization stringExample: {{token}}
- application/json
Request Body
- object
Responses
- 200
- 400
- 401
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 1,
"message": "Application is successfully updated",
"response": {
"id": 27,
"idInstance": 1,
"applicationName": "Альфа Банк",
"token": "huifhuieheruguwirbrttwbtrtbhruiguirh",
"clientId": "111",
"clientSecret": "Very very secret key",
"idRole": 3
},
"preparingsTime": 0.016
}
Bad Request
- application/json
- Schema
- Example (from schema)
- example-0
- example-1
Schema
- object
{}
400
{
"status": 0,
"message": {
"idRole": [
"Role was not found"
]
},
"response": {},
"preparingsTime": 0.015
}
400_2
{
"status": 0,
"message": {
"idInstance": [
"Instance was not found"
]
},
"response": {},
"preparingsTime": 0.022
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 0,
"message": "Authentication credentials were not provided.",
"response": {
"detail": "Authentication credentials were not provided."
},
"preparingsTime": 0.001
}
Not Found
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 0,
"message": "Not found",
"response": {},
"preparingsTime": 0.013
}
Loading...