Customers API

List customers

GET /rest/v1/subjects/customers?per_page=1&page=131

This method lists customers

Request

Headers

Accept: application/json
Content-Type: application/json

Route

GET /rest/v1/subjects/customers?per_page=1&page=131

Query Parameters

per_page: 1
page: 131

Response

Headers

Content-Type: application/json; charset=utf-8

Status

200 OK

Body

{
  "customers": [
    {
      "n_subject_id": 78194501,
      "n_base_subject_id": 78194101,
      "vc_base_subject_name": "Майне Клаус",
      "n_subj_state_id": 2011,
      "vc_name": "Майне К.",
      "vc_code": "Meine",
      "d_created": "2015-08-11T23:20:57+03:00",
      "t_tags": [
        "тестовый_абонент",
        "музыкант"
      ],
      "vc_rem": "Создан для тестирования REST API",
      "n_firm_id": 100,
      "n_subj_group_id": 40250801,
      "group_ids": [
        40250801
      ],
      "additional_values": {
        "SUBJ_VAL_SERVICE_SAMPLE": [
          null
        ],
        "SUBJ_VAL_N_WORKSTATION_COUNT": null,
        "SUBJ_VAL_D_CONNECTION_DATE": null,
        "SUBJ_VAL_N_PERSONAL_CARD_STATE_ID": null,
        "Дополнительный текстовый параметр": [
          null
        ]
      }
    }
  ],
  "actions": {
    "new": "http://example.org/rest/v1/subjects/customers/new"
  }
}