RemoveAllowedAttachmentTypes

The RemoveAllowedAttachmentTypes operation provides the functionality to remove one or more service categories from a ReferralNet user's account. The list of valid services categories to be removed could be retrieved from the ListAllowedAttachmentTypes operation.

<Request xsi:type="RemoveAllowedAttachmentTypesRequest">
  <AttachmentType>
    <namespace>urn:smd</namespace>
    <value>http://ns.electronichealth.net.au/ack/sc/deliver/hl7Ack/2012</value>
  </AttachmentType>
</Request>

If the operation is successful, it will simply return a success soap response.

<rs:RegistryResponse status="Success" />

If the operation failed, it should return a soap response similar to the one below.

<rs:RegistryResponse status="Failure">
  <rs:RegistryErrorList>
    <rs:RegistryError codeContext="Attachment type is not currently allowed." errorCode="AttachmentTypeAllowedException" severity="Error"></rs:RegistryError>
  </rs:RegistryErrorList>
</rs:RegistryResponse>
 
dev/refnet_remove_allowed_attachment_type.txt · Last modified: 2014/01/06 00:32 by glennz