Purchase OA package
This endpoint is used for purchase the OA package.
HTTP request
POST
https://rest.esms.vn/MainService.svc/json/RegisOAPackageJson/
Content Type: application/json
Response Type: application/json
Request body:
ApiKey
string
Your API Key.
SecretKey
string
Your Secret Key.
Dateactive
string
The active date of OA. Format: yyyy-MM-dd
Duaration
string
The duration of OA package
OAID
string
Zalo OA Id is the Zalo Official Account Id of the organization. It can be obtained by accessing to the Zalo administrator page.
Note: Pre-registration is required.
Package
string
List of OA packages. - 1: Trial - 2: Advanced - 3: Premium
Response:
Valid request.
Response body:
CodeResult
string
Response code.
ErrorMessage
string
The message error in case of invalid request.
ServicepreviewId
string
eSMS registration ID of OA.
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