Get message status

Request:

curl --location 'https://sms.etelecom.vn/api/OmniReport/GetStatusOmni' \
--data '{
    "username": "string",
    "password": "string",
    "idOmniMess":"ICOMNI-XXXXXXXXXXXXXXXXXXXXXXX"
}'

Request body structure:

Parameters
Data type
Describe

username

string

Account provided by eTelecom

password

string

Password provided by eTelecom

idOmniMess

string

Message ID received when creating SMS request

The returned response structure:

Status
Response
Describe

200

{ "phonenumber":"84836106872", "list_param":"{"otp":"123456"}", "createdatetime":"21/05/2021 14:43:22", "status":"FAIL", "channel":"XXXX", "templatecode":"XXXX" , "errorCode":"XXXX" }

Status includes the following types: - FAIL: failed - SUCCESS : successful - PROCESSING : processing errorCode: depending on the sending channel, there will be different error code tables, detailed at https://docs.google.com/spreadsheets/d/10hfSIx-fFJ6zGzlSdZGKqW5g7VEyzK2iNzjBkTwtZCg For separate channels, there will be additional necessary information fields: -SMS: mtcount (number of paid messages), telcoid (network id) -ZNS: -Autocall: duration (call duration)

401

Can't access from this IP

User's IP is not in the system whitelist

401

Unauthorized

Incorrect username and password.

Last updated