References API

List references by type id

GET /rest/v1/references?ref_type_id=:ref_type_id&per_page=1&page=1

This method lists references of specified type id

Request

Headers

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

Route

GET /rest/v1/references?ref_type_id=1&per_page=1&page=1

Query Parameters

ref_type_id: 1
per_page: 1
page: 1

Response

Headers

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

Status

200 OK

Body

{"references":[{"n_ref_id":1001,"n_par_ref_id":null,"n_ref_type_id":1,"n_ref_base_id":null,"n_firm_id":null,"vc_name":"\u042e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043b\u0438\u0446\u043e","vc_code":"SUBJ_TYPE_Company","vc_value":null,"vc_value_2":null,"vc_value_3":null,"c_value":null,"c_value_2":null,"c_value_3":null,"d_value":null,"d_value_2":null,"d_value_3":null,"n_value":null,"n_value_2":null,"n_value_3":null,"c_fl_editable":"N","c_fl_manual":"N","n_lang_id":1131}],"actions":{"index":"http://example.org/rest/v1/references"}}