2017-02-06 12:09:03 +00:00
|
|
|
get:
|
|
|
|
description: |
|
|
|
|
Получить локализованные названия геопозиций плательщиков по их
|
2017-02-06 17:15:39 +00:00
|
|
|
идентификаторам.
|
2017-02-06 12:09:03 +00:00
|
|
|
operationId: getLocationsNames
|
|
|
|
tags:
|
|
|
|
- Geo
|
|
|
|
parameters:
|
|
|
|
- $ref: '#/parameters/requestID'
|
2018-09-27 06:44:49 +00:00
|
|
|
- $ref: '#/parameters/deadline'
|
2017-02-06 12:09:03 +00:00
|
|
|
- name: language
|
|
|
|
in: query
|
|
|
|
description: Язык для локализации
|
|
|
|
required: true
|
|
|
|
type: string
|
2017-02-06 13:19:40 +00:00
|
|
|
- name: geoIDs
|
2017-02-06 12:09:03 +00:00
|
|
|
in: query
|
|
|
|
description: Идентификаторы геопозиций
|
|
|
|
required: true
|
|
|
|
type: array
|
2017-02-06 13:19:40 +00:00
|
|
|
collectionFormat: csv
|
2017-02-06 12:09:03 +00:00
|
|
|
items:
|
|
|
|
type: integer
|
|
|
|
format: int32
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: Locations Names
|
|
|
|
schema:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/LocationName'
|
|
|
|
'400':
|
2018-05-07 13:05:18 +00:00
|
|
|
description: Неверные данные запроса геопозиций
|
|
|
|
schema:
|
|
|
|
type: object
|
|
|
|
required:
|
|
|
|
- code
|
|
|
|
- message
|
|
|
|
properties:
|
|
|
|
code:
|
|
|
|
description: |
|
|
|
|
[Код ошибки](#tag/Error-Codes)
|
|
|
|
type: string
|
|
|
|
enum:
|
|
|
|
- invalidRequest
|
2018-10-19 09:26:21 +00:00
|
|
|
- invalidDeadline
|
2018-05-07 13:05:18 +00:00
|
|
|
message:
|
|
|
|
description: Человекочитаемое описание ошибки
|
|
|
|
type: string
|