POST api/List/{listId}/Item/{id}/Email/Attachment/{attachmentIndex}
Gets an attachment from the email file, for the specified item id, on the given listId.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
listId |
The id of the list. |
string |
Required |
id |
The id of the list item. |
integer |
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 file object.
VestConsult.SharePoint.WorkPoint.API.Model.FileName | 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": "b9bebf5a-501a-43ee-b583-2e7f7cc40be1", "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>b9bebf5a-501a-43ee-b583-2e7f7cc40be1</UniqueId> </File>