/api/v2/bpm/applications
/api/v2/bpm/applications
Header Parameters
- Authorization stringExample: {{token}}
- application/json
Request Body
- object
Responses
- 201
- 400
- 401
Created
- application/json
- Schema
- Example (from schema)
- example-0
- example-1
Schema
- object
{}
201_2
{
"status": 1,
"message": "Application is successfully created",
"response": {
"id": 27,
"idInstance": 1,
"applicationName": null,
"token": "",
"clientId": null,
"clientSecret": null,
"idRole": null
},
"preparingsTime": 0.014
}
201
{
"status": 1,
"message": "Application is successfully created",
"response": {
"id": 26,
"idInstance": 1,
"applicationName": "Т Банк",
"token": "huifhuieheruguwihruiguirh",
"clientId": "100",
"clientSecret": "Very very secret key",
"idRole": 1
},
"preparingsTime": 0.024
}
Bad Request
- application/json
- Schema
- Example (from schema)
- example-0
- example-1
Schema
- object
{}
400(404)
{
"status": 0,
"message": {
"idInstance": [
"Instance was not found"
]
},
"response": {},
"preparingsTime": 0.012
}
400_2
{
"status": 0,
"message": {
"idRole": [
"Role was not found"
]
},
"response": {},
"preparingsTime": 0.015
}
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
}
Loading...