Webhook DATA CDR

Webhook CDR Integration Example

1. Login into Monogoto hub.

2. Go to Integrations section.

3. From available integrations list please press on Webhook option.

4. Next please press on the button +Setup Webhook.

5. You should see a window open for Webhook configurations.

6. Find your webhook url you wish to push the events to. In this example, we use webhook.site.

7. Go back into your Monogoto hub where you started the Webhook integration and paste your webhook address.

8. Press on the drop list button Select events to track and select Data CDRs. You can check descriptions of Events in Integrations section.

9. By default Billing updates, Production updates and Daily reports Events notifications are enabled, but if you want only to get Data CDRs, then please remove them from the list by pressing on x button near each unwanted notification.

10. If you want to can give this integration a description or you can leave the default description.

11. In order to save our integration, please press on button Setup Webhook

12. You should now see your configured Monogoto hub integration with your Webhook.

CDR Payload

Payload is the information contained in the CDR record, below you can see the information that the CDR may include. A common way to deliver CDR payloads is via the use of webhooks.

Field

Type

Description

CdrType

String

Type of service that was used: DATA - mobile data

UniqueID

String

Unique identification of the Call Detail Record record

Iccid

String

SIM integrated circuit card identification number

IMSI

String

International mobile subscriber identity

MSISDN

String

Mobile mumber

IMEI

String

The IMEI number of the device using data

MNO

String

Mobile network operator identification number

MnoName

String

Mobile network operator name

MCC

String

Mobile country code

MNC

String

Mobile network code used to identify the operator

ThingName

String

SIM name in the Monogoto portal

ThingId

String

SIM identification number

ThingsGroupId

String

SIM Thing group identification number

ThingsGroupName

String

SIM Thing group name

Timestamp

Number

ISO 8601 DateTime, shown in UTC time. It may be converted to readable date/time using 3rd party tools

Usage

Number

Mobile data usage in bytes

APN

String

Used device APN (Access Point Name). Mandatory setting in device for the mobile data to work properly

CDR Example

Data Usage CDR

[
  {
    "CdrType": "DATA",
    "UniqueID": "CDR-AYGGEWKNrXqt4AT20SP9",
    "Iccid": "8912372646888991",
    "IMSI": "123456789101112",
    "MSISDN": "+420412381231",
    "IMEI": "359110060403437",
    "MNO": "MNOId_c3273458-a996-44ac-a835-3a80fb8aeacf",
    "MnoName": "TELENET GROUP BVBA/SPRL",
    "MCC": "206",
    "MNC": "20",
    "ThingName": "ICCID 8912372646888991",
    "ThingId": "ThingId_ICCID_8912372646888991",
    "ThingsGroupId": "ThingsGroupId_acec2e16-6af3-4853-871f-9406b238504f",
    "ThingsGroupName": "Warehouse",
    "Timestamp": 1655811695222,
    "Usage": 7308,
    "APN": "data.mono"
  },
  {
    "CdrType": "DATA",
    "UniqueID": "CDR-AYGGEUU97hULQTWCmDzT",
    "Iccid": "8912372646888991",
    "IMSI": "123456789101112",
    "MSISDN": "+420412381232",
    "IMEI": "359110060403437",
    "MNO": "MNOId_c3273458-a996-44ac-a835-3a80fb8aeacf",
    "MnoName": "TELENET GROUP BVBA/SPRL",
    "MCC": "206",
    "MNC": "20",
    "ThingName": "ICCID 8912372646888991",
    "ThingId": "ThingId_ICCID_8912372646888991",
    "ThingsGroupId": "ThingsGroupId_acec2e16-6af3-4853-871f-9406b238504f",
    "ThingsGroupName": "Warehouse",
    "Timestamp": 1655811687717,
    "Usage": 7690,
    "APN": "data.mono"
  },
  {
    "CdrType": "DATA",
    "UniqueID": "CDR-AYGGEZiOrXqt4AT20SeB",
    "Iccid": "8912372646888991",
    "IMSI": "123456789101112",
    "MSISDN": "+420412381233",
    "IMEI": "359110060379868",
    "MNO": "MNOId_4a08c666-23de-4b9e-8114-a0a2f2ca3c74",
    "MnoName": "BOUYGUES TÉLÉCOM",
    "MCC": "208",
    "MNC": "20",
    "ThingName": "ICCID 8912372646888991",
    "ThingId": "ThingId_ICCID_8912372646888991",
    "ThingsGroupId": "ThingsGroupId_acec2e16-6af3-4853-871f-9406b238504f",
    "ThingsGroupName": "Warehouse",
    "Timestamp": 1655811709046,
    "Usage": 7948,
    "APN": "data.mono"
  },
  {
    "CdrType": "DATA",
    "UniqueID": "CDR-AYGGEUvhrXqt4AT20SL6",
    "Iccid": "8912372646888991",
    "IMSI": "123456789101112",
    "MSISDN": "+420412381234",
    "IMEI": "359110060388349",
    "MNO": "MNOId_054a1aef-26b2-4344-b194-519db9433701",
    "MnoName": "VODAFONE LIBERTEL B.V.",
    "MCC": "204",
    "MNC": "04",
    "ThingName": "ICCID 8912372646888991",
    "ThingId": "ThingId_ICCID_8912372646888991",
    "ThingsGroupId": "ThingsGroupId_acec2e16-6af3-4853-871f-9406b238504f",
    "ThingsGroupName": "Warehouse",
    "Timestamp": 1655811689418,
    "Usage": 6026,
    "APN": "data.mono"
  }
]

Last updated