= resource {workItemUID} / 1.2.840.10008.5.1.4.34.5 / 1.2.840.10008.5.1.4.34.5.1 = 16{token} aetitle The subscribed Application Entity = true / false ?suspend If present, indicates that the subscription should be suspended, i.e. current subscriptions should not be deleted, but no future subscriptions should be created. **** This could be simplified to **** DELETE∎/workitems{/workItemUID}{?suspend}∎version↲ Content-Length: 0↲ *header-field↲ ↲ Where, = true / false {?suspend} If present, indicates that the subscription should be suspended, i.e. current subscriptions should not be deleted, but no future subscriptions should be created. **** end of simplification **** Header Fields Required: Content-Length: 0 Payload The request payload shall be empty. 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: version∎status-code∎reason-phrase↲ Content-Length: 0↲ *header-field↲ ↲ Status Codes A success response shall contain a status code of 200 (OK), indicating that the target subscription(s) have been suspended or deleted. A failure response will contain an appropriate status code from Table 12.2-A.
resource = {workItemUID} / 1.2.840.10008.5.1.4.34.5 / 1.2.840.10008.5.1.4.34.5.1 aetitle = 16{token} The subscribed Application Entity ?suspend = true / false If present, indicates that the subscription should be suspended, i.e. current subscriptions should not be deleted, but no future subscriptions should be created. **** This could be simplified to **** DELETE∎/workitems{/workItemUID}{?suspend}∎version↲ Content-Length: 0↲ *header-field↲ ↲ Where, {?suspend} = true / false If present, indicates that the subscription should be suspended, i.e. current subscriptions should not be deleted, but no future subscriptions should be created. **** end of simplification **** Header Fields Required: Content-Length: 0 Payload The request payload shall be empty. 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: version∎status-code∎reason-phrase↲ Content-Length: 0↲ *header-field↲ ↲ Status Codes A success response shall contain a status code of 200 (OK), indicating that the target subscription(s) have been suspended or deleted. A failure response will contain an appropriate status code from Table 12.2-A.
sup183.docx