POST api/ResponsysAllowEmailSend

API method to send HTML email.

Request Information

URI Parameters

None.

Body Parameters

ResponsysAllowEmailSendModel

NameDescriptionTypeAdditional Information
FolderName

string

None.

CampaignListName

string

None.

EmailAddress

string

None.

SiteCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "FolderName": "sample string 1",
  "CampaignListName": "sample string 2",
  "EmailAddress": "sample string 3",
  "SiteCode": "sample string 4"
}

application/xml, text/xml

Sample:
<ResponsysAllowEmailSendModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DECK.Core.Domain.Models.API">
  <CampaignListName>sample string 2</CampaignListName>
  <EmailAddress>sample string 3</EmailAddress>
  <FolderName>sample string 1</FolderName>
  <SiteCode>sample string 4</SiteCode>
</ResponsysAllowEmailSendModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

true/false string in GenericResponse.Message

GenericResponse

NameDescriptionTypeAdditional Information
ResponseCode

APIResponseCodes

None.

Message

string

None.

CorrelationId

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": 0,
  "Message": "sample string 1",
  "CorrelationId": "sample string 2"
}

application/xml, text/xml

Sample:
<GenericResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DECK.Core.Common.Contracts.API">
  <CorrelationId>sample string 2</CorrelationId>
  <Message>sample string 1</Message>
  <ResponseCode>Success</ResponseCode>
</GenericResponse>