AddAllowedAttachmentTypes

The AddAllowedAttachmentTypes operation provides the functionality to add one or more service categories to a ReferralNet user's account. The list of valid services categories could be retrieved from the ListAttachmentTypes operation.

<Request xsi:type="AddAllowedAttachmentTypesRequest">
  <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="Could not find attachment type for 'urn:smd', 'testattachmenttype'" errorCode="AttachmentTypeNotFoundException" severity="Error"></rs:RegistryError>
  </rs:RegistryErrorList>
</rs:RegistryResponse>
 
dev/refnet_add_allowed_attachment_types.txt · Last modified: 2014/01/06 00:17 by glennz