This shows you the differences between two versions of the page.

dev:refnet_remove_allowed_attachment_type [2014/01/05 23:58]
glennz created
dev:refnet_remove_allowed_attachment_type [2014/01/06 00:32] (current)
Line 1: Line 1:
====== RemoveAllowedAttachmentTypes ====== ====== RemoveAllowedAttachmentTypes ======
-Content coming soon+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 [[dev:refnet_list_allowed_attachment_types|ListAllowedAttachmentTypes ]] operation.  
 +<code xml> 
 +<Request xsi:type="RemoveAllowedAttachmentTypesRequest"> 
 +  <AttachmentType> 
 +    <namespace>urn:smd</namespace> 
 +    <value>http://ns.electronichealth.net.au/ack/sc/deliver/hl7Ack/2012</value> 
 +  </AttachmentType> 
 +If the operation is successful, it will simply return a success soap response.  
 +<code xml> 
 +<rs:RegistryResponse status="Success" /> 
 +If the operation failed, it should return a soap response similar to the one below.  
 +<code xml> 
 +<rs:RegistryResponse status="Failure"> 
 +  <rs:RegistryErrorList> 
 +    <rs:RegistryError codeContext="Attachment type is not currently allowed." errorCode="AttachmentTypeAllowedException" severity="Error"></rs:RegistryError> 
 +  </rs:RegistryErrorList> 
dev/refnet_remove_allowed_attachment_type.txt · Last modified: 2014/01/06 00:32 by glennz