18-02-2021 15:57

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

GET   /bs-core/dicts/subdivisions

Получение списка элементов справочника "Подразделения"

Запрос

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

Ответ


                        {
    "status": "ok",
    "timestamp": 1552641749391,
    "data": [
        {
            "name": "Галактически сенат",
            "branchId": 101301,
            "chiefPositionNominative": "",
            "chiefPositionGenitive": "",
            "chiefNameNominative": "",
            "chiefNameNominativeForDoc": "",
            "chiefNameGenitive": "",
            "generalAccountant": "",
            "docNameGenitive": "",
            "orgLicense": "",
            "rnn": "",
            "okpo": "",
            "address": "",
            "telephone": "",
            "subCode": "",
            "transactionPrefix": "",
            "contractPrefix": "",
            "accountantFromUserId": null,
            "cashierFromUserId": null,
            "docNameForAccountant": "",
            "docNameForCashier": "",
            "courtInfo": "",
            "shops": [],
            "active": true,
            "id": 101798
        },
        {
            "name": "Офис на Преображенской площади",
            "branchId": 101302,
            "chiefPositionNominative": "",
            "chiefPositionGenitive": "",
            "chiefNameNominative": "",
            "chiefNameNominativeForDoc": "",
            "chiefNameGenitive": "",
            "generalAccountant": "",
            "docNameGenitive": "",
            "orgLicense": "",
            "rnn": "",
            "okpo": "",
            "address": "",
            "telephone": "",
            "subCode": "",
            "transactionPrefix": "",
            "contractPrefix": "",
            "accountantFromUserId": null,
            "cashierFromUserId": null,
            "docNameForAccountant": "",
            "docNameForCashier": "",
            "courtInfo": "",
            "shops": [],
            "active": true,
            "id": 101793
        },
        {
            "name": "Офис на Васильевском",
            "branchId": 101302,
            "chiefPositionNominative": "Иванов Иван Иванович",
            "chiefPositionGenitive": "Иванова Ивана Ивановича",
            "chiefNameNominative": "Иванов Иван Иванович",
            "chiefNameNominativeForDoc": "Иванов Иван Иванович",
            "chiefNameGenitive": "Иванова Ивана Ивановича",
            "generalAccountant": "Иванов Иван Иванович",
            "docNameGenitive": "доверенности",
            "orgLicense": "435345",
            "rnn": "435345345",
            "okpo": "3452523",
            "address": "",
            "telephone": "74325342523",
            "subCode": "",
            "transactionPrefix": "",
            "contractPrefix": "",
            "accountantFromUserId": null,
            "cashierFromUserId": null,
            "docNameForAccountant": "",
            "docNameForCashier": "",
            "courtInfo": "",
            "shops": [],
            "active": true,
            "id": 101794
        },
        {
            "name": "БЗ",
            "branchId": 101303,
            "chiefPositionNominative": "Иванов Иван Иванович",
            "chiefPositionGenitive": "",
            "chiefNameNominative": "",
            "chiefNameNominativeForDoc": "",
            "chiefNameGenitive": "",
            "generalAccountant": "",
            "docNameGenitive": "",
            "orgLicense": "",
            "rnn": "",
            "okpo": "",
            "address": "",
            "telephone": "",
            "subCode": "",
            "transactionPrefix": "",
            "contractPrefix": "",
            "accountantFromUserId": 1,
            "cashierFromUserId": 3,
            "docNameForAccountant": "",
            "docNameForCashier": "",
            "courtInfo": "",
            "shops": [],
            "active": true,
            "id": 101795
        },
        {
            "name": "Ачилова",
            "branchId": 101305,
            "chiefPositionNominative": "",
            "chiefPositionGenitive": "",
            "chiefNameNominative": "",
            "chiefNameNominativeForDoc": "",
            "chiefNameGenitive": "",
            "generalAccountant": "",
            "docNameGenitive": "",
            "orgLicense": "",
            "rnn": "",
            "okpo": "",
            "address": "",
            "telephone": "",
            "subCode": "",
            "transactionPrefix": "",
            "contractPrefix": "01",
            "accountantFromUserId": 1,
            "cashierFromUserId": 1,
            "docNameForAccountant": "",
            "docNameForCashier": "",
            "courtInfo": "",
            "shops": [],
            "active": true,
            "id": 101791
        },
        {
            "name": "Исмаилова",
            "branchId": 101305,
            "chiefPositionNominative": "",
            "chiefPositionGenitive": "",
            "chiefNameNominative": "",
            "chiefNameNominativeForDoc": "",
            "chiefNameGenitive": "",
            "generalAccountant": "",
            "docNameGenitive": "",
            "orgLicense": "",
            "rnn": "",
            "okpo": "",
            "address": "",
            "telephone": "",
            "subCode": "",
            "transactionPrefix": "",
            "contractPrefix": "",
            "accountantFromUserId": null,
            "cashierFromUserId": null,
            "docNameForAccountant": "",
            "docNameForCashier": "",
            "courtInfo": "",
            "shops": [],
            "active": true,
            "id": 101792
        },
        {
            "name": "Albank",
            "branchId": 101305,
            "chiefPositionNominative": "",
            "chiefPositionGenitive": "",
            "chiefNameNominative": "",
            "chiefNameNominativeForDoc": "",
            "chiefNameGenitive": "",
            "generalAccountant": "",
            "docNameGenitive": "",
            "orgLicense": "",
            "rnn": "",
            "okpo": "",
            "address": "",
            "telephone": "",
            "subCode": "",
            "transactionPrefix": "",
            "contractPrefix": "",
            "accountantFromUserId": 1,
            "cashierFromUserId": null,
            "docNameForAccountant": "",
            "docNameForCashier": "",
            "courtInfo": "",
            "shops": [],
            "active": true,
            "id": 101796
        },
        {
            "name": "офис на тульской",
            "branchId": 101306,
            "chiefPositionNominative": "",
            "chiefPositionGenitive": "",
            "chiefNameNominative": "",
            "chiefNameNominativeForDoc": "",
            "chiefNameGenitive": "",
            "generalAccountant": "",
            "docNameGenitive": "",
            "orgLicense": "",
            "rnn": "",
            "okpo": "",
            "address": "",
            "telephone": "",
            "subCode": "",
            "transactionPrefix": "",
            "contractPrefix": "",
            "accountantFromUserId": null,
            "cashierFromUserId": null,
            "docNameForAccountant": "",
            "docNameForCashier": "",
            "courtInfo": "",
            "shops": [],
            "active": true,
            "id": 101797
        }
    ]
}
                    
Описание параметров
Параметр Обязателен Тип данных Описание
okpo R [int] Код ОКПО
cashierFromUserId R [int] Кассир. Идентификатор пользователя. 
accountantFromUserId R [int] Бухгалтер. Идентификатор пользователя.
branchId R [int] Идентификатор филиала.
docNameForCashier R [string] Действия на основании для кассира
docNameForAccountant R [string] Действия на основании для бухгалтера
contractPrefix R [string] Префикс для кредитных контрактов.
transactionPrefix R [string] Префикс для ДДС.
subCode R [string] Суб код
telephone R [string] Телефон
address R [string] Адрес
id R [int] Идентификатор записи в справочнике.
rnn R [int] ИНН
orgLicense R [string] Доверенность организации
docNameGenitive R [string] Документ в род. падеже
generalAccountant R [string] Главный бухгалтер
chiefNameGenitive R [string] ФИО Руководителя в род. падеже для контракта. 
chiefNameNominativeForDoc R [string] ФИО руководителя в им. падеже для кассовых документов.
chiefNameNominative R [string] ФИО руководителя в им. падеже для контракта
chiefPositionGenitive R [string] Должность руководителя в род. падеже.
chiefPositionNominative R [string] Должность руководителя в им. падеже.
name R [string] Название подразделения