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

NameDescriptionTypeAdditional 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

string

Request 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
NameDescriptionTypeAdditional 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": "59b4a1ac-f6dd-4f73-b7ca-97210e49e40c",
  "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>59b4a1ac-f6dd-4f73-b7ca-97210e49e40c</UniqueId>
</File>