HTTP API - Query MMS Sending Status
Jump to navigation
Jump to search
GET http://gateway_ip/api/get_mms_sending_status
Request Parameters:
Parameter | Type | Description |
Required Parameter | ||
mms_id | Integer |
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/get_mms_sending_status?mms_id=1
Response:
{"error_code":200,"sn":"xxxx-xxxx-xxxx-xxxx","mms_id":1}