Address
Создание стояка
Pipes/PipeController ( privileges: Pipe - C1 )
post/homes/{home_id}/pipes
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
No recorded changes to this endpoint across all 1 revision of this API.