--- swagger: "2.0" info: x-ibm-name: ar-postindex5 title: AR_POSTINDEX5 API version: 1.0.0 description: Сервис «Репликация» БД ИС «Адресный регистр» contact: name: АО «Банк ЦентрКредит» email: api@bcc.kz schemes: - https basePath: /v1/ar-postindex5 consumes: - application/json produces: - application/json securityDefinitions: Authorization: type: oauth2 description: Токен аутентификации, полученный при вызове сервиса авторизации flow: application scopes: bcc.application.govtech.api: Allow access to Goventment Services API tokenUrl: https://api.bcc.kz/bcc/production/v2/oauth/token x-ibm-configuration: testable: true enforced: true phase: realized paths: /dictionary/address/by-rca/{rca}: get: responses: 200: description: 200 OK description: Сервис получения адреса по RCA operationId: getAddressByRca parameters: - name: rca type: string required: true in: path description: Регистрационный код адреса definitions: FailureResponse: type: object properties: timestamp: type: string format: date-time error: type: string violations: type: array items: $ref: '#/definitions/Violation' Violation: type: object properties: name: type: string message: type: string AddressByRcaDto: properties: pbId: type: integer description: id записи format: int32 buildingIds: type: array description: ИН здания items: type: string lastBuildingId: type: integer description: Последний ИН здания format: int32 geonimIds: type: array description: ИН улицы (проспекта, линии...) items: type: string lastGeonimId: type: integer description: Последний ИН улицы format: int32 atsId: type: array description: ИН региона items: type: string lastAtsId: type: integer description: Последний ИН региона format: int32 addressShortRu: type: string description: Короткий адрес на русс addressShortKz: type: string description: Короткий адрес на каз addressRu: type: string description: Адрес на русс addressKz: type: string description: Адрес на каз additionalProperties: false tags: [] security: - Authorization: - bcc.application.govtech.api parameters: xib-trace-id: name: xib-trace-id type: string required: true in: header description: Уникальный идентификатор запроса x-ibm-endpoints: - endpointUrl: https://api.bcc.kz:10443/bcc/production description: Альтернативная точка подключения для вызова сервиса в продуктивной среде. Зарегистрированное на портале developer.bcc.kz приложение должно быть в режиме "PRODUCTION" type: - production - development - endpointUrl: https://api.bcc.kz/bcc/production description: Точка подключения для вызова сервиса в продуктивной среде. Зарегистрированное на портале developer.bcc.kz приложение должно быть в режиме "PRODUCTION" type: - production - endpointUrl: https://api-test.bcc.kz/bcc/production description: Точка подключения для вызова сервисов в тестовой среде. Зарегистрированное на портале developer.bcc.kz приложение должно быть в режиме "DEVELOPMENT" type: - development ...