Persons API

List persons

GET /rest/v1/subjects/persons?per_page=1&page=91

This method lists persons

Request

Headers

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

Route

GET /rest/v1/subjects/persons?per_page=1&page=91

Query Parameters

per_page: 1
page: 91

Response

Headers

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

Status

200 OK

Body

{
  "persons": [
    {
      "n_person_id": 78194101,
      "n_opf_id": null,
      "vc_opf_code": null,
      "vc_opf_name": null,
      "vc_first_name": "Клаус",
      "vc_surname": "Майне",
      "vc_second_name": null,
      "n_sex_id": 1138,
      "vc_sex": "Мужской",
      "vc_inn": null,
      "n_doc_auth_type_id": null,
      "vc_doc_auth_type_code": null,
      "vc_doc_auth_type_name": null,
      "vc_doc_serial": null,
      "vc_doc_no": null,
      "d_doc": null,
      "vc_document": null,
      "vc_doc_department": null,
      "d_birth": null,
      "vc_birth_place": null,
      "vc_pens_insurance": null,
      "vc_med_insurance": null,
      "n_subject_id": 78194101,
      "n_subj_type_id": 18001,
      "n_parent_subj_id": null,
      "n_subj_state_id": 2011,
      "vc_subj_state_name": "Активен",
      "n_base_subject_id": 78194101,
      "n_firm_id": 100,
      "vc_firm": "Offline Telecom",
      "n_region_id": 40230101,
      "vc_region": "г. Москва",
      "n_owner_id": 100,
      "vc_subj_name": "Майне Клаус",
      "vc_subj_code": "Майне К.",
      "vc_name": "Майне Клаус",
      "vc_code": "Майне К.",
      "d_created": "2015-08-11T23:19:57+03:00",
      "n_creator_id": 50162901,
      "t_tags": [

      ],
      "vc_tags": null,
      "vc_rem": null,
      "vc_code_upper": "МАЙНЕ К.",
      "vc_name_upper": "МАЙНЕ КЛАУС",
      "n_subj_group_id": null,
      "vc_subj_group_name": null,
      "n_citizenship_id": null,
      "vc_citizenship": null,
      "vc_kpp": null
    }
  ],
  "navigation": {
    "self": "http://example.org/rest/v1/subjects/persons?per_page=1&page=91",
    "persons": "http://example.org/rest/v1/subjects/persons"
  }
}