HTTP API - Query MMS Sending Status: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: 2017 source edit |
No edit summary |
||
| Line 1: | Line 1: | ||
'''GET <nowiki>http://gateway_ip/api/query_mms_sending_status</nowiki>''' | '''GET <nowiki>http://gateway_ip/api/query_mms_sending_status</nowiki>''' | ||
'''Request Parameters''' | '''Request Parameters:''' | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 51: | Line 51: | ||
'''Response:''' | '''Response:''' | ||
{"error_code":200,"sn":"xxxx-xxxx-xxxx-xxxx","mms_id":1} | {"error_code":200,"sn":"xxxx-xxxx-xxxx-xxxx","mms_id":1} | ||
Revision as of 07:44, 8 May 2024
GET http://gateway_ip/api/query_mms_sending_status
Request Parameters:
| Parameter | Type | Description |
| Required Parameter | ||
| mms_id | Interger | |
Response Parameters:
| Parameter | Type | Description |
| error_code | Integer | Codes that may be returned:
200: MMS has been sent. 202: Request has been accepted and will be processed later; 400: Request format is not valid 404: mms_id is not found 500: other errors 503: sent failed |
| sn | String | SN of the gateway |
| mms_id | Integer | MMS ID |
Example:
Request:
curl -k --anyauth -u admin:admin https://gateway_ip/api/query_mms_sending_status?mms_id=1
Response:
{"error_code":200,"sn":"xxxx-xxxx-xxxx-xxxx","mms_id":1}