Summary your advertising submit
This endpoint is ideal for getting the overview of your advertising submit.
The response will include the total cost of the submit as well as showing the invalid parameters that will help you re-compose the submit before sending to ViHAT.
HTTP request
POST
https://rest.esms.vn/MainService.svc/json/SummaryMultipleSMSBrandname/
Content Type: text/plain
Response Type: application/json
Request body:
APIKEY
string
Your API Key.
SECRETKEY
string
Your Secret Key.
CONTENT
string
The content of message.
SMSTYPE
string
Message type: 1: Advertising.
BRANDNAME
string
Advertising brandname.
PHONE
string
The phone number.
Response:
Valid request.
Response body:
CodeResult
string
Response code.
ErrorMessage
string
The error message if the request is invalid.
TotalPrice
string
The cost of submit.
TotalReceiver
string
Total valid receivers in submit.
The detail of error code can refer at Table of error codes .
Get the sample of code for programing languagues to use in Postman refer at Link of code samples.
Last updated