Receiving Radius Accounting push messages
Eseye sends customer-specific Radius Accounting data as raw push messages to subscribed customers. Each record appears in the format described below.
Raw push message/json
Schema
Object name | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
acctStartDateTime | DateTime |
Date and time the session started. UTC format: YYYY-MM-DDThh:mm:ss.ssssss, where T is the time separator. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
acctStopCause | string |
The reason the session terminated:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
acctStopDateTime | DateTime |
Date and time the session ended. "" indicates the session is ongoing and has not ended. UTC format: YYYY-MM-DDThh:mm:ss.ssssss, where T is the time separator. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
acctType | string |
There are three accounting types, indicating the session state on the network: AccountingStart – when the session starts with an authentication request. AccountingInterim – when the network operator sends updates, such as session length, number of bytes and so on. The first interim request is usually sent 30 minutes after a start request. You may observe multiple AccountingInterim accounting types, or none at all, depending on the session length. AccountingStop – when the device disconnects from the network. You can subscribe to one or more accounting types. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
apn | string | The Access Point Name the device used to access the IP network. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
bytes | string | The total amount of data sent and received by the device during the reported session, in bytes. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
eventDateTime | DateTime |
Date and time the data capture started. UTC format: YYYY-MM-DDThh:mm:ss.ssssss, where T is the time separator. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
expiryDateTime | DateTime |
The timeout value configured for the Radius Accounting cache by the network. UTC format: YYYY-MM-DDThh:mm:ss.ssssss, where T is the time separator. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
iccId | string | The unique Integrated Circuit Card Identifier of the specific SIM used by the device. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
imsi | string |
The unique International Mobile Subscriber Identity number that identifies a cellular network subscriber. The network operator that provided the IMSI uses it to authenticate a SIM (and the IoT device containing the SIM) on the network. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
inputOctets | string | The total amount of data received in sets of eight bits by the device during the reported session. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ip | string | The assigned IP address. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
mccmnc | string |
The MCC and MNC, concatenated: Mobile Country Code – identifies the country of the cellular tower to which the SIM last connected, in three-digit numeric format. For more information, see Mobile country codes. Mobile Network Code – identifies the network operator of the network to which the SIM last subscribed, in two-digit numeric format. For more information, see: Mobile network codes listed by country. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
messageSequenceNumber | string | A network-generated unique reference for the payload. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
mnoId | string | The Mobile Network Operator Identifier. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
msisdn | string | The unique primary SIM phone number (Mobile Station International ISDN Number). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
notificationClass | string |
The data class, to differentiate between the types of data pushed by the Push API. These are netflow, radiusauth and radiusacct. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
outputOctets | string | The total amount of data sent in sets of eight bits by the device during the reported session. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
payload | array | The array, listing the network data for an individual device. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
portfolioId | string | The SIAM account portfolio identifier. Contains exactly 32 characters. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
simId | string | The SIM's unique serial number. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
userName | string | The login user who started the session. |
Example
{
"payload": {
"iccId": "8944538523001234567",
"simId": "5170000201264588",
"imsi": 234588558496446,
"msisdn": 111111111111,
"mnoid": "350",
"mccmnc": "23415",
"apn": "eseye.com",
"userName": "user@eseye.com ",
"acctStartDateTime": "2021-03-02T12:48:46.050316",
"acctStopDateTime": "",
"ip": "10.34.38.238",
"acctType": "AccountingInterim",
"acctStopCause": "",
"bytes": 1319137,
"inputOctets": 804669,
"outputOctets": 514468
},
"portfolioId": "000459cb1f57e1be0099c533687e68cc",
"notificationClass": "radiusacct",
"eventDateTime": "2021-03-02T12:48:46.050316",
"expiryDateTime": "2021-03-03T12:48:46.050333",
"messageSequenceNumber": "67f93a41-1c90-4691-a10f-01772e264f79"
}