{
"error": 0,
[
{
"message_ID": 1529112192,
"message_type": "sms",
"msisdn": 792505142320,
"Country_name": "Russia",
"brand_name": "Megafon",
"mcc": "255",
"mnc": "01",
"originator": "testsms",
"price": "0.0000000 EUR",
"Incoming date": "2020-10-22 17: 28: 45",
"Sending date": "2020-10-22 17: 28: 45",
"DLR Date": "2020-10-22 17: 28: 45",
"Status": "Delivered",
"body": "testing message"
},
{
"message_ID": 1529112192,
"message_type": "hlr",
"msisdn": 792505142320,
"Country_name": "Russia",
"brand_name": "Megafon",
"mcc": "255",
"mnc": "01",
"originator": "HLR",
"price": "0.0000000 EUR",
"Incoming date": "2020-10-22 17: 28: 45",
"Sending date": "2020-10-22 17: 28: 45",
"DLR Date": "2020-10-22 17: 28: 45",
"Status": "Delivered",
"body": {
"Country_name": "Russia",
"Brand": "Megafon",
"Operator": "Megafon",
"MCC": 255,
"MNC": 03,
"Status": "Active",
"IMSI": 255039900000000,
"Ported": 1,
"Roaming": 0
}
}
]
}
В случае типа сообщения Viber, ответ может включать альтернативные данные для SMS.
Данные такие же, как и для обычного отчета о SMS.
{
"error": 0,
"message_data": [
{
"message_ID": 1529112192,
"message_type": "sms",
"msisdn": 792505142320,
"Country_name": "Russia",
"brand_name": "Megafon",
"mcc": "255",
"mnc": "01",
"originator": "testsms",
"price": "0.0000000 EUR",
"Incoming date": "2020-10-22 17:28:45",
"Sending date": "2020-10-22 17:28:45",
"DLR Date": "2020-10-22 17:28:45",
"Status": "Delivered",
"body": "testing message"
},
{
"message_ID": 1529112193,
"message_type": "hlr",
"msisdn": 792505142320,
"Country_name": "Russia",
"brand_name": "Megafon",
"mcc": "255",
"mnc": "01",
"originator": "HLR",
"price": "0.0000000 EUR",
"Incoming date": "2020-10-22 17:28:45",
"Sending date": "2020-10-22 17:28:45",
"DLR Date": "2020-10-22 17:28:45",
"Status": "Delivered",
"body": {
"Country_name": "Russia",
"Brand": "Megafon",
"Operator": "Megafon",
"MCC": "255",
"MNC": "03",
"Status": "Active",
"IMSI": 255039900000000,
"Ported": 1,
"Roaming": 0
}
},
{
"message_ID": 1529112194,
"message_type": "viber",
"msisdn": 792505142320,
"Country_name": "Russia",
"brand_name": "Megafon",
"mcc": "255",
"mnc": "01",
"originator": "testsms",
"price": "0.0000000 EUR",
"Incoming date": "2020-10-22 17:28:45",
"Sending date": "2020-10-22 17:28:45",
"DLR Date": "2020-10-22 17:28:45",
"Status": "not-viber-user",
"body": "testing message",
"img": "https://site.com/image.png",
"Caption": "BUY!",
"Action": "https://site.com/buy.html",
"alternativeSMS": {
"message_ID": 1529112195,
"message_type": "sms",
"msisdn": 792505142320,
"Country_name": "Russia",
"brand_name": "Megafon",
"mcc": "255",
"mnc": "01",
"originator": "testsms",
"price": "0.0000000 EUR",
"Incoming date": "2020-10-22 17:28:45",
"Sending date": "2020-10-22 17:28:45",
"DLR Date": "2020-10-22 17:28:45",
"Status": "Delivered",
"body": "testing message for Viber undeliv"
}
}
]
}