REST API

REST Examples: Suspending a Subscription

Response to a Successful Request
{ "_links": { "self": { "href": "/rbs/v1/subscriptions/6192112872526176101960", "method": "GET" }, "update": { "href": "/rbs/v1/subscriptions/6192112872526176101960", "method": "PATCH" }, "cancel": { "href": "/rbs/v1/subscriptions/6192112872526176101960/cancel", "method": "POST" }, "suspend": { "href": "/rbs/v1/subscriptions/6192112872526176101960/suspend", "method": "POST" } }, "id": "6192112872526176101960", "status": "ACCEPTED", "subscriptionInformation": { "code": "AWC-44", "status": "ACTIVE" } }
Error Response
{ "status": "NOT_FOUND", "reason": "INVALID_DATA", "details": [] }