--- swagger: "2.0" info: x-ibm-name: eds-scandoc-download title: EDS_SCANDOC_DOWNLOAD API version: 1.0.0 description: Сервис скачивания сканированных документов в подсистеме ЕХЭД contact: name: АО «Банк ЦентрКредит» email: api@bcc.kz schemes: - https basePath: /v1/eds-scandoc-download 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: /send: post: responses: 200: description: 200 OK schema: $ref: '#/definitions/ResponseDto' 400: description: Validation errors schema: $ref: '#/definitions/FailureResponse' 404: description: Not Found schema: $ref: '#/definitions/FailureResponse' 500: description: Different errors schema: $ref: '#/definitions/FailureResponse' operationId: sendRequest summary: Сервис скачивания сканированных документов в подсистеме ЕХЭД parameters: - name: RequestBody required: true in: body schema: $ref: '#/definitions/RequestDto' - $ref: '#/parameters/xib-trace-id' 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 RequestDto: title: Данные запроса на загрузку документа required: - id - idn type: object properties: id: type: string description: Идентификатор version: type: integer description: Версия документа format: int32 idn: type: string ProcessStatusDto: title: Статус type: object properties: code: type: string description: Код статуса status: type: string description: Текст статуса message: type: string description: Детальное сообщение description: Статус ResponseDto: title: Результат type: object properties: status: $ref: '#/definitions/ProcessStatusDto' content: type: array description: Контент items: type: string description: Контент format: byte 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 ...