Organization employees API

List of organization employees

GET /rest/v2/subjects/organizations/:organization_id/employees

Request

Headers

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

Route

GET /rest/v2/subjects/organizations/55650101/employees

Response

Headers

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

Status

200 OK

Body

{
  "employees": [
    {
      "n_subject_id": 55667901,
      "vc_subj_name": "Кларк Артур Чарльз",
      "vc_subj_code": "Кларк А. Ч.",
      "n_base_subject_id": 55649301,
      "n_employee_type_id": 1025,
      "vc_employee_type": "Генеральный директор",
      "d_begin": "2013-11-08T00:00:00+04:00",
      "d_end": null
    },
    {
      "n_subject_id": 55670401,
      "vc_subj_name": "Форбс Джон Нэш-младший",
      "vc_subj_code": "Форбс Д. Н.",
      "n_base_subject_id": 55670301,
      "n_employee_type_id": 2025,
      "vc_employee_type": "Главный бухгалтер",
      "d_begin": "2013-11-12T22:48:46+04:00",
      "d_end": null
    },
    {
      "n_subject_id": 55671401,
      "vc_subj_name": "Лоренц Людвиг Валентин",
      "vc_subj_code": "Лоренц Л. В.",
      "n_base_subject_id": 55671301,
      "n_employee_type_id": 3025,
      "vc_employee_type": "Контактное лицо",
      "d_begin": "2013-11-12T00:00:00+04:00",
      "d_end": null
    },
    {
      "n_subject_id": 55670901,
      "vc_subj_name": "Лоренц Хендрик Антон",
      "vc_subj_code": "Лоренц Х. А.",
      "n_base_subject_id": 55670801,
      "n_employee_type_id": 3025,
      "vc_employee_type": "Контактное лицо",
      "d_begin": "2013-11-12T00:00:00+04:00",
      "d_end": null
    },
    {
      "n_subject_id": 55671901,
      "vc_subj_name": "Планк Макс Карл Эрнст Людвиг",
      "vc_subj_code": "Планк М. К.",
      "n_base_subject_id": 55671801,
      "n_employee_type_id": 4025,
      "vc_employee_type": "Технический специалист",
      "d_begin": "2013-11-12T22:53:35+04:00",
      "d_end": null
    },
    {
      "n_subject_id": 55668501,
      "vc_subj_name": "Склодовская-Кюри Мария",
      "vc_subj_code": "Склодовская-Кюри М.",
      "n_base_subject_id": 55668401,
      "n_employee_type_id": 5025,
      "vc_employee_type": "Сотрудник",
      "d_begin": "2013-10-02T00:00:00+04:00",
      "d_end": "2013-11-11T00:00:00+04:00"
    }
  ],
  "navigation": {
    "self": "http://example.org/rest/v2/subjects/organizations/55650101/employees",
    "customer": "http://example.org/rest/v2/subjects/customers/55650101"
  }
}