POST api/van-hanh/sms-brand/send-sms

Request Information

URI Parameters

None.

Body Parameters

SmsRequest
NameDescriptionTypeAdditional information
ServiceNum

string

None.

BrandName

string

None.

MOId

integer

None.

Syntax

integer

None.

Phone

string

None.

Message

string

None.

Campaign

string

None.

Syntaxs

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ServiceNum": "sample string 1",
  "BrandName": "sample string 2",
  "MOId": 3,
  "Syntax": 4,
  "Phone": "sample string 5",
  "Message": "sample string 6",
  "Campaign": "sample string 7",
  "Syntaxs": "sample string 8"
}

application/xml, text/xml

Sample:
<SmsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pfcSmsBrandFPT.Models">
  <BrandName>sample string 2</BrandName>
  <Campaign>sample string 7</Campaign>
  <MOId>3</MOId>
  <Message>sample string 6</Message>
  <Phone>sample string 5</Phone>
  <ServiceNum>sample string 1</ServiceNum>
  <Syntax>4</Syntax>
  <Syntaxs>sample string 8</Syntaxs>
</SmsRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResponseModel
NameDescriptionTypeAdditional information
StatusCode

HttpStatusCode

None.

StatusMessage

string

None.

ResponseResult

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusCode": 100,
  "StatusMessage": "sample string 1",
  "ResponseResult": {}
}

application/xml, text/xml

Sample:
<ApiResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pcfCommon.Models">
  <ResponseResult />
  <StatusCode>Continue</StatusCode>
  <StatusMessage>sample string 1</StatusMessage>
</ApiResponseModel>