Magazine

Изменения наименования услуги

Changed on

Utilities/UtilityController@update ( privileges: Utility => U0 )

patch/utilities/{utility}

Request

  • Base URL
    https://dev.curog.ru/api
  • URL
    https://dev.curog.ru/api/utilities/{utility}
  • Auth
    API key in header Authorization

Path parameters

Идентификатор услуги

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