Magazine
Создание жилищно-коммунальной услуги
Changed onUtilities/UtilityController@store ( privileges: Utility => C0 )
post/utilities
Request
- Base URLhttps://dev.curog.ru/api
- URLhttps://dev.curog.ru/api/utilities
- AuthAPI key in header Authorization
Request body
Example request
{
"data": {
"id": 45,
"name": "Отопление",
"isPipe": true
}
}Response
Oк
Example response
{
"data": {
"id": 45,
"name": "Отопление",
"isPipe": true
}
}Changes
- info
added the new optional request property
/ - info
added the optional property
/to the response with the status
- info