Получение информации о сообщении
Для получения информации о сообщении сделайте запрос по этому URL:
GET https://api.notificore.ru/rest/stat/file/id/{file_key}/format/{file_format}
Request parameters
Пример успешного ответа:
SMS messages only:
{
    "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"
        },
        {
            "similar data for another message_ID"
        }
    ]
}
One of the messages is HLR:
{
    "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
            }
        }
    ]
}


Данные такие же, как и для обычного отчета о 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
            }
        },
        {
            
            }
        }
    ]
}