Skip to main content

GetMessageSummary

Request Parameters

  • span up to 30 days, default last 7 days
Parameter nameTypeDescriptionRequired
AccountIdIntAccount Id.Yes
StartTimeIntSearch start time.No
EndTimeIntSearch end time.No

Request Example

{
"Action":"GetMessageSummary",
"AccountId": 55
}

Response Parameters

NameTypeDescription
ActionstringGetMessageSummaryResponse.
RetCodeint0 for success. Error Codes
MessagestringMessage.
RequestIdstringRequest Id.
DataobjectReturn data.

Data Parameters

NameTypeDescription
List[]IListSummary Data List.
MsgNumintMessage total count.
MsgAmountintMessage cost amount.

Response Elements IList

Parameter nameTypeDescription
BusinessPhoneStringBusiness phone number.
CountryStringCountry code.
ConvNumIntConversion count.
ConvAmountIntConversion amount.

Response Example

{
"Action": "GetMessageSummaryResponse",
"Data": {
"MsgAmount": 6,
"MsgNum": 1,
"List": [
{
"BusinessPhone": "8613xxxxx8072",
"Country": "GB",
"ConvAmount": 1
}
]
},
"Message": "",
"RequestId": "8ea6c8f2-e23f-4816-9a48-243a40d66bfb",
"RetCode": 0
}