Payload The payload is defined by the service. An error payload should contain a Status Details document. Media Types The service shall define all media-types supported. Delete Subscription The target resource must be a resource to which the user agent has subscribed. If the query parameter is “suspend” any current subscription are left in place, but no more subscriptions shall be created for the target resource. If “true” the parameter is all current subscriptions to the target resource are deleted and no more will be “suspend” “false” created. If the parameter is not present, value is “suspend” it’s “false”. If the target resource is the Worklist and the query parameter is then all future subscriptions to Work “suspend” “true” Items are cancelled. If the query parameter is either or not present, the all current and future “suspend” “false” subscriptions are cancelled. Request The request shall be formatted as follows: DELETE∎ /{+subscription}{?suspend}∎version↲ Content-Length: 0↲ *header-field↲ ↲ Query Parameters a URI referencing the subscription. subscription ?suspend =true / false If present and its value is it indicates that the subscription should be suspended, i.e. current “true”, subscriptions should not be deleted, but no future subscriptions shall be created. If it is not present or its value is all current subscriptions to the resource are deleted and no future subscriptions shall be “false” created. Header Fields Required: Content-Length: 0 Payload Typically the request has no payload, but the actual payload is defined by the service. Behavior If the query parameter is the origin server shall no longer automatically subscribe the user agent to “suspend” “true” newly-created Work Items; however, this does not delete existing subscriptions to Work Items. If the query “suspend” parameter is or not present the origin server shall remove any of the user existing subscriptions to the “false” agent’s target resource. The origin server shall conform to the behavior described in . Response The response shall have the following format:
Payload The payload is defined by the service. An error payload should contain a Status Details document. Media Types The service shall define all media-types supported. Delete Subscription The target resource must be a resource to which the user agent has subscribed. If the “suspend” query parameter is “true” any current subscription are left in place, but no more subscriptions shall be created for the target resource. If the “suspend” parameter is “false” all current subscriptions to the target resource are deleted and no more will be created. If the “suspend” parameter is not present, it’s value is “false”. If the target resource is the Worklist and the “suspend” query parameter is “true” then all future subscriptions to Work Items are cancelled. If the “suspend” query parameter is either “false” or not present, the all current and future subscriptions are cancelled. Request The request shall be formatted as follows: DELETE∎ /{+subscription}{?suspend}∎version↲ Content-Length: 0↲ *header-field↲ ↲ Query Parameters subscription a URI referencing the subscription. ?suspend =true / false If present and its value is “true”, it indicates that the subscription should be suspended, i.e. current subscriptions should not be deleted, but no future subscriptions shall be created. If it is not present or its value is “false” all current subscriptions to the resource are deleted and no future subscriptions shall be created. Header Fields Required: Content-Length: 0 Payload Typically the request has no payload, but the actual payload is defined by the service. Behavior If the “suspend” query parameter is “true” the origin server shall no longer automatically subscribe the user agent to newly-created Work Items; however, this does not delete existing subscriptions to Work Items. If the “suspend” query parameter is “false” or not present the origin server shall remove any of the user agent’s existing subscriptions to the target resource. The origin server shall conform to the behavior described in . Response The response shall have the following format:
sup183.docx