POST api/Online/SendEmailMessage

Request Information

URI Parameters

None.

Body Parameters

EmailMarketingModel
NameDescriptionTypeAdditional information
MerchantId

integer

None.

Subject

string

None.

Message

string

None.

Customers

Collection of string

None.

IsCampaign

boolean

None.

IsFree

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "MerchantId": 1,
  "Subject": "sample string 2",
  "Message": "sample string 3",
  "Customers": [
    "sample string 1",
    "sample string 2"
  ],
  "IsCampaign": true,
  "IsFree": true
}

application/xml, text/xml

Sample:
<EmailMarketingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LP.WebAPI.Models">
  <Customers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Customers>
  <IsCampaign>true</IsCampaign>
  <IsFree>true</IsFree>
  <MerchantId>1</MerchantId>
  <Message>sample string 3</Message>
  <Subject>sample string 2</Subject>
</EmailMarketingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.