{"openapi":"3.0.1","info":{"title":"3.6 Общий сервис Расширенный профиль","description":"\"Общий сервис «Расширенный профиль»\"","version":"1.0.0"},"externalDocs":{"description":"Описание \"Общий сервис «Расширенный профиль»\"","url":"http://wiki.corp.dev.vtb/pages/viewpage.action?pageId=102012745"},"servers":[{"url":"http://localhost:10037/api/v1"}],"security":[{"EpaAuth":[]}],"paths":{"/get-client-data/{id}":{"get":{"tags":["client-controller"],"summary":"Тестовый метод для получения запроса на создание/обновление ПЗ в МДМ","description":"Тестовый метод для получения запроса на создание/обновление ПЗ в МДМ","operationId":"getChange","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","description":"Идентификатор клиента","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ClientChangeRequestDto"}}}}}}},"/getslxhist/{slxId}":{"get":{"tags":["client-controller"],"summary":"Получение \"Исторических данных ЮЛ\" по идентификатору slxid","description":"Получение \"Исторических данных ЮЛ\" по идентификатору slxid","externalDocs":{"url":"http://wiki.corp.dev.vtb/pages/viewpage.action?pageId=200803731"},"operationId":"getHistBySlxIds","parameters":[{"name":"slxId","in":"path","required":true,"schema":{"maxLength":12,"type":"string","description":"SlxId"}}],"responses":{"200":{"description":"Получение \"Исторических данных ЮЛ\" по идентификатору slxid","content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ClientSlxHistoryDto"}}}},"404":{"description":"\"Исторические данные ЮЛ\" не найдены","content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Внутренняя ошибка сервера","content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/find-client-by-reqs":{"post":{"tags":["client-controller"],"summary":"Получение \"Расширенного профиля ЮЛ\" по реквизитам","description":"Получение \"Расширенного профиля ЮЛ\" по реквизитам","externalDocs":{"url":"http://wiki.corp.dev.vtb/pages/viewpage.action?pageId=257319985"},"operationId":"getClientsByReqs","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/GetClientsByReqsRequestDto"}}},"required":true},"responses":{"200":{"description":"Получение \"Расширенного профиля ЮЛ\" по реквизитам","content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ClientDto"}}}},"404":{"description":"\"Расширенный профиль ЮЛ\" не найден","content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Внутренняя ошибка сервера","content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/get-client-by-code":{"post":{"tags":["client-controller"],"summary":"Получение \"Расширенного профиля ЮЛ\" по мдм-коду","description":"Получение \"Расширенного профиля ЮЛ\" по мдм-коду","externalDocs":{"url":"http://wiki.corp.dev.vtb/pages/viewpage.action?pageId=257320170"},"operationId":"getClientsByMdmCode","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/GetClientsByMdmCodeRequestDto"}}},"required":true},"responses":{"200":{"description":"Получение \"Расширенного профиля ЮЛ\" по мдм-коду","content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ClientDto"}}}},"404":{"description":"\"Расширенный профиль ЮЛ\" не найден","content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Внутренняя ошибка сервера","content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/getslx":{"post":{"tags":["client-controller"],"summary":"Получение \"Расширенного профиля ЮЛ\" по slxId","description":"Получение \"Расширенного профиля ЮЛ\" по slxId","externalDocs":{"url":"http://wiki.corp.dev.vtb/pages/viewpage.action?pageId=122851080"},"operationId":"getClientProfilesBySlxIds","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/GetClientsRequestDto"}}},"required":true},"responses":{"200":{"description":"Получение \"Расширенного профиля ЮЛ\" по slxId","content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ClientDto"}}}},"404":{"description":"\"Расширенный профиль ЮЛ\" не найден","content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Внутренняя ошибка сервера","content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/upsert/{id}":{"get":{"tags":["client-controller"],"summary":"Тестовый метод для отправки запроса на создание/обновление ПЗ в МДМ","description":"Тестовый метод для отправки запроса на создание/обновление ПЗ в МДМ","operationId":"createOrUpdateClientInMdm","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"integer","description":"Идентификатор клиента","format":"int64"}}],"responses":{"200":{"description":"OK","content":{"application/json;charset=utf-8":{"schema":{"type":"object"}}}}}}},"/minicards/mini-cards-by-slx-ids":{"post":{"tags":["client-controller"],"summary":"Получение \"миникарточек ЮЛ\" по идентификатору slxid","description":"Получение \"миникарточек ЮЛ\" по идентификатору slxid","externalDocs":{"url":"http://wiki.corp.dev.vtb/pages/viewpage.action?pageId=276036379"},"operationId":"getClientMinicardsBySlxIds","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/GetClientsMinicardsRequestDto"}}},"required":true},"responses":{"200":{"description":"Получение \"Миникарточек ЮЛ\" по slxId","content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ClientMiniCardDto"}}}},"404":{"description":"Клиент не найден","content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Внутренняя ошибка сервера","content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/client-initial-upserting":{"post":{"tags":["client-controller"],"summary":"Метод, стартующий процесс первичной передачи данных клиентов из ПКБ в МДМ","description":"Метод, стартующий процесс первичной передачи данных клиентов из ПКБ в МДМ","operationId":"startClientInitialUpserting","responses":{"204":{"description":"Статус успешного выполнения операции первичной передачи данных клиентов из ПКБ в МДМ"},"500":{"description":"Внутренняя ошибка сервера","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/cross-ref-actualization":{"post":{"tags":["client-controller"],"summary":"Метод, стартующий процесс актуализации кросс-ссылок","description":"Метод, стартующий процесс актуализации кросс-ссылок","operationId":"startCrossRefActualization","responses":{"204":{"description":"Статус успешного выполнения операции актуализации кросс-ссылок"},"500":{"description":"Внутренняя ошибка сервера","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}},"components":{"schemas":{"AddressDto":{"type":"object","properties":{"addressTypeCode":{"maxLength":32,"type":"string","description":"Код типа адреса"},"addressFull":{"maxLength":2000,"type":"string","description":"Полный адрес клиента"},"country":{"maxLength":128,"type":"string","description":"Страна"},"postalCode":{"maxLength":32,"type":"string","description":"Почтовый индекс"},"region":{"maxLength":128,"type":"string","description":"Регион"},"district":{"maxLength":128,"type":"string","description":"Район"},"city":{"maxLength":128,"type":"string","description":"Город"},"settlement":{"maxLength":128,"type":"string","description":"Поселение"},"street":{"maxLength":255,"type":"string","description":"Улица"},"building":{"maxLength":16,"type":"string","description":"Строение"},"blockNumber":{"maxLength":32,"type":"string","description":"Корпус"},"office":{"maxLength":16,"type":"string","description":"Офис"},"kladr":{"maxLength":255,"type":"string","description":"КЛАДР"}},"additionalProperties":false,"description":"Адрес клиента"},"ClientChangeRequestDto":{"type":"object","properties":{"sourceSystem":{"$ref":"#/components/schemas/SourceSystemDto"},"clientSnapshot":{"$ref":"#/components/schemas/ClientSnapshotDto"},"metadata":{"$ref":"#/components/schemas/MetadataDto"}},"additionalProperties":false,"description":"Запрос на создание/обновление ПЗ в МДМ"},"ClientSnapshotDto":{"type":"object","properties":{"id":{"type":"integer","description":"Идентификатор клиента","format":"int64"},"mdmCode":{"type":"integer","description":"Код МДМ","format":"int64"},"mdmLegalStatusCode":{"maxLength":38,"type":"string","description":"Код типа правового статуса"},"name":{"maxLength":2000,"type":"string","description":"Наименование"},"fullName":{"maxLength":2000,"type":"string","description":"Полное наименование"},"nameEn":{"maxLength":2000,"type":"string","description":"Наименование на английском"},"fullNameEn":{"maxLength":2000,"type":"string","description":"Полное наименование на английском"},"isResident":{"type":"boolean","description":"Признак резидента"},"countryCode":{"maxLength":10,"type":"string","description":"Код страны"},"registryNumber":{"maxLength":64,"type":"string","description":"Номер регистрации"},"kio":{"maxLength":100,"type":"string","description":"KIO"},"taxRegistryDate":{"maxLength":32,"type":"string","description":"Дата регистрации ИНН","format":"date-time"},"registryDate":{"maxLength":32,"type":"string","description":"Дата регистрации","format":"date-time"},"kpp":{"maxLength":100,"type":"string","description":"КПП"},"tin":{"maxLength":100,"type":"string","description":"ТИН"},"isBranch":{"type":"boolean","description":"Признак подразделения"},"clientTypeCode":{"maxLength":20,"type":"string","description":"Код типа клиента"},"slxId":{"maxLength":12,"type":"string","description":"Идентификатор slx"},"okpo":{"maxLength":100,"type":"string","description":"ОКПО"},"okato":{"maxLength":100,"type":"string","description":"ОКАТО"},"okogu":{"maxLength":100,"type":"string","description":"ОКОГУ"},"okfs":{"maxLength":100,"type":"string","description":"ОКФС"},"okopf":{"maxLength":100,"type":"string","description":"ОКОПФ"},"okved":{"maxLength":100,"type":"string","description":"ОКВЕД"},"oktmo":{"maxLength":100,"type":"string","description":"ОКТМО"},"largeKpp":{"maxLength":100,"type":"string","description":"Полный КПП"},"bic":{"maxLength":30,"type":"string","description":"БИК"},"swift":{"maxLength":30,"type":"string","description":"SWIFT"},"dateLastUpdate":{"maxLength":32,"type":"string","description":"Дата последнего обновления","format":"date-time"},"dateNextUpdate":{"maxLength":32,"type":"string","description":"Дата следующего обновления","format":"date-time"},"addresses":{"type":"array","description":"Список адресов","items":{"$ref":"#/components/schemas/AddressDto"}},"phoneNumbers":{"type":"array","description":"Номера телефонов","items":{"$ref":"#/components/schemas/PhoneNumberDto"}},"isboul":{"type":"boolean","description":"Признак boul"},"ogrnDate":{"maxLength":32,"type":"string","description":"Дата ОГРН","format":"date-time"},"oldRegistryNumber":{"maxLength":64,"type":"string","description":"Прошлый номер регистрации"},"accreditationNumber":{"maxLength":100,"type":"string","description":"Номер аккредитации"},"accreditationDate":{"maxLength":32,"type":"string","description":"Дата аккредитации","format":"date-time"},"isMain":{"type":"boolean","description":"Признак главного"},"isPdl":{"type":"boolean","description":"Признак ПДЛ"},"predecessors":{"type":"array","description":"Список предшественников","items":{"$ref":"#/components/schemas/PredecessorDto"}},"isCib":{"type":"boolean","description":"Признак КИБ"},"segments":{"type":"array","description":"Сегменты","items":{"$ref":"#/components/schemas/SegmentDto"}}},"additionalProperties":false,"description":"Данные клиента"},"MetadataDto":{"type":"object","properties":{"mainInfo":{"type":"boolean","description":"Признак главной информации"},"crs":{"type":"boolean","description":"Признак CRS"},"fatca":{"type":"boolean","description":"Признак FATCA"}},"additionalProperties":false,"description":"Блок с метаданными"},"PhoneNumberDto":{"type":"object","properties":{"phoneCode":{"maxLength":38,"type":"string","description":"Код телефона"},"phoneComment":{"maxLength":4000,"type":"string","description":"Комментарий телефона"},"phoneExt":{"maxLength":255,"type":"string","description":"Добавочный номер"},"phoneNormal":{"maxLength":255,"type":"string","description":"Нормальный телефон"},"phonePrefix":{"maxLength":255,"type":"string","description":"Префикс телефона"},"phoneTypeCode":{"maxLength":32,"type":"string","description":"Тип телефона"},"phoneValue":{"maxLength":255,"type":"string","description":"Номер телефона"},"priority":{"maxLength":38,"type":"string","description":"Приоритет"}},"additionalProperties":false,"description":"Телефонный номер"},"PredecessorDto":{"type":"object","properties":{"mdmCode":{"type":"integer","description":"Код МДМ","format":"int32"},"mergeDateTime":{"maxLength":32,"type":"string","description":"Дата и время слияния","format":"date-time"}},"additionalProperties":false,"description":"Предшественник"},"SegmentDto":{"type":"object","properties":{"segmentTypeCode":{"maxLength":32,"type":"string","description":"Код сегмента"},"segmentValue":{"maxLength":255,"type":"string","description":"Значение сегмента"},"segmentDTM":{"maxLength":32,"type":"string","description":"Дата последнего изменения","format":"date-time"}},"additionalProperties":false,"description":"Сегмент"},"SourceSystemDto":{"type":"object","properties":{"subSystemId":{"maxLength":12,"type":"string","description":"Идентификатор подсистемы (передается slxId)"},"techSubSystemId":{"maxLength":38,"type":"string","description":"Технический идентификатор подсистемы (передается cl_globalid)"},"sourceLogin":{"maxLength":64,"type":"string","description":"Логин источника"},"sourceAbs":{"maxLength":12,"type":"string","description":"sourceAbs"},"sourceDTC":{"maxLength":32,"type":"string","description":"Дата и время создания","format":"date-time"},"sourceDTM":{"maxLength":32,"type":"string","description":"Дата и время изменения","format":"date-time"}},"additionalProperties":false,"description":"Блок информации о системе источнике"},"ClientSlxHistoryDto":{"type":"object","properties":{"slxId":{"maxLength":12,"type":"string","description":"Предыдущий код клиента в ПКБ"},"startDate":{"maxLength":32,"type":"string","description":"Дата создания клиента","format":"date-time"},"endDate":{"maxLength":32,"type":"string","description":"Дата слияния","format":"date-time"},"active":{"type":"boolean","description":"Код клиента в ПКБ"},"newSlxId":{"maxLength":12,"type":"string","description":"Следующий код клиента в ПКБ"}},"additionalProperties":false,"description":"История изменения slxId клиента"},"ErrorResponse":{"type":"object","properties":{"timestamp":{"maxLength":32,"type":"string","description":"Дата и время"},"status":{"type":"integer","description":"Код-результат выполнения операции","format":"int32"},"error":{"maxLength":500,"type":"string","description":"Описание ошибки"},"details":{"maxLength":200,"type":"array","description":"Детали ошибки","items":{"maxLength":200,"type":"string","description":"Детали ошибки"}},"path":{"maxLength":500,"type":"string","description":"Путь"}},"additionalProperties":false,"description":"Ошибка выполнения запроса"},"Address":{"type":"object","properties":{"type":{"type":"integer","description":"Тип адреса","format":"int64"},"addressStructured":{"$ref":"#/components/schemas/AddressStructured"},"addressString":{"$ref":"#/components/schemas/LocalizedName"}},"additionalProperties":false,"description":"Информация об адресах клиента"},"AddressStructured":{"type":"object","properties":{"country":{"$ref":"#/components/schemas/Iso"},"region":{"$ref":"#/components/schemas/LocalizedName"},"city":{"$ref":"#/components/schemas/LocalizedName"},"district":{"$ref":"#/components/schemas/LocalizedName"},"street":{"$ref":"#/components/schemas/LocalizedName"},"house":{"maxLength":16,"type":"string","description":"Дом"},"building":{"maxLength":32,"type":"string","description":"Корпус"},"structure":{"maxLength":16,"type":"string","description":"Строение"},"office":{"maxLength":16,"type":"string","description":"Офис"},"postalCode":{"maxLength":32,"type":"string","description":"Индекс"}},"additionalProperties":false,"description":"Структурированный адрес"},"Amount":{"type":"object","properties":{"value":{"type":"integer","description":"Сумма","format":"int64"},"currency":{"$ref":"#/components/schemas/Iso"}},"additionalProperties":false,"description":"Сумма выручки"},"ClientDto":{"type":"object","properties":{"slxId":{"maxLength":12,"type":"string","description":"Код клиента в ПКБ"},"clientType":{"type":"integer","description":"Иерархический тип клиента","format":"int64"},"createDate":{"maxLength":17,"type":"string","description":"Дата созданиия клиента в ПКБ"},"modifyTime":{"maxLength":32,"type":"string","description":"Дата/время последнего изменения"},"localInfo":{"$ref":"#/components/schemas/LocalInfo"},"globalInfo":{"$ref":"#/components/schemas/GlobalInfo"},"branches":{"type":"array","description":"Список филиалов/структурных подразделений клиента в ПКБ","items":{"$ref":"#/components/schemas/MainInfo"}},"children":{"type":"array","description":"Список дочерних записей для Холдинга/Группы компаний в ПКБ","items":{"$ref":"#/components/schemas/MainInfo"}}},"additionalProperties":false,"description":"Расширенный профиль ЮЛ"},"Contact":{"type":"object","properties":{"type":{"type":"integer","description":"Тип контактной информации","format":"int64"},"value":{"maxLength":255,"type":"string","description":"Номер телефона/email/web-адрес"},"valueExt":{"maxLength":255,"type":"string","description":"Добавочный номер"}},"additionalProperties":false,"description":"Контактная информация по клиенту"},"Department":{"type":"object","properties":{"id":{"type":"integer","description":"Идентификатор департамента закрепления в ПКБ","format":"int64"},"name":{"$ref":"#/components/schemas/LocalizedName"},"managers":{"type":"array","description":"Информация о менеджерах/сотрудниках закрепления","items":{"$ref":"#/components/schemas/Manager"}}},"additionalProperties":false,"description":"Департамент"},"Earning":{"type":"object","properties":{"type":{"type":"integer","description":"Тип выручки","format":"int64"},"year":{"maxLength":4,"type":"string","description":"Год выручки"},"amount":{"$ref":"#/components/schemas/Amount"}},"additionalProperties":false,"description":"Информация о выручке клиента по годам"},"GlobalInfo":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/LocalizedName"},"parent":{"$ref":"#/components/schemas/MainInfo"},"fullName":{"$ref":"#/components/schemas/LocalizedName"},"description":{"$ref":"#/components/schemas/LocalizedName"},"companyType":{"type":"integer","description":"Вид клиента","format":"int64"},"registrationCountry":{"$ref":"#/components/schemas/Iso"},"ownershipTypeId":{"type":"integer","description":"Форма собственности","format":"int64"},"legalFormId":{"type":"integer","description":"Организационно-правовая форма","format":"int64"},"statusId":{"type":"integer","description":"Статус клиента","format":"int64"},"businessCategory":{"type":"integer","description":"категории/сегмента СМБ","format":"int64"},"industryId":{"type":"integer","description":"Отрасль клиента","format":"int64"},"segmentId":{"type":"integer","description":"Сегмент клиента","format":"int64"},"sparkId":{"type":"integer","description":"Идентификатор клиента в БД СПАРК","format":"int64"},"registrationNumbers":{"type":"array","description":"Список регистрационных номеров клиента","items":{"$ref":"#/components/schemas/RequisitesItem"}},"taxNumbers":{"type":"array","description":"Блок с номерами ИНН","items":{"$ref":"#/components/schemas/RequisitesItem"}},"kpps":{"type":"array","description":"Блок с номерами КПП","items":{"$ref":"#/components/schemas/RequisitesItem"}},"bic":{"$ref":"#/components/schemas/RequisitesItem"},"swift":{"$ref":"#/components/schemas/RequisitesItem"},"addresses":{"type":"array","description":"Информация об адресах клиента","items":{"$ref":"#/components/schemas/Address"}},"contacts":{"type":"array","description":"Список контактной информации по клиенту","items":{"$ref":"#/components/schemas/Contact"}},"earnings":{"type":"array","description":"Информация о выручке клиента по годам","items":{"$ref":"#/components/schemas/Earning"}},"cib":{"type":"boolean","description":"Признак отнесения клиента к ГБЛ КИБ"},"globalManagers":{"type":"array","description":"Список ГКМ (глобальных клиентских менеджеров) по клиенту с указанием подразделения ГКМ","items":{"$ref":"#/components/schemas/GlobalManager"}},"globalParams":{"type":"array","description":"Список общедоступных признаков по клиенту","items":{"$ref":"#/components/schemas/Param"}},"csc":{"type":"boolean","description":"Признак наличия активного договора ЦКП"},"msp":{"$ref":"#/components/schemas/Msp"},"loyalty":{"$ref":"#/components/schemas/Loyalty"},"identificationAttributes":{"$ref":"#/components/schemas/IdentificationAttributes"}},"additionalProperties":false,"description":"Блок общей информации по клиенту"},"GlobalManager":{"type":"object","properties":{"id":{"type":"integer","description":"id подразделения менеджера","format":"int64"},"name":{"$ref":"#/components/schemas/LocalizedName"},"manager":{"$ref":"#/components/schemas/Manager"}},"additionalProperties":false,"description":"Информация о глобальном менеджере"},"IdentificationAttributes":{"type":"object","properties":{"isIdentified":{"type":"boolean","description":"Атрибут идентификация проведена"},"isPersonalAttendance":{"type":"boolean","description":"Атрибут при личном присутствии"},"isFatcaCrsIdentification":{"type":"boolean","description":"Атрибут FATCA- и CRS-идентификация проведена"},"isFnsDocumentsMatching":{"type":"boolean","description":"Атрибут данные в ФНС соответствуют документам"},"isSelfSertificationDone":{"type":"boolean","description":"Атрибут самосертификация проведена"}},"additionalProperties":false,"description":"Информация об атрибутах идентификации"},"IdentificationStatus":{"type":"object","properties":{"status":{"type":"integer","description":"Код статуса идентификации","format":"int32"},"color":{"maxLength":200,"type":"string","description":"Цвет плашки"},"description":{"maxLength":200,"type":"string","description":"Описание"}},"additionalProperties":false,"description":"Статус идентификации"},"Iso":{"type":"object","properties":{"isoCode":{"maxLength":10,"type":"string","description":"Код iso"}},"additionalProperties":false,"description":"Код iso"},"LocalInfo":{"type":"object","properties":{"localClientType":{"type":"integer","description":"Тип обслуживания клиента в участнике Группы ВТБ","format":"int64"},"teams":{"type":"array","description":"Блок информации по командам клиента","items":{"$ref":"#/components/schemas/Team"}},"localParams":{"type":"array","description":"Локальные признаки клиента","items":{"$ref":"#/components/schemas/Param"}},"identificationStatus":{"$ref":"#/components/schemas/IdentificationStatus"}},"additionalProperties":false,"description":"Информация об обслуживании клиента в Банке ВТБ или участнике Группы ВТБ"},"LocalizedName":{"type":"object","properties":{"ru":{"maxLength":2000,"type":"string","description":"Наименование кириллицей"},"en":{"maxLength":2000,"type":"string","description":"Наименование латиницей"}},"additionalProperties":false,"description":"Локализованное наименование"},"LoginList":{"type":"object","properties":{"login":{"maxLength":64,"type":"string","description":"Логин пользователя"},"domain":{"maxLength":64,"type":"string","description":"Домен пользователя"}},"additionalProperties":false,"description":"Информация о логине клиента"},"Loyalty":{"type":"object","properties":{"chkoByYear":{"type":"integer","description":"Обороты по счету клиента в течение последних 12 мес., руб.","format":"int64"},"productsCount":{"type":"integer","description":"Количество подключенных банковских услуг/сервисов, шт","format":"int64"},"clientMonths":{"type":"integer","description":"Срок взаимодействия клиента с банком, мес.","format":"int64"},"loyaltyStatus":{"maxLength":80,"type":"string","description":"Уровень в программе лояльности"},"lastPeriod":{"maxLength":32,"type":"string","description":"Дата последнего расчета","format":"date-time"}},"additionalProperties":false,"description":"Программа лояльности"},"MainInfo":{"type":"object","properties":{"slxId":{"maxLength":12,"type":"string","description":"Код в ПКБ"},"clientType":{"type":"integer","description":"Иерархический тип","format":"int64"},"name":{"$ref":"#/components/schemas/LocalizedName"}},"additionalProperties":false,"description":"Связанные подразделения в ПКБ"},"Manager":{"type":"object","properties":{"managerId":{"type":"integer","description":"Идентификатор менеджера","format":"int64"},"tabNum":{"type":"integer","description":"Табельный номер менеджера в ИКС/КИС","format":"int64"},"firstName":{"$ref":"#/components/schemas/LocalizedName"},"secondName":{"$ref":"#/components/schemas/LocalizedName"},"lastName":{"$ref":"#/components/schemas/LocalizedName"},"role":{"$ref":"#/components/schemas/LocalizedName"},"contacts":{"type":"array","description":"Контактная информация менеджера","items":{"$ref":"#/components/schemas/Contact"}},"loginList":{"type":"array","description":"Информация о логине клиента","items":{"$ref":"#/components/schemas/LoginList"}}},"additionalProperties":false,"description":"Информация о менеджерах/сотрудниках закрепления"},"Msp":{"type":"object","properties":{"mspCode":{"maxLength":255,"type":"string","description":"Код МСП"},"mspCategory":{"$ref":"#/components/schemas/LocalizedName"},"mspDate":{"maxLength":32,"type":"string","description":"Дата присвоения категории МСП","format":"date-time"}},"additionalProperties":false,"description":"Категория МСП"},"Param":{"type":"object","properties":{"code":{"maxLength":38,"type":"string","description":"Идентификатор признака"},"name":{"maxLength":128,"type":"string","description":"Наименование признака"},"value":{"maxLength":512,"type":"string","description":"Значение признака"}},"additionalProperties":false,"description":"Информация о признаке"},"RequisitesItem":{"type":"object","properties":{"number":{"maxLength":64,"type":"string","description":"Номер"},"country":{"$ref":"#/components/schemas/Iso"}},"additionalProperties":false,"description":"Элемент реквизитов клиента"},"Team":{"type":"object","properties":{"type":{"type":"integer","description":"Тип закрепления клиента","format":"int64"},"department":{"$ref":"#/components/schemas/Department"}},"additionalProperties":false,"description":"Блок информации по командам клиента"},"ClientResponseOptions":{"type":"object","properties":{"globalInfo":{"$ref":"#/components/schemas/GlobalInfoRequest"},"localInfo":{"$ref":"#/components/schemas/LocalInfoRequest"},"branches":{"type":"boolean","description":"Опция вывода в ответ списка филиалов/структурных подразделений клиента (блок Branches)"},"children":{"type":"boolean","description":"Опция вывода в ответ списка дочерних записей для Холдинга/Группы компаний (блок Children)"}},"additionalProperties":false,"description":"Опции формирования расширенного профиля ЮЛ"},"GetClientsByReqsRequestDto":{"type":"object","properties":{"taxes":{"type":"array","description":"Список ИНН с указанием кодов стран","items":{"$ref":"#/components/schemas/Tax"}},"registrationNumber":{"maxLength":32,"type":"string","description":"Регистрационный номер"},"swift":{"maxLength":30,"type":"string","description":"SWIFT"},"bic":{"maxLength":30,"type":"string","description":"БИК"},"nameRu":{"maxLength":2000,"type":"string","description":"наименование клиента кириллицей"},"nameEn":{"maxLength":2000,"type":"string","description":"наименование клиента латиницей"},"kpp":{"maxLength":100,"type":"string","description":"КПП"},"clientResponseOptions":{"$ref":"#/components/schemas/ClientResponseOptions"}},"additionalProperties":false,"description":"Запрос на получение расширенных профилей ЮЛ по реквизитам"},"GlobalInfoRequest":{"type":"object","properties":{"earnings":{"type":"boolean","description":"Опция вывода в ответ блока выручки (Earnings)"},"globalManagers":{"type":"boolean","description":"Опция вывода в ответ блока Глобальных клиентских менеджеров (ГКМ)"},"globalParams":{"type":"boolean","description":"Опция вывода в ответ глобальных признаков по клиенту (блок globalParams)"},"msp":{"type":"boolean","description":"Опция вывода в ответ категории МСП"}},"additionalProperties":false,"description":"Опции вывода дополнительной глобальной информации"},"LocalInfoRequest":{"type":"object","properties":{"localInfoBase":{"type":"boolean","description":"Опция вывода в ответ основной информации об обслуживании клиента в Банке ВТБ/участнике Группы ВТБ"},"teamTypes":{"type":"array","description":"Тип закрепления клиента","items":{"type":"integer","description":"Тип закрепления клиента","format":"int64"}},"localParams":{"type":"boolean","description":"Опция вывода в ответ признаков/маркеров по обслуживанию клиента в ВТБ или Участнике Группы ВТБ"}},"additionalProperties":false,"description":"Опции вывода в ответ тегов блока информации по обслуживанию клиента в Банке ВТБ или участнике Группы ВТБ"},"Tax":{"type":"object","properties":{"registrationCountry":{"maxLength":10,"type":"string","description":"страна выдачи ИНН"},"taxNumber":{"maxLength":100,"type":"string","description":"номер ИНН"}},"additionalProperties":false,"description":"Налоговый номер"},"GetClientsByMdmCodeRequestDto":{"type":"object","properties":{"codes":{"maxLength":200,"type":"array","description":"MdmCode клиента","items":{"maxLength":200,"type":"string","description":"MdmCode клиента"}},"clientResponseOptions":{"$ref":"#/components/schemas/ClientResponseOptions"}},"additionalProperties":false,"description":"Запрос на получение расширенных профилей ЮЛ по коду МДМ"},"GetClientsRequestDto":{"type":"object","properties":{"slxIds":{"maxLength":200,"type":"array","description":"Список идентификаторов SLX клиентов","items":{"maxLength":200,"type":"string","description":"Список идентификаторов SLX клиентов"}},"clientResponseOptions":{"$ref":"#/components/schemas/ClientResponseOptions"}},"additionalProperties":false,"description":"Запрос на получение расширенных профилей ЮЛ"},"CategoryItem":{"type":"object","properties":{"id":{"type":"integer","description":"ID категории","format":"int64"},"name":{"$ref":"#/components/schemas/LocalizedName"},"priority":{"type":"integer","description":"поле приоритет","format":"int64"},"parentId":{"type":"integer","description":"ID родительской категории","format":"int64"}},"additionalProperties":false,"description":"Категория в миникарте"},"ClientMiniCardDto":{"type":"object","properties":{"slxId":{"maxLength":12,"type":"string","description":"Код клиента"},"name":{"$ref":"#/components/schemas/LocalizedName"},"logoId":{"type":"integer","description":"Логотип клиента","format":"int64"},"cutId":{"type":"integer","description":"Разрез клиента","format":"int64"},"type":{"$ref":"#/components/schemas/Item"},"status":{"$ref":"#/components/schemas/StatusItem"},"country":{"$ref":"#/components/schemas/CountryItem"},"parent":{"$ref":"#/components/schemas/ParentItem"},"industry":{"$ref":"#/components/schemas/IndustryItem"},"category":{"$ref":"#/components/schemas/CategoryItem"},"segment":{"$ref":"#/components/schemas/SegmentItem"},"taxes":{"maxLength":200,"type":"array","description":"Инн клиента","items":{"maxLength":200,"type":"string","description":"Инн клиента"}},"regNumbers":{"maxLength":200,"type":"array","description":"Огрн клиента","items":{"maxLength":200,"type":"string","description":"Огрн клиента"}},"kpp":{"maxLength":100,"type":"string","description":"Кпп клиента"},"okopf":{"maxLength":100,"type":"string","description":"ОКОПФ клиента"},"okpo":{"maxLength":100,"type":"string","description":"ОКПО клиента"},"bic":{"maxLength":30,"type":"string","description":"БИК клиента"},"swift":{"maxLength":30,"type":"string","description":"СВИФТ клиента"},"msp":{"$ref":"#/components/schemas/LocalizedName"},"sanctionLists":{"type":"array","description":"Санкционные списки","items":{"$ref":"#/components/schemas/NameObject"}},"paramTypes":{"type":"array","description":"Признаки (плашки) клиента","items":{"$ref":"#/components/schemas/ParamItem"}},"kio":{"maxLength":100,"type":"string","description":"КИО клиента"},"fromTg":{"type":"boolean","description":"Признак того, что группа компаний создана из Технической Группы(автоматически)"},"autoParent":{"type":"boolean","description":"Признак того, что клиент входит в ГК, по причине отнесения к Технической Группе (автоматически)"},"dtc":{"maxLength":32,"type":"string","description":"дата создания клиента"},"lawyerTypeId":{"type":"integer","description":"Адвокаты нотариусы","format":"int64"}},"additionalProperties":false,"description":"Миникарточка ЮЛ"},"CountryItem":{"type":"object","properties":{"isoId":{"type":"integer","description":"Идентификатор страны","format":"int64"},"code":{"maxLength":10,"type":"string","description":"Буквенный код A2 страны"},"name":{"$ref":"#/components/schemas/LocalizedName"}},"additionalProperties":false,"description":"Страна в миникарте"},"IconItem":{"type":"object","properties":{"name":{"maxLength":32,"type":"string","description":"Наименование иконки"},"style":{"maxLength":32,"type":"string","description":"Стиль иконки"}},"additionalProperties":false,"description":"Иконка"},"IndustryItem":{"type":"object","properties":{"imageCode":{"type":"integer","description":"Идентификатор","format":"int64"},"isRemoved":{"type":"boolean","description":"Является ли запись устаревшей (0 - не является, 1-удалена)"},"id":{"type":"integer","description":"ID отрасли","format":"int64"},"name":{"$ref":"#/components/schemas/LocalizedName"},"parentId":{"type":"integer","description":"ID родительской отрасли","format":"int64"}},"additionalProperties":false,"description":"Отрасль в миникарте."},"Item":{"type":"object","properties":{"id":{"type":"integer","description":"Id","format":"int64"},"name":{"$ref":"#/components/schemas/LocalizedName"},"priority":{"type":"integer","description":"приоритет","format":"int64"}},"additionalProperties":false,"description":"Тип клиента"},"NameObject":{"type":"object","properties":{"id":{"type":"integer","description":"Идентификатор","format":"int64"},"name":{"$ref":"#/components/schemas/LocalizedName"}},"additionalProperties":false,"description":"Санкционные списки."},"ParamItem":{"type":"object","properties":{"description":{"$ref":"#/components/schemas/LocalizedName"},"locked":{"maxLength":1,"type":"string","description":"Является ли системным параметром"},"dataTypeId":{"type":"integer","description":"Код параметра","format":"int64"},"visibility":{"type":"integer","description":"Видимость элемента на экранной форме","format":"int64"},"color":{"maxLength":32,"type":"string","description":"Цвет"},"icon":{"$ref":"#/components/schemas/IconItem"},"image":{"maxLength":255,"type":"string","description":"Изображение"},"parent":{"type":"integer","description":"Идентификатор родителя","format":"int64"},"name":{"$ref":"#/components/schemas/LocalizedName"}},"additionalProperties":false,"description":"Параметры в миникарте."},"ParentItem":{"type":"object","properties":{"slxId":{"maxLength":12,"type":"string","description":"код slxId родительского ЮЛ"},"name":{"$ref":"#/components/schemas/LocalizedName"}},"additionalProperties":false,"description":"Родительский ЮЛ"},"SegmentItem":{"type":"object","properties":{"diap_min":{"type":"integer","description":"Нижняя граница диапазона сегмента","format":"int64"},"diap_max":{"type":"integer","description":"Верхняя граница диапазона сегмента","format":"int64"},"currency":{"type":"integer","description":"Валюта","format":"int64"},"id":{"type":"integer","description":"Первичный ключ","format":"int64"},"name":{"$ref":"#/components/schemas/LocalizedName"}},"additionalProperties":false,"description":"Сегмент в миникарте."},"StatusItem":{"type":"object","properties":{"code":{"maxLength":32,"type":"string","description":"Код статуса cl_status.code"},"id":{"type":"integer","description":"Id статуса","format":"int64"},"name":{"$ref":"#/components/schemas/LocalizedName"}},"additionalProperties":false,"description":"Статус в миникарте"},"GetClientsMinicardsRequestDto":{"type":"object","properties":{"slxIds":{"maxLength":200,"type":"array","description":"Список идентификаторов SLX клиентов","items":{"maxLength":200,"type":"string","description":"Список идентификаторов SLX клиентов"}}},"additionalProperties":false,"description":"Запрос на получение миникарточек ЮЛ"}},"securitySchemes":{"EpaAuth":{"type":"http","scheme":"Bearer","bearerFormat":"JWT"}}}}