Get MMS Send Receipt
Invoke the GetMMSSendReceipt API to obtain MMS sending status information.
Request Parameters
Parameter name | Type | Description | Required |
---|---|---|---|
Action | string | Value: GetMMSSendReceipt. | Yes |
AccountId | int | Project ID, Get AccountId. | Yes |
SessionNoSet | []string | Collection of SessionNo returned when sending MMS. Limited to 100 items in a single call. | Yes |
- After submitting and sending MMS, you can call the GetMMSSendReceipt API to query and retrieve the status information of the MMS sent.
- If you do not receive the status receipt immediately after sending, it is recommended to try calling again 5 to 10 minutes after sending.
- If more than 12 hours have passed without receiving the sending status, you can contact support@uspeedo.com for technical support.
Response Elements
Parameter name | Type | Description | Required |
---|---|---|---|
RetCode | int | When RetCode is not 0, the specific error description is displayed in Message. If RetCode is 0, Message will not be returned. | Yes |
Action | string | Operation name. | Yes |
Message | string | When RetCode is not 0, the specific error description is displayed in Message. | Yes |
Data | []ReceiptPerSession | Collection of status information. See ReceiptPerSession for detailed field descriptions. | Yes |
ReceiptPerSession
Parameter name | Type | Description | Required |
---|---|---|---|
SessionNo | string | SessionNo returned when sending MMS. | Yes |
ReceiptSet | []ReceiptPerPhone | Collection of status information for phone numbers. See ReceiptPerPhone for detailed field descriptions. | Yes |
ReceiptPerPhone
Parameter name | Type | Description | Required |
---|---|---|---|
Phone | string | Phone number. | Yes |
ReceiptResult | string | Sending status result. Enumeration values: Success-Successful; Fail-Failure; Unknow-Unknown; SubmitFail-Submission failure. | Yes |
ReceiptCode | string | Sending status code. | Yes |
ReceiptDesc | string | Sending status description. | Yes |
ReceiptTime | string | Time of the sending status report. | Yes |
Request Example
curl --request POST 'https://api.uspeedo.com/api' \
--header 'Content-Type: application/json' \
-d '{
"Action": "GetMMSSendReceipt",
"AccountId": 1,
"SessionNoSet": ["session no"]
}'
Response Example
{
"Action": "GetMMSSendReceiptResponse",
"Data": [
{
"ReceiptSet": [
{
"Phone": "(1)1111111",
"ReceiptCode": "receipt code",
"ReceiptDesc": "receipt desc",
"ReceiptResult": "Success",
"ReceiptTime": 1672502400
}
],
"SessionNo": "session no"
}
],
"Message": "",
"RetCode": 0
}