POST api/Manifest/Receive

Request Information

URI Parameters

None.

Body Parameters

PostmarkInboundMessage
NameDescriptionTypeAdditional information
From

string

None.

FromFull

FromFull

None.

FromName

string

None.

To

string

None.

ToFull

Collection of ToFull

None.

Cc

string

None.

CcFull

Collection of CcFull

None.

Bcc

string

None.

BccFull

Collection of BccFull

None.

ReplyTo

string

None.

Subject

string

None.

MessageID

string

None.

OriginalRecipient

string

None.

Date

string

None.

MailboxHash

string

None.

TextBody

string

None.

HtmlBody

string

None.

Tag

string

None.

StrippedTextReply

string

None.

Headers

Collection of Header

None.

Attachments

Collection of Attachment

None.

Request Formats

application/json, text/json

Sample:
{
  "From": "sample string 1",
  "FromFull": {
    "Email": "sample string 1",
    "Name": "sample string 2",
    "MailboxHash": "sample string 3"
  },
  "FromName": "sample string 2",
  "To": "sample string 3",
  "ToFull": [
    {
      "Email": "sample string 1",
      "Name": "sample string 2",
      "MailboxHash": "sample string 3"
    },
    {
      "Email": "sample string 1",
      "Name": "sample string 2",
      "MailboxHash": "sample string 3"
    }
  ],
  "Cc": "sample string 4",
  "CcFull": [
    {
      "Email": "sample string 1",
      "Name": "sample string 2",
      "MailboxHash": "sample string 3"
    },
    {
      "Email": "sample string 1",
      "Name": "sample string 2",
      "MailboxHash": "sample string 3"
    }
  ],
  "Bcc": "sample string 5",
  "BccFull": [
    {
      "Email": "sample string 1",
      "Name": "sample string 2",
      "MailboxHash": "sample string 3"
    },
    {
      "Email": "sample string 1",
      "Name": "sample string 2",
      "MailboxHash": "sample string 3"
    }
  ],
  "ReplyTo": "sample string 6",
  "Subject": "sample string 7",
  "MessageID": "sample string 8",
  "OriginalRecipient": "sample string 9",
  "Date": "sample string 10",
  "MailboxHash": "sample string 11",
  "TextBody": "sample string 12",
  "HtmlBody": "sample string 13",
  "Tag": "sample string 14",
  "StrippedTextReply": "sample string 15",
  "Headers": [
    {
      "Name": "sample string 1",
      "Value": "sample string 2"
    },
    {
      "Name": "sample string 1",
      "Value": "sample string 2"
    }
  ],
  "Attachments": [
    {
      "Name": "sample string 1",
      "Content": "sample string 2",
      "ContentType": "sample string 3",
      "ContentLength": "sample string 4",
      "ContentID": "sample string 5"
    },
    {
      "Name": "sample string 1",
      "Content": "sample string 2",
      "ContentType": "sample string 3",
      "ContentLength": "sample string 4",
      "ContentID": "sample string 5"
    }
  ]
}

application/xml, text/xml

Sample:
<PostmarkInboundMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PostmarkDotNet">
  <Attachments>
    <Attachment>
      <Content>sample string 2</Content>
      <ContentID>sample string 5</ContentID>
      <ContentLength>sample string 4</ContentLength>
      <ContentType>sample string 3</ContentType>
      <Name>sample string 1</Name>
    </Attachment>
    <Attachment>
      <Content>sample string 2</Content>
      <ContentID>sample string 5</ContentID>
      <ContentLength>sample string 4</ContentLength>
      <ContentType>sample string 3</ContentType>
      <Name>sample string 1</Name>
    </Attachment>
  </Attachments>
  <Bcc>sample string 5</Bcc>
  <BccFull>
    <BccFull>
      <Email>sample string 1</Email>
      <MailboxHash>sample string 3</MailboxHash>
      <Name>sample string 2</Name>
    </BccFull>
    <BccFull>
      <Email>sample string 1</Email>
      <MailboxHash>sample string 3</MailboxHash>
      <Name>sample string 2</Name>
    </BccFull>
  </BccFull>
  <Cc>sample string 4</Cc>
  <CcFull>
    <CcFull>
      <Email>sample string 1</Email>
      <MailboxHash>sample string 3</MailboxHash>
      <Name>sample string 2</Name>
    </CcFull>
    <CcFull>
      <Email>sample string 1</Email>
      <MailboxHash>sample string 3</MailboxHash>
      <Name>sample string 2</Name>
    </CcFull>
  </CcFull>
  <Date>sample string 10</Date>
  <From>sample string 1</From>
  <FromFull>
    <Email>sample string 1</Email>
    <MailboxHash>sample string 3</MailboxHash>
    <Name>sample string 2</Name>
  </FromFull>
  <FromName>sample string 2</FromName>
  <Headers>
    <Header>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </Header>
    <Header>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </Header>
  </Headers>
  <HtmlBody>sample string 13</HtmlBody>
  <MailboxHash>sample string 11</MailboxHash>
  <MessageID>sample string 8</MessageID>
  <OriginalRecipient>sample string 9</OriginalRecipient>
  <ReplyTo>sample string 6</ReplyTo>
  <StrippedTextReply>sample string 15</StrippedTextReply>
  <Subject>sample string 7</Subject>
  <Tag>sample string 14</Tag>
  <TextBody>sample string 12</TextBody>
  <To>sample string 3</To>
  <ToFull>
    <ToFull>
      <Email>sample string 1</Email>
      <MailboxHash>sample string 3</MailboxHash>
      <Name>sample string 2</Name>
    </ToFull>
    <ToFull>
      <Email>sample string 1</Email>
      <MailboxHash>sample string 3</MailboxHash>
      <Name>sample string 2</Name>
    </ToFull>
  </ToFull>
</PostmarkInboundMessage>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PostmarkInboundMessage'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.