Magazine

Создание жилищно-коммунальной услуги

Changed on

Utilities/UtilityController@store ( privileges: Utility => C0 )

post/utilities

Request

  • Base URL
    https://dev.curog.ru/api
  • URL
    https://dev.curog.ru/api/utilities
  • Auth
    API 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