This method lists customers filtered by certain IDs
Name | Description |
---|---|
ids | Customers identifiers |
Accept: application/json Content-Type: application/json
POST /rest/v2/subjects/customers/batch
{ "ids": [ 92657501, 50569001 ] }
Content-Type: application/json; charset=utf-8
200 OK
{ "customers": [ { "n_subject_id": 50569001, "n_base_subject_id": 50567501, "vc_base_subject_name": "Пушкин Александр Сергеевич", "n_base_subj_type_id": 18001, "n_subj_state_id": 2011, "vc_name": "Пушкин А. С.", "vc_code": "pushkin", "d_created": "2013-03-27T18:19:15+04:00", "t_tags": [ ], "vc_rem": null, "n_firm_id": 100, "n_subj_group_id": 40231101, "n_reseller_id": null, "group_ids": [ 40231101 ], "vc_base_subject_code": "Пушкин А. С.", "additional_values": [ { "code": "SUBJ_VAL_SERVICE_SAMPLE", "name": "Служебная выборка", "value": [ null ] }, { "code": "SUBJ_VAL_N_WORKSTATION_COUNT", "name": "Количество рабочих станций", "value": null }, { "code": "SUBJ_VAL_D_CONNECTION_DATE", "name": "Дата подключения", "value": null }, { "code": "SUBJ_VAL_N_PERSONAL_CARD_STATE_ID", "name": "Состояние персональной карты", "value": null }, { "code": "Дополнительный текстовый параметр", "name": "Дополнительный текстовый параметр", "value": [ null ] } ] }, { "n_subject_id": 92657501, "n_base_subject_id": 92657001, "vc_base_subject_name": "Doe John", "n_base_subj_type_id": 18001, "n_subj_state_id": 2011, "vc_name": "Doe J.", "vc_code": "john_doe", "d_created": "2018-12-07T17:06:04+03:00", "t_tags": [ ], "vc_rem": null, "n_firm_id": 100, "n_subj_group_id": 40250801, "n_reseller_id": 92055301, "group_ids": [ 40250801 ], "vc_base_subject_code": "Doe J.", "additional_values": [ { "code": "SUBJ_VAL_SERVICE_SAMPLE", "name": "Служебная выборка", "value": [ null ] }, { "code": "SUBJ_VAL_N_WORKSTATION_COUNT", "name": "Количество рабочих станций", "value": null }, { "code": "SUBJ_VAL_D_CONNECTION_DATE", "name": "Дата подключения", "value": null }, { "code": "SUBJ_VAL_N_PERSONAL_CARD_STATE_ID", "name": "Состояние персональной карты", "value": null }, { "code": "Дополнительный текстовый параметр", "name": "Дополнительный текстовый параметр", "value": [ "For public REST API docs" ] } ] } ], "actions": { "new": "http://example.org/rest/v2/subjects/customers/new" } }