POST api/Online/SendSMSMarketing

Request Information

URI Parameters

None.

Body Parameters

SMSMarketingModel
NameDescriptionTypeAdditional information
MerchantId

integer

None.

Message

string

None.

Customers

Collection of string

None.

IsCampaign

boolean

None.

IsFree

boolean

None.

ScheduleId

string

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<SMSMarketingModel 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 2</Message>
  <ScheduleId>sample string 4</ScheduleId>
</SMSMarketingModel>

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.