Address

Редактирование улицы

AllStreetController (privileges: SYSTEM, ADMIN)

patch/streets/{street}

Request

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

Path parameters

номер ресурса просматриваемой улицы

Request body

namestring required

полное наименование улицы

fiasunknown
prefixIdinteger required

Ресурс типа улицы

Example request

{
  "name": "Озерная",
  "prefixId": 3
}

Response

Oк

idinteger

Вывод данных по улице для общего списка улиц.

namestring
fiasunknown
cityIdstring
cityNamestring
cityPrefixIdinteger
cityPrefixNamestring
cityPrefixShortNamestring
prefixIdinteger
prefixNamestring
prefixShortNamestring

Example response

{
  "id": 3,
  "name": "Брянская",
  "cityName": "Сосновка",
  "cityPrefixId": 5,
  "cityPrefixName": "село",
  "cityPrefixShortName": "с.",
  "prefixId": 6,
  "prefixName": "улица",
  "prefixShortName": "ул."
}

Changes

No recorded changes to this operation across all 16 revisions of this API.