3.1.4.2.2.2 GetAttachmentsResponse
The definition of the GetAttachmentsResponse element is as follows.
-
<s:element name="GetAttachmentsResponse"> <s:complexType> <s:sequence> <s:element minOccurs="1" maxOccurs="1" name="GetAttachmentsResult" type="s:unsignedInt" /> <s:element minOccurs="0" maxOccurs="1" name="vAttachments" type="tns:ArrayOfString" /> </s:sequence> </s:complexType> </s:element>
GetAttachmentsResult: Specifies the status of the operation. On successful completion of the operation, the protocol server MUST set it to zero.
vAttachments: Specifies an array of URLs of all the attachments belonging to a list item. It is of type ArrayOfString, as defined in section 2.2.4.6. Each string in the array contains an absolute URL of an attachment.
If the protocol server encounters an error during this operation, a SOAP fault MUST be returned which SHOULD contain one of the error messages described in the following table.
Error code |
Error string |
Error condition |
---|---|---|
None |
GUID SHOULD contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).<20> |
Specified strListName is ill-formatted. |
None |
Input string was not in a correct format. |
Specified strItemId is empty or contains illegal values. |
None |
Value cannot be null. |
Specified strListName element is not present. |
None |
Value does not fall within the expected range.<21> |
The specified list item does not exist. |
None |
The system cannot find the file specified. (Exception from HRESULT: 0x80070002).<22> |
The specified list does not exist. |