Изменение данных по стояку дома
Changed onPipes/PipeController ( privileges: Pipe - U1 )
Request
- Base URLhttps://dev.curog.ru/api
- URLhttps://dev.curog.ru/api/homes/{home_id}/pipes/{pipe_id}
- AuthAPI key in header Authorization
Path parameters
идентификатор дома
идентификатор стояка
Headers
организация от имени которой зашел пользователь (firm_users.id)
Request body
Example request
{
"data": {
"homeId": 45,
"id": 5,
"nom": "г1",
"utilityId": 3,
"utilityName": "Горячее водоснабжение",
"note": "Сдвоен с 2",
"flats": [
{
"id": 1,
"num": "25",
"floor": 5,
"addressId": 3,
"entranceId": 2,
"homeId": 2,
"entranceNumber": 3
}
]
}
}Response
Oк
Example response
{
"data": {
"homeId": 45,
"id": 5,
"nom": "г1",
"utilityId": 3,
"utilityName": "Горячее водоснабжение",
"note": "Сдвоен с 2",
"flats": [
{
"id": 1,
"num": "25",
"floor": 5,
"addressId": 3,
"entranceId": 2,
"homeId": 2,
"entranceNumber": 3
}
]
}
}Changes
- info
added the optional property
///to the response with the status
- info
- breaking
the
/request property type changed fromobjecttoarray - breaking
the
/response's property type changed fromobjecttoarrayfor status - warning
removed the request property
// - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status
- breaking