Customers API

Show customer

GET /rest/v1/subjects/customers/:id

This method shows customer

Request

Headers

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

Route

GET /rest/v1/subjects/customers/78194501

Response

Headers

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

Status

200 OK

Body

{
  "customer": {
    "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": {
    "edit": "http://example.org/rest/v1/subjects/customers/78194501/edit"
  },
  "navigation": {
    "self": "http://example.org/rest/v1/subjects/customers/78194501",
    "accounts": "http://example.org/rest/v1/subjects/customers/78194501/accounts",
    "documents": "http://example.org/rest/v1/subjects/customers/78194501/documents",
    "equipment": "http://example.org/rest/v1/subjects/customers/78194501/equipment"
  }
}