POST Email/GetEmailAttachments

Verkrijg emailbijlagen van een emailmessage.

Request Information

URI Parameters

None.

Body Parameters

EmailAttachmentFilter
NameDescriptionTypeAdditional information
EmailMessageId

EmailMessageID

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "EmailMessageId": 1
}

application/xml, text/xml

Sample:
<EmailAttachmentFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.Filters">
  <EmailMessageId>1</EmailMessageId>
</EmailAttachmentFilter>

Response Information

Resource Description

Logic4ResponseListOfEmailAttachment
NameDescriptionTypeAdditional information
Records

Collection of EmailAttachment

None.

RecordsCounter

integer

None.

ValidationMessages

Eventuele foutmeldingen

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Records": [
    {
      "Id": 1,
      "EmailMessageId": 2,
      "Name": "sample string 3",
      "ContentId": "sample string 4",
      "IsEmbeddedContent": true
    },
    {
      "Id": 1,
      "EmailMessageId": 2,
      "Name": "sample string 3",
      "ContentId": "sample string 4",
      "IsEmbeddedContent": true
    }
  ],
  "RecordsCounter": 2,
  "ValidationMessages": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<Logic4ResponseListOfEmailAttachmentLnN1pw8Y xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.ResponseModels">
  <ValidationMessages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ValidationMessages>
  <Records xmlns:d2p1="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.Models">
    <d2p1:EmailAttachment>
      <d2p1:ContentId>sample string 4</d2p1:ContentId>
      <d2p1:EmailMessageId>2</d2p1:EmailMessageId>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsEmbeddedContent>true</d2p1:IsEmbeddedContent>
      <d2p1:Name>sample string 3</d2p1:Name>
    </d2p1:EmailAttachment>
    <d2p1:EmailAttachment>
      <d2p1:ContentId>sample string 4</d2p1:ContentId>
      <d2p1:EmailMessageId>2</d2p1:EmailMessageId>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsEmbeddedContent>true</d2p1:IsEmbeddedContent>
      <d2p1:Name>sample string 3</d2p1:Name>
    </d2p1:EmailAttachment>
  </Records>
</Logic4ResponseListOfEmailAttachmentLnN1pw8Y>