03-12-2018 23:59

Получить элементы справочника "Филиалы"

GET   /bs-core/dicts/branches

Получение списка элементов справочника "Филиалы"

Запрос

GET /bs-core/dicts/branches HTTP/1.1
Описание параметров
Нет описанных параметров

Ответ


                        {
    "status": "ok",
    "timestamp": 1540281712464,
    "data": [
        {
            "id": 101301,
            "name": "Московский",
            "minAmountForCreditPanel": 0,
            "headBranch": false,
            "currentBranch": false,
            "titleNominative": "ООО \"Сити кредит\"",
            "titleGenitive": "",
            "titleShort": "ООО \"Сити кредит\"",
            "rnn": "546645646",
            "kpp": "879787987",
            "ogrn": "115657487979",
            "accountName": "40555550200111112860",
            "transactionPrefix": "",
            "contractPrefix": "",
            "courtInfo": "",
            "soap_login": "test",
            "soap_password": "test",
            "soap_sender": "test",
            "address": {
                "id": 101261194,
                "regDate": null,
                "housingType": "",
                "regionName": "",
                "localityName": "",
                "streetName": "",
                "fiasId": "",
                "houseNo": "",
                "blockNo": "",
                "buildingNo": "",
                "apartmentNo": "",
                "telephone": "",
                "postalCode": "",
                "metroStation": "",
                "oldAddressText": "",
                "countryId": 101042,
                "fullAddressText": ""
            },
            "bankId": 101661,
            "legalEntityId": 102071,
            "regionId": 102011
        },
        {
            "id": 101302,
            "name": "Петербургский",
            "minAmountForCreditPanel": 400000,
            "headBranch": false,
            "currentBranch": false,
            "titleNominative": "ООО \"Сити кредит\"",
            "titleGenitive": "",
            "titleShort": "ООО \"Сити кредит\"",
            "rnn": "733424563354",
            "kpp": "2145752345123",
            "ogrn": "3576694213123125",
            "accountName": "5434628432421",
            "transactionPrefix": "",
            "contractPrefix": "",
            "courtInfo": "",
            "soap_login": "",
            "soap_password": "",
            "soap_sender": "",
            "address": {
                "id": 101261195,
                "regDate": null,
                "housingType": "",
                "regionName": "",
                "localityName": "",
                "streetName": "",
                "fiasId": "",
                "houseNo": "",
                "blockNo": "",
                "buildingNo": "",
                "apartmentNo": "",
                "telephone": "",
                "postalCode": "",
                "metroStation": "",
                "oldAddressText": "",
                "countryId": 101042,
                "fullAddressText": ""
            },
            "bankId": 101662,
            "legalEntityId": 102071,
            "regionId": 102011
        },
        {
            "id": 101303,
            "name": "Посадская",
            "minAmountForCreditPanel": 1000,
            "headBranch": false,
            "currentBranch": false,
            "titleNominative": "Посадская",
            "titleGenitive": "Посадской",
            "titleShort": "Посадская",
            "rnn": "1",
            "kpp": "2",
            "ogrn": "3",
            "accountName": "4",
            "transactionPrefix": "1",
            "contractPrefix": "po",
            "courtInfo": "",
            "soap_login": "BZ",
            "soap_password": "",
            "soap_sender": "",
            "address": {
                "id": 101261294,
                "regDate": null,
                "housingType": "",
                "regionName": "",
                "localityName": "",
                "streetName": "",
                "fiasId": "",
                "houseNo": "",
                "blockNo": "",
                "buildingNo": "",
                "apartmentNo": "",
                "telephone": "",
                "postalCode": "",
                "metroStation": "",
                "oldAddressText": "",
                "countryId": 101042,
                "fullAddressText": ""
            },
            "bankId": 1016620,
            "legalEntityId": 102072,
            "regionId": 102011
        },
        {
            "id": 101304,
            "name": "Тест",
            "minAmountForCreditPanel": 10000,
            "headBranch": false,
            "currentBranch": false,
            "titleNominative": "",
            "titleGenitive": "",
            "titleShort": "",
            "rnn": "",
            "kpp": "",
            "ogrn": "",
            "accountName": "",
            "transactionPrefix": "",
            "contractPrefix": "",
            "courtInfo": "",
            "soap_login": "",
            "soap_password": "",
            "soap_sender": "",
            "address": {
                "id": 101261679,
                "regDate": null,
                "housingType": "",
                "regionName": "",
                "localityName": "",
                "streetName": "",
                "fiasId": "",
                "houseNo": "",
                "blockNo": "",
                "buildingNo": "",
                "apartmentNo": "",
                "telephone": "",
                "postalCode": "",
                "metroStation": "",
                "oldAddressText": "",
                "countryId": 101042,
                "fullAddressText": ""
            },
            "bankId": 101663,
            "legalEntityId": 102074,
            "regionId": 102011
        },
        {
            "id": 101305,
            "name": "Алматы",
            "minAmountForCreditPanel": 0,
            "headBranch": false,
            "currentBranch": false,
            "titleNominative": "",
            "titleGenitive": "",
            "titleShort": "",
            "rnn": "",
            "kpp": "",
            "ogrn": "",
            "accountName": "",
            "transactionPrefix": "",
            "contractPrefix": "",
            "courtInfo": "",
            "soap_login": "",
            "soap_password": "",
            "soap_sender": "",
            "address": {
                "id": 101262245,
                "regDate": null,
                "housingType": "",
                "regionName": null,
                "localityName": null,
                "streetName": "",
                "fiasId": "",
                "houseNo": "",
                "blockNo": "",
                "buildingNo": "",
                "apartmentNo": "",
                "telephone": "",
                "postalCode": "",
                "metroStation": "",
                "oldAddressText": "",
                "countryId": null,
                "fullAddressText": ""
            },
            "bankId": 1016619,
            "legalEntityId": 102078,
            "regionId": 102012
        },
        {
            "id": 101306,
            "name": "Мегазайм  тульский",
            "minAmountForCreditPanel": 0,
            "headBranch": false,
            "currentBranch": false,
            "titleNominative": "",
            "titleGenitive": "",
            "titleShort": "",
            "rnn": "",
            "kpp": "",
            "ogrn": "",
            "accountName": "",
            "transactionPrefix": "",
            "contractPrefix": "",
            "courtInfo": "",
            "soap_login": "",
            "soap_password": "",
            "soap_sender": "",
            "address": {
                "id": 101262475,
                "regDate": null,
                "housingType": "",
                "regionName": null,
                "localityName": null,
                "streetName": "",
                "fiasId": "",
                "houseNo": "",
                "blockNo": "",
                "buildingNo": "",
                "apartmentNo": "",
                "telephone": "",
                "postalCode": "",
                "metroStation": "",
                "oldAddressText": "",
                "countryId": null,
                "fullAddressText": ""
            },
            "bankId": 101663,
            "legalEntityId": 102081,
            "regionId": 102011
        }
    ]
}
                    
Описание параметров
Параметр Обязателен Тип данных Описание
ogrn R [string][255] ОГРН
regionId R [int] Идентификатор региона 
legalEntityId R [int] Идентификатор Юридического лица
bankId R [int] Идентификатор банка 
soap_sender R [string][50] Отправитель СМС
soap_password R [string][50] Пароль для отправки СМС
soap_login R [string][50] Логин для отправки СМС
contractPrefix R [string][50] Префикс для контрактов 
transactionPrefix R [string][50] Префикс для ДДС
accountName R [string][50] Расчетный счет
id R [int] Идентификатор записи в справочнике
kpp R [string][255] КПП
rnn R [string][20] ИНН
titleShort R [string][100] Краткое наименование 
titleGenitive R [string][150] Наименование в родительном падеже
titleNominative R [string][150] Наименование в именительном падеже
currentBranch R [bool] Текущий филиал
headBranch R [bool] Головной филиал
minAmountForCreditPane R [string] Минимальная сумма для рассмотрения в кредитном продукте 
name R [string][250] Название филиала