Перейти к основному содержанию
POST
/
v1
/
crm
/
maintenances
/
{id}
/
finish
cURL
curl --request POST \
  --url https://api.example.com/v1/crm/maintenances/{id}/finish/ \
  --header 'Content-Type: application/json' \
  --data '
{
  "comment": "<string>",
  "state": 123
}
'
{
  "id": 123,
  "comment": "<string>",
  "state": 123
}

Параметры пути

id
integer
обязательно

Тело

comment
string | null
обязательно
Maximum string length: 512
state
integer | null

Ответ

201 - application/json
id
integer
обязательно
comment
string | null
обязательно
Maximum string length: 512
state
integer | null