Address

Создание типа улиц

StreetTypeController ( privileges: Global: SYSTEM, ADMIN)

post/street_types

Request

  • Base URL
    https://dev.curog.ru/api
  • URL
    https://dev.curog.ru/api/street_types
  • Auth
    API key in header Authorization

Request body

namestring required

полное наименование

shortNamestring required

сокращенное наименование (согласно КЛАДР) с точкой для разделения

Example request

{
  "name": "бульвар",
  "shortName": "б-р."
}

Response

Oк

idinteger

Ресурсный класс для работы с моделью StreetType

namestring

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

shortNamestring

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

Example response

{
  "id": 1,
  "name": "переулок",
  "shortName": "пер."
}

Changes

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