POST api/EMM/Email/{conversationID}/Attachment/{attachmentIndex}
Gets the attachment as a file for specified attachmentindex on the email with the given conversationID
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| conversationID |
The coversation id of the email |
string |
Required |
| attachmentIndex |
The index of the attachment in the list of attachments on the email |
string |
Required |
Body Parameters
An optional parameter. The index of the parent attachment in the list of attachments on the email
stringRequest Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>
Response Information
Resource Description
Returns the attachment as a file object
VestConsult.SharePoint.WorkPoint.API.Model.File| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| UniqueId | globally unique identifier |
None. |
|
| FileBytes | string |
None. |
|
| FileName | string |
None. |
|
| Length | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"UniqueId": "08f0781f-7fac-4452-97ed-ce954f3cefe7",
"FileBytes": "sample string 3",
"FileName": "sample string 4",
"Length": 5
}
application/xml, text/xml
Sample:
<File xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.workpoint.dk/API"> <FileBytes>sample string 3</FileBytes> <FileName>sample string 4</FileName> <Id>1</Id> <Length>5</Length> <UniqueId>08f0781f-7fac-4452-97ed-ce954f3cefe7</UniqueId> </File>