POST api/Values/SendZNSZaloCloud

Request Information

URI Parameters

None.

Body Parameters

ZALO_CLOUD
NameDescriptionTypeAdditional information
client_id

string

None.

from

string

None.

to

string

None.

text

string

None.

client_req_id

string

None.

dlr

integer

None.

smsid

string

None.

unicode

integer

None.

brand_name

string

None.

template_id

string

None.

isSendSMSIfZNSFail

boolean

None.

template_data

TEMPLATE_DATA

None.

Request Formats

application/json, text/json

Sample:
{
  "client_id": "sample string 1",
  "from": "sample string 2",
  "to": "sample string 3",
  "text": "sample string 4",
  "client_req_id": "sample string 5",
  "dlr": 1,
  "smsid": "sample string 6",
  "unicode": 1,
  "brand_name": "sample string 7",
  "template_id": "sample string 8",
  "isSendSMSIfZNSFail": true,
  "template_data": {
    "customer_name": "sample string 1",
    "service_name": "sample string 2",
    "customer_id": "sample string 3",
    "service_time_expired": "sample string 4",
    "club_address": "sample string 5",
    "package_id": "sample string 6",
    "store_id": "sample string 7",
    "type": "sample string 8"
  }
}

application/xml, text/xml

Sample:
<ZALO_CLOUD xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <client_id>sample string 1</client_id>
  <from>sample string 2</from>
  <to>sample string 3</to>
  <text>sample string 4</text>
  <client_req_id>sample string 5</client_req_id>
  <dlr>1</dlr>
  <smsid>sample string 6</smsid>
  <unicode>1</unicode>
  <brand_name>sample string 7</brand_name>
  <template_id>sample string 8</template_id>
  <isSendSMSIfZNSFail>true</isSendSMSIfZNSFail>
  <template_data>
    <customer_name>sample string 1</customer_name>
    <service_name>sample string 2</service_name>
    <customer_id>sample string 3</customer_id>
    <service_time_expired>sample string 4</service_time_expired>
    <club_address>sample string 5</club_address>
    <package_id>sample string 6</package_id>
    <store_id>sample string 7</store_id>
    <type>sample string 8</type>
  </template_data>
</ZALO_CLOUD>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.