Contracts API

Show customer contract

GET /rest/v1/subjects/customers/:customer_id/contracts/:id

This method shows specific customer contract

Request

Headers

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

Route

GET /rest/v1/subjects/customers/78419501/contracts/78420001

Response

Headers

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

Status

200 OK

Body

{"contract":{"n_doc_id":78420001,"n_doc_type_id":1002,"n_doc_state_id":4003,"n_parent_doc_id":40232501,"n_workflow_id":10021,"d_doc":"2015-09-23T00:00:00+03:00","vc_doc_no":"\u0410-15/18","d_begin":"2015-09-23T00:00:00+03:00","d_end":null,"n_firm_id":100,"vc_rem":null,"n_provider_id":100,"actions":{"edit":"http://example.org/rest/v1/subjects/customers/78419501/contracts/78420001/edit","show":"http://example.org/rest/v1/subjects/customers/78419501/contracts/78420001"},"additional_values":{}},"navigation":{"self":"http://example.org/rest/v1/subjects/customers/78419501/contracts/78420001","customer":"http://example.org/rest/v1/subjects/customers/78419501","contracts":"http://example.org/rest/v1/subjects/customers/78419501/contracts"}}