3.13 Request to clear message queue
Bundle example-message-clear-queue-request of type batch
Entry 1
Request:
DELETE https://api.sharedhealth.exchange/rest/v1/preconf/THP/mailbox_vs1/Bundle/somemessageguid1
Entry 2
Request:
DELETE https://api.sharedhealth.exchange/rest/v1/preconf/THP/mailbox_vs1/Bundle/somemessageguid2
Entry 3
Request:
DELETE https://api.sharedhealth.exchange/rest/v1/preconf/THP/mailbox_vs1/Bundle/somemessageguid50
Raw XML
<Bundle xmlns="http://hl7.org/fhir">
<id value="example-message-clear-queue-request"/>
<meta>
<profile
value="http://sharedhealth.exchange/fhir/StructureDefinition/interaction-bundle-clear-queue-request"/>
<tag>
<system
value="https://fhir.infoway-inforoute.ca/CodeSystem/sharedspecificationversion"/>
<code value="Shared5.0"/>
</tag>
</meta>
<type value="batch"/>
<entry>
<request>
<method value="DELETE"/>
<url
value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/mailbox_vs1/Bundle/somemessageguid1"/>
</request>
</entry>
<entry>
<request>
<method value="DELETE"/>
<url
value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/mailbox_vs1/Bundle/somemessageguid2"/>
</request>
</entry>
<!-- ... -->
<entry>
<request>
<method value="DELETE"/>
<url
value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/mailbox_vs1/Bundle/somemessageguid50"/>
</request>
</entry>
</Bundle>