Sessions v2 API

Show session v2

GET /rest/v2/sessions/:id

This method shows session

Request

Headers

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

Route

GET /rest/v2/sessions/78221101

Response

Headers

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

Status

200 OK

Body

{
  "session": {
    "n_session_id": 78221101,
    "n_type_id": 280101,
    "vc_type_name": "test session type",
    "n_state_id": 3182,
    "vc_ext_id": "UO0YW2NE",
    "vc_par_ext_uniq_id": null,
    "vc_ext_uniq_id": "st0gl55ws0r1s1gemmrus5p1ymx8za3r",
    "vc_termination_code": null,
    "n_customer_equipment_id": 55009301,
    "n_provider_equipment_id": 54749401,
    "n_equipment_bind_id": 320101,
    "n_customer_id": 55006601,
    "n_start_customer_profile_id": 634001,
    "n_start_provider_profile_id": null,
    "n_customer_profile_id": 634001,
    "t_cust_child_profile_ids": null,
    "n_prev_customer_profile_id": null,
    "t_prev_child_profile_ids": null,
    "n_provider_profile_id": null,
    "n_prev_provider_profile_id": null,
    "n_service_profile_id": 634001,
    "d_start": "2015-08-07T14:41:10+03:00",
    "d_finish": "2015-08-07T14:41:12+03:00",
    "d_last_upd": "2015-08-17T12:39:55+03:00",
    "d_last_load": "2015-08-17T12:39:55+03:00",
    "c_fl_killed": "Y",
    "t_attributes": {
      "Test start attribute": "Hello world"
    },
    "n_firm_id": 100,
    "vc_src_app": "Test sessions generator",
    "vc_load_seance_id": "Test seance",
    "n_scn": "18557301",
    "t_start_attributes": {
      "Test start attribute": "Hello world"
    }
  },
  "actions": {
    "show": "http://example.org/rest/v2/sessions/78221101"
  },
  "navigation": {
    "self": "http://example.org/rest/v2/sessions/78221101"
  }
}