GET api/List/{listId}/Item/{id}/Email

Gets the file as an email, for the specified item id, on the given listId.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
listId

The id of the list.

string

Required

id

The id of the list item.

integer

Required

Body Parameters

None.

Response Information

Resource Description

Returns the file of the list item as an email object.

VestConsult.SharePoint.WorkPoint.API.Model.Email
NameDescriptionTypeAdditional information
ConversationID

string

None.

To

Collection of string

None.

From

string

None.

Cc

Collection of string

None.

Subject

string

None.

Date

date

None.

Body

string

None.

ParentAttachmentIndex

string

None.

Attachments

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "ConversationID": "sample string 1",
  "To": [
    "sample string 1",
    "sample string 2"
  ],
  "From": "sample string 2",
  "Cc": [
    "sample string 1",
    "sample string 2"
  ],
  "Subject": "sample string 3",
  "Date": "2024-12-27T19:36:02.7305776+00:00",
  "Body": "sample string 5",
  "ParentAttachmentIndex": "sample string 6",
  "Attachments": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<Email xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.workpoint.dk/API">
  <Attachments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Attachments>
  <Body>sample string 5</Body>
  <Cc xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Cc>
  <ConversationID>sample string 1</ConversationID>
  <Date>2024-12-27T19:36:02.7305776+00:00</Date>
  <From>sample string 2</From>
  <ParentAttachmentIndex>sample string 6</ParentAttachmentIndex>
  <Subject>sample string 3</Subject>
  <To xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </To>
</Email>