HTTP API - Query Number of SMS Messages to Be Sent
Jump to navigation
Jump to search
GET https://gateway_ip/api/query_sms_in_queue
Request Parameters:
None
Response Parameters:
Parameter | Type | Description |
error_code | Integer | Codes that may be returned:
200:Request has been accepted and processed 500: Other errors |
sn | String | SN of the gateway |
in_queue | Integer | Number of SMS messages waiting to be sent |
Example of Querying Number of SMS Messages to Be Sent:
Request:
http://gateway_ip/api/query_incoming_sms
Response:
{"error_code":200,"sn":"xxxx-xxxx-xxxx-xxxx","in_queue":0}