This method shows all customer contracts
Accept: application/json Content-Type: application/json
GET /rest/v1/subjects/customers/78419501/contracts
Content-Type: application/json; charset=utf-8
200 OK
{
"contracts": [
{
"n_doc_id": 78420001,
"n_doc_type_id": 1002,
"n_doc_state_id": 4003,
"n_parent_doc_id": 40232501,
"n_firm_id": 100,
"d_doc": "2015-09-23T00:00:00+03:00",
"d_time": "2015-09-23T22:34:49+03:00",
"vc_doc_no": "А-15/18",
"d_begin": "2015-09-23T00:00:00+03:00",
"d_end": null,
"vc_rem": null,
"n_workflow_id": 10021,
"n_provider_id": 100,
"actions": {
"show": "http://example.org/rest/v1/subjects/customers/78419501/contracts/78420001",
"edit": "http://example.org/rest/v1/subjects/customers/78419501/contracts/78420001/edit"
}
},
{
"n_doc_id": 78425301,
"n_doc_type_id": 1002,
"n_doc_state_id": 3003,
"n_parent_doc_id": 40232501,
"n_firm_id": 100,
"d_doc": "2015-09-24T00:00:00+03:00",
"d_time": "2015-09-24T12:13:26+03:00",
"vc_doc_no": "А-15/19",
"d_begin": "2015-09-24T00:00:00+03:00",
"d_end": null,
"vc_rem": null,
"n_workflow_id": 10021,
"n_provider_id": 100,
"actions": {
"show": "http://example.org/rest/v1/subjects/customers/78419501/contracts/78425301",
"edit": "http://example.org/rest/v1/subjects/customers/78419501/contracts/78425301/edit"
}
},
{
"n_doc_id": 78426201,
"n_doc_type_id": 1002,
"n_doc_state_id": 3003,
"n_parent_doc_id": 40232501,
"n_firm_id": 100,
"d_doc": "2015-09-24T00:00:00+03:00",
"d_time": "2015-09-24T12:26:39+03:00",
"vc_doc_no": "А-15/20",
"d_begin": "2015-09-24T00:00:00+03:00",
"d_end": null,
"vc_rem": null,
"n_workflow_id": 10021,
"n_provider_id": 100,
"actions": {
"show": "http://example.org/rest/v1/subjects/customers/78419501/contracts/78426201",
"edit": "http://example.org/rest/v1/subjects/customers/78419501/contracts/78426201/edit"
}
}
],
"navigation": {
"self": "http://example.org/rest/v1/subjects/customers/78419501/contracts",
"customer": "http://example.org/rest/v1/subjects/customers/78419501"
}
}