eTelecom docs
English
English
  • INSTRUCTIONS FOR USE
    • Administration page for cs.etelecom
    • Google Chrome Extension
    • App eTelecom
  • API INTEGRATION
    • Shop
      • Account
      • Usage
    • Partner
      • Account
      • Usage
    • VPBX
      • VoIP SDK
        • Android
        • iOS
        • Web
        • Flutter
      • PBX REST APIs
        • Partner Get Tenant List
        • Partner Add Hotline
        • Partner Get Hotline List
        • Partner Activate Tenant
        • Partner Add Hotline To Tenant
        • Partner Removed Hotline From Tenant
        • Partner Remove Hotline
        • Create Tenant
        • Get Tenant information
        • Get Driver Config
        • Get hotline list
        • Create Account User
        • Get List User
        • Create extension
        • Get extension information
        • Get extension list
        • Assign extension to user
        • Change hotline for extension
        • Remove User Of Extension
        • Get call history
    • Zalo Cloud
      • Instructions for connecting Zalo Cloud
      • Zalo Cloud API
        • Create OA authorization link
        • Connect OA
        • Get refresh token
        • Get OA list
        • Get OA information
        • Update Webhook for OA
        • Get list of users
        • Send Text Consulting
        • Send Consulting message according to user information request form
        • Send advice message with sticker
        • Send message Consulting with attached photo
        • Send message Consulting attached file
        • Send transaction message
        • Upload file
        • Send request for calling permission
        • Check if the customer has granted calling permission
        • Get list of requests for calling permission
        • Create a news template
        • Get sample details
        • Get list of news samples
        • Journey Token Creation
        • Get Journey Token Details
        • Get Journey Token List
        • Get message list
        • Get message details
        • Send ZNS
        • Send ZNS with Journey Token
  • SMS BRANDNAME
    • User manual
    • SMS API
      • Send SMS
      • Get message status
      • Get sample details
Powered by GitBook
On this page
  1. SMS BRANDNAME
  2. SMS API

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.

PreviousSend SMSNextGet sample details

Last updated 5 months ago