Returns the selected file attachment. It does not read embedded GroupWise items such as mail messages or appointments.
<getAttachmentRequest> <id type="types:uid"/> <offset type="int"/> <length type="int"/> <flags type="types:AttachmentFlags"/> </getAttachmentRequest>
<getAttachmentResponse> <part type="types:MessagePart"/> <status type="types:Status"/> </getAttachmentResponse>
Specifies the ID of the attachment to read.
Specifies the starting position for reading the attachment.
Specifies the number of bytes to read from the offset.
Specifies the attachment.
Returns the error number related to the event. 0 indicates that the request was successful.
Returns the success or failure of the method.
Specifies the attachment flags.
To retrieve the entire file in one read, specify an offset of 0 with a length of -1. If you have a large file, you can read the attachment in chunks by using the offset element to position the attachment reader and specifying the length of the chunk’s size.
<getAttachmentRequest> <id>45003893.domain1.po1.200.20000CB.1.1530.1@45:45003893. domain1.po1.100.16E3837.1.FBA.1@1:7. domain1.po1.100.0.1.0.1@16</id> <offset>0</offset> <length>-1</length> </getAttachmentRequest> <getAttachmentResponse> <part length="164"offset="122"> MS4gIFNhdmUgT09PIGFzIHRleHQgZmlsZXMgbmV4dCB0aW1lLg0KMi4gIEl uY2x1ZGUgdGhlIEJlZXAgY2xpZW50DQozLiAgRGlzY3VzcyB2ZXJzaW9uaW5 nLg0KNC4gIE5ldEJlYW5zIDUuMCBCZXRhIDINCjUuICA=</part> <status> <code>0</code> </status> </getAttachmentResponse>