POST api/Email/Send

Request Information

URI Parameters

None.

Body Parameters

PostEmail
NameDescriptionTypeAdditional information
userId

string

None.

userEmailIdentifier

string

None.

emailContent

string

None.

emailAddresses

string

None.

subject

string

None.

fromEmailAddress

string

None.

membershipId

string

None.

eventId

string

None.

cpdId

string

None.

invoiceId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userId": "sample string 1",
  "userEmailIdentifier": "sample string 2",
  "emailContent": "sample string 3",
  "emailAddresses": "sample string 4",
  "subject": "sample string 5",
  "fromEmailAddress": "sample string 6",
  "membershipId": "sample string 7",
  "eventId": "sample string 8",
  "cpdId": "sample string 9",
  "invoiceId": "sample string 10"
}

application/xml, text/xml

Sample:
<EmailController.PostEmail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bond.Core.API.Controllers">
  <cpdId>sample string 9</cpdId>
  <emailAddresses>sample string 4</emailAddresses>
  <emailContent>sample string 3</emailContent>
  <eventId>sample string 8</eventId>
  <fromEmailAddress>sample string 6</fromEmailAddress>
  <invoiceId>sample string 10</invoiceId>
  <membershipId>sample string 7</membershipId>
  <subject>sample string 5</subject>
  <userEmailIdentifier>sample string 2</userEmailIdentifier>
  <userId>sample string 1</userId>
</EmailController.PostEmail>

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 'PostEmail'.

Response Information

Resource Description

BaseResponseModel
NameDescriptionTypeAdditional information
Result

ResponseResult

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": {
    "Success": true,
    "Message": "sample string 2",
    "Errors": [
      {
        "Message": "sample string 1"
      },
      {
        "Message": "sample string 1"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<BaseResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bond.Core.API.Models.Response">
  <Result>
    <Errors>
      <ErrorMessage>
        <Message>sample string 1</Message>
      </ErrorMessage>
      <ErrorMessage>
        <Message>sample string 1</Message>
      </ErrorMessage>
    </Errors>
    <Message>sample string 2</Message>
    <Success>true</Success>
  </Result>
</BaseResponseModel>