Additional services API

Update additional service subscription

PUT /rest/v1/subjects/customers/:customer_id/subscriptions/:subscription_id/additional_services/:additional_service_subscription_id

Request

Headers

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

Route

PUT /rest/v1/subjects/customers/78065201/subscriptions/78069101/additional_services/78175001

Body

{"additional_service":{"d_end":"2016-10-06T04:26:40+03:00"}}

Response

Headers

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

Status

200 OK

Body

{"additional_service":{"n_subscription_id":78175001,"n_service_id":40216101,"n_quant":"1","d_begin":"2015-08-06T22:26:24+03:00","d_end":"2016-10-06T04:26:40+03:00","n_par_subscription_id":78174801,"actions":{"show":"http://example.org/rest/v1/subjects/customers/78065201/subscriptions/78175001","edit":"http://example.org/rest/v1/subjects/customers/78065201/subscriptions/78175001/edit"}},"navigation":{"self":"http://example.org/rest/v1/subjects/customers/78065201/subscriptions/78069101/additional_services/78175001","customer":"http://example.org/rest/v1/subjects/customers/78065201","additional_services":"http://example.org/rest/v1/subjects/customers/78065201/subscriptions/78069101/additional_services"}}