{"openapi":"3.0.0","paths":{"/api/ipl/counterparties/searchGroup":{"get":{"operationId":"CounterpartiesController_searchGroup","summary":"Метод поиска групп клиентов","description":"Поиск групп клиентов по сервису расширенного поиска ЮЛ","parameters":[{"name":"text","required":true,"in":"query","schema":{"type":"string","maxLength":50,"description":"текст поиска"}}],"responses":{"200":{"description":"Список групп клиентов","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CounterpartyProfileDto"},"minItems":0,"maxItems":65535}}}},"403":{"description":"Forbidden","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"404":{"description":"Not Found","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"422":{"description":"Unprocessable Entity","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}}},"tags":["Контрагенты и группы клиентов"]}},"/api/ipl/counterparties/search":{"post":{"operationId":"CounterpartiesController_search","summary":"Метод поиска контрагентов","description":"Поиск контрагентов по сервису расширенного поиска ЮЛ","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InputSearchCounterpartyDto"}}}},"responses":{"200":{"description":"Список контрагентов","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CounterpartyProfileDto"},"minItems":0,"maxItems":65535}}}},"403":{"description":"Forbidden","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"404":{"description":"Not Found","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"422":{"description":"Unprocessable Entity","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}}},"tags":["Контрагенты и группы клиентов"]}},"/api/ipl/counterparties/ext/slx":{"get":{"operationId":"CounterpartiesController_getBySlx","summary":"Метод получения контрагентов по кодам SLX","description":"Получить расширенный профиль ЮЛ по коду клиента ПКБ","parameters":[{"name":"slxIds","required":true,"in":"query","schema":{"type":"array","items":{"type":"string","maxLength":50}}}],"responses":{"200":{"description":"Список контрагентов","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CounterpartyProfileDto"},"minItems":0,"maxItems":65535}}}},"403":{"description":"Forbidden","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"404":{"description":"Not Found","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"422":{"description":"Unprocessable Entity","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}}},"tags":["Контрагенты и группы клиентов"]}},"/api/ipl/limits":{"get":{"operationId":"LimitsController_getList","summary":"Метод получения списка лимитов","description":"Получение списка лимитов","parameters":[],"responses":{"200":{"description":"Список лимитов","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LimitDto"},"minItems":0,"maxItems":65535}}}},"403":{"description":"Forbidden","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"404":{"description":"Not Found","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"422":{"description":"Unprocessable Entity","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}}},"tags":["Индивидуальные лимиты"]},"post":{"operationId":"LimitsController_create","summary":"Метод создания лимита","description":"Создание индивидуального лимита","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDecisionDto"}}}},"responses":{"201":{"description":"Индивидуальный лимит успешно создан","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionDto"}}}},"403":{"description":"Forbidden","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"404":{"description":"Not Found","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"422":{"description":"Unprocessable Entity","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}}},"tags":["Индивидуальные лимиты"]}},"/api/ipl/limits/search":{"get":{"operationId":"LimitsController_search","summary":"Метод поиска списка лимита","description":"Поиск списка лимита и решения","parameters":[{"required":true,"name":"text","in":"query","schema":{"maxLength":50,"type":"string"}},{"name":"page","in":"query","required":true,"schema":{"minimum":-2147483648,"maximum":2147483647,"type":"number"}},{"name":"size","in":"query","required":true,"schema":{"minimum":-2147483648,"maximum":2147483647,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DecisionDto"},"minItems":0,"maxItems":65535}}}},"403":{"description":"Forbidden","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"404":{"description":"Not Found","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"422":{"description":"Unprocessable Entity","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}}},"tags":["Индивидуальные лимиты"]}},"/api/ipl/limits/{id}":{"get":{"operationId":"LimitsController_getLimitById","summary":"Метод получения лимита по ID","description":"Получение лимита по идентификатору лимита","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string","maxLength":50}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionIndividualLimitDto"}}}},"403":{"description":"Forbidden","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"404":{"description":"Not Found","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"422":{"description":"Unprocessable Entity","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}}},"tags":["Индивидуальные лимиты"]}},"/api/ipl/limits/decision/{decisionId}":{"get":{"operationId":"LimitsController_getLimitByDecisionId","summary":"Метод получения решения по ID","description":"Получение лимита по идентификатору решения","parameters":[{"name":"decisionId","required":true,"in":"path","schema":{"type":"string","maxLength":50}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionDto"}}}},"403":{"description":"Forbidden","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"404":{"description":"Not Found","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"422":{"description":"Unprocessable Entity","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}}},"tags":["Индивидуальные лимиты"]}},"/api/ipl/limits/slx/{slx}":{"get":{"operationId":"LimitsController_getLimitBySlx","summary":"Метод получения списка лимитов по slx коду","description":"Получение списка лимита по slx коду контрагента","parameters":[{"name":"slx","required":true,"in":"path","schema":{"type":"string","maxLength":50}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DecisionDto"},"minItems":0,"maxItems":65535}}}},"403":{"description":"Forbidden","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"404":{"description":"Not Found","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"422":{"description":"Unprocessable Entity","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}}},"tags":["Индивидуальные лимиты"]}},"/api/ipl/limits/limits/slx/{slx}":{"get":{"operationId":"LimitsController_getLimitsListBySlx","summary":"Метод получения лимита по slx коду с профилем","description":"Получение списка лимитов по slx коду контрагента обогащенный профилем","parameters":[{"name":"slx","required":true,"in":"path","schema":{"type":"string","maxLength":50}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DecisionDto"},"minItems":0,"maxItems":65535}}}},"403":{"description":"Forbidden","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"404":{"description":"Not Found","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"422":{"description":"Unprocessable Entity","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}}},"tags":["Индивидуальные лимиты"]}},"/api/ipl/limits/history/{user_id}":{"get":{"operationId":"LimitsController_getHistory","summary":"Метод получения последних лимитов","description":"Возвращается последние 4 посещенных лимита, в формате ответа для поиска","parameters":[{"name":"user_id","required":true,"in":"path","schema":{"type":"string","maxLength":50}}],"responses":{"200":{"description":"Список последних используемых лимитов","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DecisionDto"},"minItems":0,"maxItems":65535}}}},"403":{"description":"Forbidden","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"404":{"description":"Not Found","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"422":{"description":"Unprocessable Entity","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}}},"tags":["Индивидуальные лимиты"]}},"/api/ipl/dictionary/subdivisioninitiator":{"get":{"operationId":"DictionaryController_subDivisionInitiator","summary":"","description":"Справочник инициирующие подразделения","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DictionaryDto"},"minItems":0,"maxItems":65535}}}},"403":{"description":"Forbidden","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"404":{"description":"Not Found","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"422":{"description":"Unprocessable Entity","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}}},"tags":["Справочники"]}},"/api/ipl/dictionary/limitintentedpurpose":{"get":{"operationId":"DictionaryController_limitIntentEdPurpose","summary":"","description":"Целевое назначение лимита. Получение всех значений.","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LimitIntentPurposeDto"},"minItems":0,"maxItems":65535}}}},"403":{"description":"Forbidden","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"404":{"description":"Not Found","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"422":{"description":"Unprocessable Entity","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}}},"tags":["Справочники"]}},"/api/ipl/dictionary/currency":{"get":{"operationId":"DictionaryController_currency","summary":"","description":"Справочник валют","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DictionaryWeightDto"},"minItems":0,"maxItems":65535}}}},"403":{"description":"Forbidden","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"404":{"description":"Not Found","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"422":{"description":"Unprocessable Entity","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}}},"tags":["Справочники"]}},"/api/ipl/dictionary/dealtype":{"get":{"operationId":"DictionaryController_dealType","summary":"","description":"Справочник тип сделки","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DealTypeDto"},"minItems":0,"maxItems":65535}}}},"403":{"description":"Forbidden","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"404":{"description":"Not Found","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"422":{"description":"Unprocessable Entity","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}}},"tags":["Справочники"]}},"/api/ipl/dictionary/sublimitcontrolproc":{"get":{"operationId":"DictionaryController_subLimitControlProc","summary":"","description":"Справочник порядок контроля сублимитов","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SubLimitControlProcDto"},"minItems":0,"maxItems":65535}}}},"403":{"description":"Forbidden","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"404":{"description":"Not Found","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"422":{"description":"Unprocessable Entity","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}}},"tags":["Справочники"]}},"/api/ipl/dictionary/counterpartyrole":{"get":{"operationId":"DictionaryController_counterpartyRole","summary":"","description":"Справочник роли контрагента","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CounterpartyDictionaryRoleDto"},"minItems":0,"maxItems":65535}}}},"403":{"description":"Forbidden","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"404":{"description":"Not Found","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"422":{"description":"Unprocessable Entity","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}}},"tags":["Справочники"]}},"/api/ipl/dictionary/dealLocation":{"get":{"operationId":"DictionaryController_dealLocation","summary":"","description":"Справочник место проведения сделок","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DictionaryWeightDto"},"minItems":0,"maxItems":65535}}}},"403":{"description":"Forbidden","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"404":{"description":"Not Found","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"422":{"description":"Unprocessable Entity","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}}},"tags":["Справочники"]}},"/api/ipl/dictionary/provisionType":{"get":{"operationId":"DictionaryController_provisionType","summary":"","description":"Справочник \"Типы обеспечения\"","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DictionaryDto"},"minItems":0,"maxItems":65535}}}},"403":{"description":"Forbidden","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"404":{"description":"Not Found","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"422":{"description":"Unprocessable Entity","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}}},"tags":["Справочники"]}},"/api/ipl/limits/{limit_id}/dashboard":{"get":{"operationId":"DashboardController_getDashboardData","summary":"Метод получение лимита для дашборда","description":"Получение лимита для дашборда","parameters":[{"name":"limit_id","required":true,"in":"path","schema":{"type":"string","maxLength":50}}],"responses":{"200":{"description":"Данные по лимиту для дашборда","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionDto"}}}},"403":{"description":"Forbidden","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"404":{"description":"Not Found","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"422":{"description":"Unprocessable Entity","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}}},"tags":["Дашборд"]}},"/api/ipl/limits/{limit_id}/dashboard/decision/{decision_id}":{"get":{"operationId":"DashboardController_getDecisionById","summary":"Получение решения для дашборда по айди","description":"Метод получения решения по ID","parameters":[{"name":"limit_id","required":true,"in":"path","schema":{"type":"string","maxLength":50}},{"name":"decision_id","required":true,"in":"path","schema":{"type":"string","maxLength":50}}],"responses":{"200":{"description":"Данные по лимиту для дашборда","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionDto"}}}},"403":{"description":"Forbidden","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"404":{"description":"Not Found","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"422":{"description":"Unprocessable Entity","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}}},"tags":["Дашборд"]}},"/api/ipl/limits/{limit_id}/dashboard/utilization/limit":{"get":{"operationId":"DashboardController_getUtilizationByLimitId","summary":"Метод получения утилизации по лимиту","description":"Получение утилизации по лимиту","parameters":[{"name":"limit_id","required":true,"in":"path","schema":{"type":"string","maxLength":50}}],"responses":{"200":{"headers":{},"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LimitResponse"}}}},"403":{"description":"Forbidden","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"404":{"description":"Not Found","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"422":{"description":"Unprocessable Entity","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}}},"tags":["Дашборд"]}},"/api/ipl/limits/{limit_id}/dashboard/utilization/reserve":{"get":{"operationId":"DashboardController_getUtilizationReserve","summary":"Метод получения утилизации по бронированию","description":"Получение утилизации по бронированию","parameters":[{"name":"limit_id","required":true,"in":"path","schema":{"type":"string","maxLength":50}}],"responses":{"200":{"headers":{},"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReserveResponse"}}}},"403":{"description":"Forbidden","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"404":{"description":"Not Found","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"422":{"description":"Unprocessable Entity","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}}},"tags":["Дашборд"]}},"/api/ipl/limits/{limit_id}/dashboard/utilization/deal":{"get":{"operationId":"DashboardController_getUtilizationDeal","summary":"Метод получения утилизации по сделке","description":"Получение утилизации по сделке","parameters":[{"name":"limit_id","required":true,"in":"path","schema":{"type":"string","maxLength":50}}],"responses":{"200":{"headers":{},"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealResponse"}}}},"403":{"description":"Forbidden","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"404":{"description":"Not Found","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"422":{"description":"Unprocessable Entity","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}},"503":{"description":"Service Unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TykErrorResponse"}}}}},"tags":["Дашборд"]}}},"info":{"title":"1564.els-ipl-s-rest-v1","description":"ELS IPL - BFF server API template","version":"0.9.0","contact":{"name":"Лимитный сервер - индивидуальные лимиты","url":"https://wiki.corp.dev.vtb/pages/viewpage.action?pageId=736059714","email":"verizhnikova@vtb.ru"}},"tags":[{"name":"Индивидуальные лимиты","description":""},{"name":"Контрагенты и группы клиентов","description":""},{"name":"Дашборд","description":""},{"name":"Справочники","description":""}],"servers":[{"url":"https://ipl-front-bff-ds1-genr01-gszc-els-dev.apps.ds1-genr01.corp.dev.vtb/els/limit/v1","description":"DEV/DSO"},{"url":"https://ipl-bff-rs1-genr01-elsc-elsc-test-real.apps.rs1-genr01.test.vtb.ru/els/limit/v1","description":"K3"},{"url":"https://ipl-bff-rs1-genr01-elsc-elsc-test-real.apps.rs1-genr01.test.vtb.ru/els/limit/v1","description":"K4"},{"url":"https://ipl-bff-ps5-genr02-elsc-prod.apps.ps5-genr02.region.vtb.ru/els/limit/v1","description":"PROD"},{"url":"https://ipl-bff-ps2-genr02-elsc-prod.apps.ps2-genr02.region.vtb.ru/els/limit/v1","description":"PROD (Резервный)"}],"components":{"securitySchemes":{"EpaAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"TykErrorResponse":{"type":"object","additionalProperties":false,"properties":{"error":{"type":"string","maxLength":1000,"title":"Описание ошибки"}}},"InputSearchCounterpartyDto":{"type":"object","additionalProperties":false,"properties":{"slx":{"type":"string","description":"Код клиента","maxLength":50},"nameRu":{"type":"string","description":"Наименование клиента кириллицей","maxLength":50},"nameEn":{"type":"string","description":"Наименование клиента латиницей","maxLength":50},"innCountry":{"type":"string","description":"Страна регистрации в формате ISO 3166","maxLength":50},"inn":{"type":"string","description":"ИНН","maxLength":50},"kpp":{"type":"string","description":"КПП","maxLength":50},"ogrn":{"type":"string","description":"ОГРН","maxLength":50}}},"DecisionParticipantDto":{"type":"object","additionalProperties":false,"properties":{"participantAdCode":{"type":"string","description":"Active Directory code Участника решений","maxLength":50},"participantSignatory":{"type":"string","description":"Подпись участника решения","maxLength":50}},"required":["participantAdCode","participantSignatory"]},"LimitDatesDto":{"type":"object","additionalProperties":false,"properties":{"confirmationDate":{"type":"string","description":"Дата утверждения лимита","maxLength":50,"format":"date-time","pattern":"/^\\d{4}(-\\d\\d(-\\d\\d(T\\d\\d:\\d\\d(:\\d\\d)?(\\.\\d+)?(([+-]\\d\\d:\\d\\d)|Z)?)?)?)?$/i"},"effectiveDate":{"type":"string","description":"Дата установления лимита","maxLength":50,"format":"date-time","pattern":"/^\\d{4}(-\\d\\d(-\\d\\d(T\\d\\d:\\d\\d(:\\d\\d)?(\\.\\d+)?(([+-]\\d\\d:\\d\\d)|Z)?)?)?)?$/i"},"expirationDate":{"type":"string","description":"Планируемая дата закрытия лимита","maxLength":50,"format":"date-time","pattern":"/^\\d{4}(-\\d\\d(-\\d\\d(T\\d\\d:\\d\\d(:\\d\\d)?(\\.\\d+)?(([+-]\\d\\d:\\d\\d)|Z)?)?)?)?$/i"},"limitTerm":{"type":"number","description":"Срок действия лимита в днях","minimum":1,"maximum":9999},"dealEffectiveDate":{"type":"string","description":"Дата начала срока заключения сделок","maxLength":50,"format":"date-time","pattern":"/^\\d{4}(-\\d\\d(-\\d\\d(T\\d\\d:\\d\\d(:\\d\\d)?(\\.\\d+)?(([+-]\\d\\d:\\d\\d)|Z)?)?)?)?$/i"},"dealExpirationDate":{"type":"string","description":"Дата окончания срока инициации сделок","maxLength":50,"format":"date-time","pattern":"/^\\d{4}(-\\d\\d(-\\d\\d(T\\d\\d:\\d\\d(:\\d\\d)?(\\.\\d+)?(([+-]\\d\\d:\\d\\d)|Z)?)?)?)?$/i"},"dealTerm":{"type":"number","description":"Срок заключения сделок в днях","minimum":1,"maximum":9999},"dealMaxTerm":{"type":"number","description":"Максимально возможный срок сделки в днях","minimum":1,"maximum":999},"nextRevisionDate":{"type":"string","description":"Следующая планируемая дата пересмотра лимита","maxLength":50,"format":"date-time","pattern":"/^\\d{4}(-\\d\\d(-\\d\\d(T\\d\\d:\\d\\d(:\\d\\d)?(\\.\\d+)?(([+-]\\d\\d:\\d\\d)|Z)?)?)?)?$/i"},"maxDealExpirationDate":{"type":"string","description":"Максимально возможная дата закрытия сделки","maxLength":50,"format":"date-time","pattern":"/^\\d{4}(-\\d\\d(-\\d\\d(T\\d\\d:\\d\\d(:\\d\\d)?(\\.\\d+)?(([+-]\\d\\d:\\d\\d)|Z)?)?)?)?$/i"},"creditTermFrom":{"type":"string","description":"Дата начала кредитной линии","maxLength":50,"format":"date-time","pattern":"/^\\d{4}(-\\d\\d(-\\d\\d(T\\d\\d:\\d\\d(:\\d\\d)?(\\.\\d+)?(([+-]\\d\\d:\\d\\d)|Z)?)?)?)?$/i"},"creditTermTo":{"type":"string","description":"Дата окончания кредитной линии","maxLength":50,"format":"date-time","pattern":"/^\\d{4}(-\\d\\d(-\\d\\d(T\\d\\d:\\d\\d(:\\d\\d)?(\\.\\d+)?(([+-]\\d\\d:\\d\\d)|Z)?)?)?)?$/i"},"creditTermMin":{"type":"number","description":"Минимальный срок кредитной линии (в днях)","minimum":1,"maximum":999},"creditTermMax":{"type":"number","description":"Максимальный срок кредитной линии (в днях)","minimum":1,"maximum":999}},"required":["effectiveDate"]},"ConditionStructure":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","description":"Полное наименование","maxLength":200},"shortName":{"type":"string","description":"Краткое наименование","maxLength":100},"legalWording":{"type":"string","description":"Текстовое описание условия","maxLength":400},"dictionaryItemId":{"type":"string","description":"ИД значения из справочника ","maxLength":100},"weight":{"type":"number","description":"Весовой коэфициент риска","minimum":-2147483648,"maximum":2147483647}},"required":["name"]},"CounterpartyRoleDto":{"type":"object","additionalProperties":false,"properties":{"roleName":{"enum":["BORROWER","GUARANTOR","PLEDGOR","SURETY","ADDITIONAL_SURETY","ADDITIONAL_PLEDGOR","ADDITIONAL_GUARANTOR","COMFORT_LETTER_COUNTERPARTY","APPLICANT","PRINCIPAL","NOTEHOLDER","ISSUER","SETTLEMENT_SUBLIMIT_CLIENT","TRADE_CLIENT","DRAWER_PROVISIONEER","ADDITIONAL_DRAWER_PROVISIONEER","DRAWER_BORROWER"],"type":"string","description":"Роль контрагента"},"counterpartySlx":{"type":"string","description":"Slx код контрагента","maxLength":50},"counterpartyRoleId":{"type":"number","description":"Идентификатор роль-контрагента ЛС","minimum":-2147483648,"maximum":2147483647}},"required":["roleName","counterpartySlx"]},"ConditionDto":{"type":"object","additionalProperties":false,"properties":{"limitConditionKind":{"type":"string","description":"Вид условия лимита","maxLength":50},"conditionType":{"enum":["ADDITIONAL","COLLATERAL","SPECIFIC","SUSPENSIVE","COVENANT","AGREEM_TYPE","COUNTERPARTY_MAIN","BORROWER_GROUP"],"type":"string","description":"Тип условия"},"executionStatus":{"type":"string","description":"Статус выполнения","maxLength":50},"conditionStructure":{"description":"Структура условия","additionalProperties":false,"allOf":[{"$ref":"#/components/schemas/ConditionStructure"}]},"ccdSign":{"type":"boolean","description":"Признак отражения в КОД"},"obligatedPerson":{"description":"Список обязанных лиц для исполнения","minItems":0,"maxItems":65535,"type":"array","items":{"type":"string","maxLength":200}},"responsiblePerson":{"description":"Ответственные за контроль","minItems":0,"maxItems":65535,"type":"array","items":{"type":"string","maxLength":200}},"dependencyList":{"description":"Признак кросс-зависимых условий того же типа в других продуктовых лимитах","minItems":0,"maxItems":65535,"type":"array","items":{"type":"string","maxLength":200}},"counterpartyRoles":{"description":"Контрагенты","minItems":0,"maxItems":65535,"type":"array","items":{"$ref":"#/components/schemas/CounterpartyRoleDto"}}},"required":["counterpartyRoles"]},"ParamsDto":{"type":"object","additionalProperties":false,"properties":{"parameter":{"enum":["DEAL_ALLOWED_CURRENCY","DEAL_ALLOWED_TYPE","THIRD_PERSON","LIMIT_SIGNATORY","SPECIAL_PURPOSE_DICTIONARY_ITEM_ID","SPECIAL_PURPOSE_VALUE","DEAL_LOCATION","DEAL_PRODUCT_TYPE"],"type":"string","description":"Ключ параметра"},"value":{"type":"string","description":"Значение параметра","maxLength":50}},"required":["parameter","value"]},"Amount":{"type":"object","additionalProperties":false,"properties":{"currencyType":{"enum":["RUB","EUR","USD","T_B_D"],"type":"string","description":"Тип валюты"},"currencyName":{"type":"string","description":"Название валюты","maxLength":50},"value":{"type":"number","description":"Сумма","minimum":0,"maximum":9223372036854776000}},"required":["currencyType","currencyName","value"]},"CreateLimitValuesDto":{"type":"object","additionalProperties":false,"properties":{"total":{"description":"Выдано","additionalProperties":false,"allOf":[{"$ref":"#/components/schemas/Amount"}]}}},"CreateLimitDto":{"type":"object","additionalProperties":false,"properties":{"limitName":{"type":"string","description":"Наименование лимита","maxLength":80},"renewableLimit":{"type":"boolean","description":"Признак невозобновляемого лимита"},"limitMode":{"enum":["STANDART","EVERGREEN"],"type":"string","description":"Режим лимита"},"restructuredLimitType":{"enum":["DEFAULT","UNDEFAULT","NONE"],"type":"string","description":"Тип реструктуризации"},"limitControlType":{"enum":["CENTRAL","LOCAL","AUTO"],"type":"string","description":"Порядок контроля лимита"},"limitKind":{"enum":["GSLRISK","BD","COUNTERPARTY","FTSL","GSZ","SUBSIDIARY","OPERATION","PRODUCT","RULE","BENEFICIARY","UNKNOWN","NONE"],"type":"string","description":"Вид лимита (слои)"},"limitDates":{"description":"Даты по лимиту","additionalProperties":false,"allOf":[{"$ref":"#/components/schemas/LimitDatesDto"}]},"conditions":{"description":"Условия лимита","additionalProperties":false,"allOf":[{"$ref":"#/components/schemas/ConditionDto"}]},"counterpartyRoles":{"description":"Список ролей контрагентов","additionalProperties":false,"minItems":0,"maxItems":65535,"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/CounterpartyRoleDto"}},"params":{"description":"Список параметров","additionalProperties":false,"minItems":0,"maxItems":65535,"type":"array","items":{"$ref":"#/components/schemas/ParamsDto"}},"extLimitKind":{"enum":["CRED","DOCUM","SEC","DERIV","CONV","SDBO","CRED_DOC","OTHER","PROJECT"],"type":"string","description":"Вид узла/сублимита/правила во внешней системе"},"limitStatus":{"enum":["DRAFT","PROJECT","ACTIVE","BOOKED","SUSPENDED","ARCHIVE","CLOSED"],"type":"string","description":"Статус лимита"},"operationType":{"enum":["CREDIT","DOCUMENT","SECURITIES","DERIVATIVES","CONV","SDBO","CRED_DOC","OTHER","PROJECT"],"type":"string","description":"Тип операции на стороне лимитного сервера"},"approvalComment":{"type":"string","description":"Наименование решения AUTHORISED_BODY","maxLength":80},"authorizedBody":{"type":"string","description":"Уполномоченный Орган/Уполномоченное лицо в рамках кредитного решения","maxLength":80},"approvalDocName":{"type":"string","description":"Номер протокола решения AUTHORISED_BODY","maxLength":80},"approvalDate":{"type":"string","description":"Наименование решения AUTHORISED_BODY","maxLength":80},"parentDcId":{"type":"string","description":"id родительского лимита в DC","maxLength":80},"parentSsklId":{"type":"string","description":"id родительского лимита в SSKL","maxLength":80},"extLimitLevel":{"type":"number","description":"Глубина узла/сублимита/правила в дереве ИКЛ во внешней системе","minimum":0,"maximum":2147483647},"limitValues":{"description":"Значение лимита при запросе","additionalProperties":false,"allOf":[{"$ref":"#/components/schemas/CreateLimitValuesDto"}]},"childLimits":{"description":"Дочерние узлы - сублимиты лимита","minItems":0,"maxItems":65535,"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/CreateLimitDto"}}},"required":["extLimitKind","limitStatus","limitValues"]},"CounterpartyBaseDto":{"type":"object","additionalProperties":false,"properties":{"counterpartySlx":{"type":"string","description":"SLX код контрагента","maxLength":50},"codeMdm":{"type":"string","description":"MDM код контрагента","maxLength":50}},"required":["counterpartySlx"]},"BasePerimeterDto":{"type":"object","additionalProperties":false,"properties":{"counterparties":{"description":"Контрагенты входящие в периметр решения","additionalProperties":false,"minItems":0,"maxItems":65535,"type":"array","items":{"$ref":"#/components/schemas/CounterpartyBaseDto"}}}},"BeneficiaryDto":{"type":"object","additionalProperties":false,"properties":{"beneficiaryLastName":{"type":"string","description":"Отчество бенефициара","maxLength":50},"beneficiaryFirstName":{"type":"string","description":"Имя бенефициара","maxLength":50},"beneficiarySecondName":{"type":"string","description":"Фамилия бенефициара","maxLength":50},"beneficiaryIdExt":{"type":"number","description":"внешний id бенефициара","minimum":-2147483648,"maximum":2147483647}}},"CreateDecisionDto":{"type":"object","additionalProperties":false,"properties":{"dcProjectId":{"type":"string","description":"Идентификатор проекта во внешней системе (DC)","maxLength":50},"extDecisionId":{"type":"string","description":"Идентификатор решения во внешнией системе (Модуль принятий решений)","maxLength":50},"extDecisionState":{"type":"string","description":"Текущий статус жизненного цикла ПРКК","enum":["NOT_EXIST","IN_WORK","READY_FOR_EXPERTISE","ON_EXPERTISE","REVISION","SIGNING","READY_FOR_LOAN_APPROVAL","POST_KK_REVISION","COMPLETED","PROJECT","ACTIVE"]},"decisionStatus":{"type":"string","description":"Статус ЛС","enum":["DRAFT","PROJECT","ACTIVE","BOOKED","SUSPENDED","ARCHIVE","CLOSED"]},"sourceSystem":{"type":"string","description":"Система источник","enum":["SKKL","PRKK","DC","ODS","Client_360"]},"decisionNumber":{"type":"string","description":"Номер решения","maxLength":50},"parentDecisionId":{"type":"number","description":"Идентификатор ЛС родителя решения","maximum":2147483647,"minimum":-2147483648},"authorizedBody":{"type":"string","description":"Уполномоченный Орган/Уполномоченное лицо в рамках кредитного решения","enum":["AUTH_BODY_COMMON","BANK_MANAGEMENT","CRED_COM_INVEST"]},"approvalDocName":{"type":"string","description":"Номер протокола решения AUTHORISED_BODY","maxLength":50},"approvalComment":{"type":"string","description":"Наименование решения AUTHORISED_BODY","maxLength":50},"approvalDate":{"type":"string","description":"Дата принятия решения AUTHORISED_BODY","maxLength":50,"format":"date-time","pattern":"/^\\d{4}(-\\d\\d(-\\d\\d(T\\d\\d:\\d\\d(:\\d\\d)?(\\.\\d+)?(([+-]\\d\\d:\\d\\d)|Z)?)?)?)?$/i"},"groupLimitName":{"type":"string","description":"Наименование ДК/Группы ВТБ","maxLength":50},"extLimitGidSSKL":{"type":"string","description":"Идентификатор родительского лимита СККЛ","maxLength":50},"decisionParticipants":{"description":"участники решения","additionalProperties":false,"minItems":0,"maxItems":65535,"type":"array","items":{"$ref":"#/components/schemas/DecisionParticipantDto"}},"decisionId":{"type":"number","description":"ИД версии решения ЛС","maximum":2147483647,"minimum":-2147483648},"individualLimit":{"description":"Запрос создания индивидуального лимита","additionalProperties":false,"allOf":[{"$ref":"#/components/schemas/CreateLimitDto"}]},"perimeter":{"description":"Периметр - список контрагентов для решения","additionalProperties":false,"allOf":[{"$ref":"#/components/schemas/BasePerimeterDto"}]},"beneficiary":{"description":"Бенефициар","additionalProperties":false,"allOf":[{"$ref":"#/components/schemas/BeneficiaryDto"}]}},"required":["dcProjectId","extDecisionId","extDecisionState","decisionStatus","individualLimit"]},"LimitValuesDto":{"type":"object","additionalProperties":false,"properties":{"total":{"description":"Выдано","additionalProperties":false,"allOf":[{"$ref":"#/components/schemas/Amount"}]},"available":{"description":"Выдано","additionalProperties":false,"allOf":[{"$ref":"#/components/schemas/Amount"}]},"booked":{"description":"Выдано","additionalProperties":false,"allOf":[{"$ref":"#/components/schemas/Amount"}]},"utilization":{"description":"Выдано","additionalProperties":false,"allOf":[{"$ref":"#/components/schemas/Amount"}]},"totalEl":{"type":"number","description":"Сумма лимита_EL","minimum":0,"maximum":2147483647},"availableEl":{"type":"number","description":"Свободный остаток_EL","minimum":0,"maximum":2147483647},"bookedEl":{"type":"number","description":"Бронь_EL","minimum":0,"maximum":2147483647},"utilizationEl":{"type":"number","description":"Утилизация EL","minimum":0,"maximum":2147483647},"initialWeightFactor":{"type":"number","description":"Коэф.взвешенности исходный, =EL/Исходная сумма лимита ","minimum":0,"maximum":2147483647},"actualWeightFactor":{"type":"number","description":"Коэф взвешенности фактический, =EL(утил.)/Фактическая Сумма лимита (утил.)","minimum":0,"maximum":2147483647}}},"LimitDto":{"type":"object","additionalProperties":false,"properties":{"limitName":{"type":"string","description":"Наименование лимита","maxLength":80},"renewableLimit":{"type":"boolean","description":"Признак невозобновляемого лимита"},"limitMode":{"enum":["STANDART","EVERGREEN"],"type":"string","description":"Режим лимита"},"restructuredLimitType":{"enum":["DEFAULT","UNDEFAULT","NONE"],"type":"string","description":"Тип реструктуризации"},"limitControlType":{"enum":["CENTRAL","LOCAL","AUTO"],"type":"string","description":"Порядок контроля лимита"},"limitKind":{"enum":["GSLRISK","BD","COUNTERPARTY","FTSL","GSZ","SUBSIDIARY","OPERATION","PRODUCT","RULE","BENEFICIARY","UNKNOWN","NONE"],"type":"string","description":"Вид лимита (слои)"},"limitDates":{"description":"Даты по лимиту","additionalProperties":false,"allOf":[{"$ref":"#/components/schemas/LimitDatesDto"}]},"conditions":{"description":"Условия лимита","additionalProperties":false,"allOf":[{"$ref":"#/components/schemas/ConditionDto"}]},"counterpartyRoles":{"description":"Список ролей контрагентов","additionalProperties":false,"minItems":0,"maxItems":65535,"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/CounterpartyRoleDto"}},"params":{"description":"Список параметров","additionalProperties":false,"minItems":0,"maxItems":65535,"type":"array","items":{"$ref":"#/components/schemas/ParamsDto"}},"extLimitKind":{"enum":["CRED","DOCUM","SEC","DERIV","CONV","SDBO","CRED_DOC","OTHER","PROJECT"],"type":"string","description":"Вид узла/сублимита/правила во внешней системе"},"limitStatus":{"enum":["DRAFT","PROJECT","ACTIVE","BOOKED","SUSPENDED","ARCHIVE","CLOSED"],"type":"string","description":"Статус лимита"},"operationType":{"enum":["CREDIT","DOCUMENT","SECURITIES","DERIVATIVES","CONV","SDBO","CRED_DOC","OTHER","PROJECT"],"type":"string","description":"Тип операции на стороне лимитного сервера"},"approvalComment":{"type":"string","description":"Наименование решения AUTHORISED_BODY","maxLength":80},"authorizedBody":{"type":"string","description":"Уполномоченный Орган/Уполномоченное лицо в рамках кредитного решения","maxLength":80},"approvalDocName":{"type":"string","description":"Номер протокола решения AUTHORISED_BODY","maxLength":80},"approvalDate":{"type":"string","description":"Наименование решения AUTHORISED_BODY","maxLength":80},"parentDcId":{"type":"string","description":"id родительского лимита в DC","maxLength":80},"parentSsklId":{"type":"string","description":"id родительского лимита в SSKL","maxLength":80},"limitId":{"type":"number","description":"ИД индивидуального лимита ЛС","minimum":-2147483648,"maximum":2147483647},"limitValues":{"description":"Значение лимита при запросе","additionalProperties":false,"allOf":[{"$ref":"#/components/schemas/LimitValuesDto"}]},"extLimitLevel":{"type":"number","description":"Глубина узла/сублимита/правила в дереве ИКЛ во внешней системе","minimum":0,"maximum":2147483647},"childLimits":{"description":"Список дочерних лимитов","additionalProperties":false,"nullable":true,"minItems":0,"maxItems":65535,"type":"array","items":{"$ref":"#/components/schemas/LimitDto"}}},"required":["extLimitKind","limitStatus"]},"DictItemDto":{"type":"object","additionalProperties":false,"properties":{"code":{"type":"number","description":"Код","maximum":2147483647,"minimum":-2147483648},"value":{"type":"string","description":"Значение","maxLength":100}},"required":["code","value"]},"RegistrationCountryDto":{"type":"object","additionalProperties":false,"properties":{"code":{"type":"number","description":"Цифровой код старны","maximum":2147483647,"minimum":-2147483648},"fullNameEng":{"type":"string","description":"Краткое наименование старны латиницей","maxLength":100},"fullNameRus":{"type":"string","description":"Краткое наименование старны кириллицей","maxLength":100},"iso2":{"type":"string","description":"Код старны в формате 2alpha","maxLength":50},"iso3":{"type":"string","description":"Код старны в формате 3alpha","maxLength":50},"shortNameRus":{"type":"string","description":"Краткое наименование старны кириллицей","maxLength":50}},"required":["code","fullNameEng","fullNameRus","iso2","iso3","shortNameRus"]},"TaxNumberCountry":{"type":"object","additionalProperties":false,"properties":{"isoCode":{"type":"string","description":"Код iso","maxLength":50}},"required":["isoCode"]},"TaxNumber":{"type":"object","additionalProperties":false,"properties":{"number":{"type":"string","description":"Номер","maxLength":100},"country":{"description":"Код iso","additionalProperties":false,"allOf":[{"$ref":"#/components/schemas/TaxNumberCountry"}]}},"required":["number","country"]},"CounterpartyProfileDto":{"type":"object","additionalProperties":false,"properties":{"slxid":{"type":"string","description":"Код клиента в ПКБ","maxLength":50},"nameRu":{"type":"string","description":"Наименование клиента кириллицей","maxLength":50},"nameEn":{"type":"string","description":"Наименование клиента латиницей","maxLength":50},"clientType":{"description":"Значение справочника","additionalProperties":false,"allOf":[{"$ref":"#/components/schemas/DictItemDto"}]},"companyType":{"description":"Значение справочника","additionalProperties":false,"allOf":[{"$ref":"#/components/schemas/DictItemDto"}]},"dockingType":{"description":"Тип закрепления клиента","additionalProperties":false,"minItems":0,"maxItems":65535,"type":"array","items":{"$ref":"#/components/schemas/DictItemDto"}},"industryId":{"description":"Значение справочника","additionalProperties":false,"allOf":[{"$ref":"#/components/schemas/DictItemDto"}]},"registrationCountry":{"description":"Данные страны в формате ISO 3166","additionalProperties":false,"allOf":[{"$ref":"#/components/schemas/RegistrationCountryDto"}]},"mdmCode":{"type":"number","description":"Коды клиента","maximum":2147483647,"minimum":-2147483648},"inn":{"type":"number","description":"Налоговый номер","maximum":2147483647,"minimum":-2147483648},"taxNumbers":{"description":"ИНН","additionalProperties":false,"minItems":0,"maxItems":65535,"type":"array","items":{"$ref":"#/components/schemas/TaxNumber"}},"children":{"description":"Список дочерних записей для Холдинга/Группы компаний в ПКБ","additionalProperties":false,"minItems":0,"maxItems":65535,"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/CounterpartyProfileDto"}}},"required":["slxid","nameRu","nameEn","clientType","companyType","dockingType","industryId","registrationCountry","mdmCode","inn","taxNumbers"]},"CounterpartyLimitDto":{"type":"object","additionalProperties":false,"properties":{"counterpartySlx":{"type":"string","description":"SLX код контрагента","maxLength":5},"codeMdm":{"type":"string","description":"MDM код контрагента","maxLength":50},"profile":{"description":"Данные по контрагенту из Расширенного Профиля ЮЛ","additionalProperties":false,"nullable":true,"allOf":[{"$ref":"#/components/schemas/CounterpartyProfileDto"}]}},"required":["counterpartySlx"]},"PerimeterDto":{"type":"object","additionalProperties":false,"properties":{"counterparties":{"description":"Контрагенты входящие в периметр решения","minItems":0,"maxItems":65535,"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/CounterpartyLimitDto"}},"perimeterId":{"type":"number","description":"Идентификатор периметра решения","maximum":2147483647,"minimum":-2147483648}},"required":["counterparties","perimeterId"]},"DecisionDto":{"type":"object","additionalProperties":false,"properties":{"dcProjectId":{"type":"string","description":"Идентификатор проекта во внешней системе (DC)","maxLength":50},"extDecisionId":{"type":"string","description":"Идентификатор решения во внешнией системе (Модуль принятий решений)","maxLength":50},"extDecisionState":{"type":"string","description":"Текущий статус жизненного цикла ПРКК","enum":["NOT_EXIST","IN_WORK","READY_FOR_EXPERTISE","ON_EXPERTISE","REVISION","SIGNING","READY_FOR_LOAN_APPROVAL","POST_KK_REVISION","COMPLETED","PROJECT","ACTIVE"]},"decisionStatus":{"type":"string","description":"Статус ЛС","enum":["DRAFT","PROJECT","ACTIVE","BOOKED","SUSPENDED","ARCHIVE","CLOSED"]},"sourceSystem":{"type":"string","description":"Система источник","enum":["SKKL","PRKK","DC","ODS","Client_360"]},"decisionNumber":{"type":"string","description":"Номер решения","maxLength":50},"parentDecisionId":{"type":"number","description":"Идентификатор ЛС родителя решения","maximum":2147483647,"minimum":-2147483648},"authorizedBody":{"type":"string","description":"Уполномоченный Орган/Уполномоченное лицо в рамках кредитного решения","enum":["AUTH_BODY_COMMON","BANK_MANAGEMENT","CRED_COM_INVEST"]},"approvalDocName":{"type":"string","description":"Номер протокола решения AUTHORISED_BODY","maxLength":50},"approvalComment":{"type":"string","description":"Наименование решения AUTHORISED_BODY","maxLength":50},"approvalDate":{"type":"string","description":"Дата принятия решения AUTHORISED_BODY","maxLength":50,"format":"date-time","pattern":"/^\\d{4}(-\\d\\d(-\\d\\d(T\\d\\d:\\d\\d(:\\d\\d)?(\\.\\d+)?(([+-]\\d\\d:\\d\\d)|Z)?)?)?)?$/i"},"groupLimitName":{"type":"string","description":"Наименование ДК/Группы ВТБ","maxLength":50},"extLimitGidSSKL":{"type":"string","description":"Идентификатор родительского лимита СККЛ","maxLength":50},"decisionParticipants":{"description":"участники решения","additionalProperties":false,"minItems":0,"maxItems":65535,"type":"array","items":{"$ref":"#/components/schemas/DecisionParticipantDto"}},"decisionId":{"type":"number","description":"ИД версии решения ЛС","maximum":2147483647,"minimum":-2147483648},"individualLimit":{"description":"Ответ сущность индивидуального лимита","additionalProperties":false,"nullable":true,"allOf":[{"$ref":"#/components/schemas/LimitDto"}]},"perimeter":{"description":"Периметр - список контрагентов для решения","additionalProperties":false,"nullable":true,"allOf":[{"$ref":"#/components/schemas/PerimeterDto"}]}},"required":["dcProjectId","extDecisionId","extDecisionState","decisionStatus","individualLimit"]},"DecisionIndividualLimitDto":{"type":"object","additionalProperties":false,"properties":{"individualLimit":{"additionalProperties":false,"description":"Ответ сущность индивидуального лимита","allOf":[{"$ref":"#/components/schemas/LimitDto"}]},"decision":{"additionalProperties":false,"description":"Ответ определения дерева лимитов","allOf":[{"$ref":"#/components/schemas/DecisionDto"}]}}},"LimitResponse":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"number","maximum":2147483647,"minimum":-2147483648},"utilizationSum":{"type":"number","maximum":2147483647,"minimum":-2147483648},"reserveSum":{"type":"number","maximum":2147483647,"minimum":-2147483648}},"required":["id","utilizationSum","reserveSum"]},"ReserveResponse":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string","maxLength":50},"utilizationSum":{"type":"number","maximum":2147483647,"minimum":-2147483648},"freeBalance":{"type":"number","maximum":2147483647,"minimum":-2147483648},"reserveSum":{"type":"number","maximum":2147483647,"minimum":-2147483648},"useFreeBalance":{"type":"boolean"}},"required":["id","utilizationSum","freeBalance","reserveSum","useFreeBalance"]},"DealResponse":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"number","maximum":2147483647,"minimum":-2147483648},"dealDcId":{"type":"string","maxLength":50},"dealCftId":{"type":"number","maximum":2147483647,"minimum":-2147483648},"productName":{"type":"string","maxLength":50},"productCode":{"type":"number","maximum":2147483647,"minimum":-2147483648},"clientId":{"type":"number","maximum":2147483647,"minimum":-2147483648},"transhCftId":{"type":"number","maximum":2147483647,"minimum":-2147483648},"clientMdmId":{"type":"number","maximum":2147483647,"minimum":-2147483648},"contractNum":{"type":"string","maxLength":50},"contractSum":{"type":"number","maximum":2147483647,"minimum":-2147483648},"currencyContract":{"type":"number","maximum":2147483647,"minimum":-2147483648},"contractStartDate":{"type":"string","maxLength":50},"contractEndDate":{"type":"string","maxLength":50},"clientInn":{"type":"string","maxLength":50},"clientKpp":{"type":"string","maxLength":50},"clientName":{"type":"string","maxLength":50},"createDate":{"type":"string","maxLength":50},"utilizationSum":{"type":"number","maximum":2147483647,"minimum":-2147483648},"extraditionSum":{"type":"number","maximum":2147483647,"minimum":-2147483648},"useFreeBalance":{"type":"boolean","maximum":2147483647,"minimum":-2147483648}},"required":["id","dealDcId","dealCftId","productName","productCode","clientId","transhCftId","clientMdmId","contractNum","contractSum","currencyContract","contractStartDate","contractEndDate","clientInn","clientKpp","clientName","createDate","utilizationSum","extraditionSum","useFreeBalance"]},"DictionaryDto":{"type":"object","additionalProperties":false,"properties":{"code":{"type":"string","maxLength":50},"title":{"type":"string","maxLength":50}},"required":["code","title"]},"LimitIntentPurposeDto":{"type":"object","additionalProperties":false,"properties":{"extKey":{"type":"string","maxLength":50},"title":{"type":"string","maxLength":50},"documentName":{"type":"string","maxLength":50},"documentParagraph":{"type":"string","maxLength":50}},"required":["extKey","title","documentName","documentParagraph"]},"DealTypeDto":{"type":"object","additionalProperties":false,"properties":{"extKey":{"type":"string","maxLength":50},"title":{"type":"string","maxLength":50},"documentName":{"type":"string","maxLength":50},"documentParagraph":{"type":"string","maxLength":50}},"required":["extKey","title","documentName","documentParagraph"]},"SubLimitControlProcDto":{"type":"object","additionalProperties":false,"properties":{"prkkTitle":{"type":"string","maxLength":50},"iplTitle":{"type":"string","maxLength":50}},"required":["prkkTitle","iplTitle"]},"CounterpartyDictionaryRoleDto":{"type":"object","additionalProperties":false,"properties":{"code":{"type":"string","maxLength":50},"title":{"type":"string","maxLength":50},"category":{"type":"string","maxLength":50}},"required":["code","title","category"]},"DictionaryWeightDto":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"number","minimum":-2147483648,"maximum":2147483647},"key":{"type":"string","maxLength":50},"title":{"type":"string","maxLength":50},"tags":{"type":"string","maxLength":50},"description":{"type":"string","maxLength":50},"weight":{"type":"number","minimum":-2147483648,"maximum":2147483647}},"required":["id","key","title","tags","description","weight"]}}}}