/api/v2/bpm/extApi/methods/{id}
Метод по ID возвращает информацию о прокси эндпоинте внешней системы интегрированной с BPMS
Path Parameters
- id integer required
ID прокси метода внешнего сервиса
Example: 1005
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 1,
"message": "",
"response": {
"id": 1005,
"apiId": 84,
"typeId": 1,
"methodUrl": "https://www.notion.so/started_page",
"methodName": "Стартовая страница ноушен",
"requestJson": {
"token": "WC9nx!XeAV?XGQtLXcfLGXPy0VFcRXO2c9rKCsYsOU6BRUcagic"
},
"responseJson": {
"response": {
"status": 1,
"message": "Token is inactive",
"response": {}
}
},
"responseTypeId": 1,
"timeoutConnect": 15,
"timeoutReceive": 15
},
"preparingsTime": 0.04
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 0,
"message": "Not found",
"response": {},
"preparingsTime": 0.068
}
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.004
}
Loading...