Calls
Прикрепление документа к обращению
Changed onCalls/CreateCallDocController (privileges: Call => U1 для переданной calls)
post/calls/{call}/call_docs
Request
- Base URLhttps://dev.curog.ru/api
- URLhttps://dev.curog.ru/api/calls/{call}/call_docs
- AuthAPI key in header Authorization
Path parameters
Идентификатор обращения
Headers
организация от имени которой зашел пользователь (firm_users.id)
Request body multipart/form-data
Example request
{
"description": "Фото аварии"
}Response
Oк
Example response
{
"data": {
"id": 425,
"callId": 45,
"filename": "bill_727010979298_202510.pdf",
"description": "письменное заявление жителя",
"createdAt": "2025-10-20 11:12",
"userId": 33,
"userFIO": "Иванов Петр Геннадьевич",
"userName": "CityORA15",
"size": 10154
}
}Changes
- info
added the optional property
/to the response with the status
- info
- info
the response optional property
/became not read-only for the status
- info