ListAttachmentTypes

The ListAttachmentTypes operation will return the list of service categories based on the namespace passed (e.g. urn:smd). The results could be used as parameter values in the AddAllowedAttachmentTypes operation.

Here is a sample soap request.

<ListAttachmentTypesRequest xsi:type="ListAttachmentTypesRequest">urn:smd</ListAttachmentTypesRequest>

If the operation is successful, it should return a similar soap response as below.

<Response xsi:type="ListAttachmentTypesResponse">
  <rs:RegistryResponse status="Success" />
  <AttachmentType>
    <namespace>urn:smd</namespace>
    <value>http://ns.electronichealth.net.au/ack/sc/deliver/hl7Ack/2012</value>
  </AttachmentType>
  <AttachmentType>
    <namespace>urn:smd</namespace>
    <value>http://ns.electronichealth.net.au/ds/sc/deliver/hl7Mdm/2012</value>
  </AttachmentType>
  <AttachmentType>
    <namespace>urn:smd</namespace>
    <value>http://ns.electronichealth.net.au/ds/sc/deliver/xdmZip/2012</value>
  </AttachmentType>
</Response>
 
dev/refnet_list_attachment_types.txt · Last modified: 2014/01/06 00:08 by glennz