Значения из references_api_methods_types
Request
Response
{
"status": 1,
"message": "",
"response": {
"types": [
{
"id": 1,
"method": "POST"
},
{
"id": 2,
"method": "GET"
},
{
"id": 3,
"method": "PUT"
}
]
}
}
Request
{
"apiId": 28, //required
"typeId": 1, //required
"methodUrl": "/api/Order/status/{{api.externalId}}", //required
"methodName": "applicationStatusTakePhotos", //required
"requestJson": { //optional
"clientId": "{{api.externalId}}",
"applicationStatus": "TakePhotos"
},
"responseJson": { //optional
"status": 1,
"message": null,
"response": {
"succes": 1,
"clientId": "{{api.externalId}}"
}
}
}
Response
{
"status": 1,
"message": "",
"response": {
"apiMethod": {
"id": 23,
"apiId": 28,
"typeId": 1,
"methodUrl": "/api/Order/status/{{api.externalId}}",
"methodName": "applicationStatusTakePhotos",
"requestJson": {
"clientId": "{{api.externalId}}",
"applicationStatus": "TakePhotos"
},
"responseJson": {
"status": 1,
"message": null,
"response": {
"succes": 1,
"clientId": "{{api.externalId}}"
}
}
}
}
}
Request
{
"apiMethodId": 121, //required
"apiId": 28, //optional
"typeId": 1, //optional
"methodUrl": "/api/Order/status/{{api.externalId}}", //optional
"methodName": "applicationStatusTakePhotos", //optional
"requestJson": { //optional
"clientId": "{{api.externalId}}",
"applicationStatus": "TakePhotos"
},
"responseJson": { //optional
"status": 1,
"message": null,
"response": {
"succes": 1,
"clientId": "{{api.externalId}}"
}
}
}
Response
{
"status": 1,
"message": "",
"response": {
"apiMethod": {
"apiMethodId": 23,
"apiId": 28,
"typeId": 1,
"methodUrl": "/api/Order/status/{{api.externalId}}",
"methodName": "applicationStatusTakePhotos",
"requestJson": {
"clientId": "{{api.externalId}}",
"applicationStatus": "TakePhotos"
},
"responseJson": {
"status": 1,
"message": null,
"response": {
"succes": 1,
"clientId": "{{api.externalId}}"
}
}
}
}
}
Request
q
- регистронезависимая подстрока url или name
Response
{
"status": 1,
"message": "",
"response": {
"apiMethods": [
{
"apiMethodId": 121,
"apiId": 28,
"typeId": 1,
"methodUrl": "/api/Order/status/{{api.externalId}}",
"methodName": "applicationStatusTakePhotos",
"requestJson": {
"clientId": "{{api.externalId}}",
"applicationStatus": "TakePhotos"
},
"responseJson": {
"status": 1,
"message": null,
"response": {
"succes": 1,
"clientId": "{{api.externalId}}"
}
}
},
{
"apiMethodId": 23,
"apiId": 28,
"typeId": 1,
"methodUrl": "/api/Order/status/{{api.externalId}}",
"methodName": "applicationStatusTakePhotos",
"requestJson": {
"clientId": "{{api.externalId}}",
"applicationStatus": "TakePhotos"
},
"responseJson": {
"status": 1,
"message": null,
"response": {
"succes": 1,
"clientId": "{{api.externalId}}"
}
}
}
],
"offset": 0,
"total": 2
}
}
Request
Response
{
"status": 1,
"message": "",
"response": {
"apiMethod": {
"apiMethodId": 23,
"apiId": 28,
"typeId": 1,
"methodUrl": "/api/Order/status/{{api.externalId}}",
"methodName": "applicationStatusTakePhotos",
"requestJson": {
"clientId": "{{api.externalId}}",
"applicationStatus": "TakePhotos"
},
"responseJson": {
"status": 1,
"message": null,
"response": {
"succes": 1,
"clientId": "{{api.externalId}}"
}
}
}
}
}
Request
Response
{
"status": 1,
"message": "",
"response": {}
}