cdp.radius.list
The cdp.radius.list command is used to acquire RADIUS data for a connection.
TR50 Request
// Definite time period request
{
"1" : {
"command": "cdp.radius.list",
"params": {
"connId": "5fd1da0dc24fc250166ed768",
"start": "2016-01-01T00:00:00Z",
"end": "2016-01-31T23:59:59Z",
"offset": 0,
"limit": 10
}
}
}
// Last period of time request
{
"1" : {
"command": "cdp.radius.list",
"params": {
"connId": "5fd1da0dc24fc250166ed768",
"last": 24h,
"offset": 0,
"limit": 10
}
}
}
// Last number of records request
{
"1" : {
"command": "cdp.radius.list",
"params": {
"connId": "5fd1da0dc24fc250166ed768",
"records": "100",
"offset": 0,
"limit": 10
}
}
}
Request Parameters
Name | Type | Required | Description |
---|---|---|---|
connId | String | Yes | The ID of the connection. |
start** | String | Yes* | When doing a definite time period request this is the timestamp for the start of the specified time window. |
end** | String | When doing a definite time period request this is the timestamp for the end of the specified time window. | |
last | String | When doing a last period of time request this specifies the last X amount of time in seconds (s), minutes (m), hours (h), or days (d). | |
records | Integer | When doing a last number of records request this specifies the number of records to return. | |
offset | Integer | The starting list offset, used for pagination. Defaults to 0 if not specified. | |
limit | Integer | Limits the number of results returned. Defaults to 2000. | |
(*) One of the following parameter Start (with end), last or records is required | |||
(**) Out of courtesy, instead of throwing an error, the API will always apply the date ranges provided in the correct direction. |
TR50 Response
If the command is sent successfully a success message and a list of configured CDPs is returned. Otherwise, an error and error message will be returned.
{
"1": {
"success": true,
"params": {
"truncated": true,
"count": 5000,
"result": [
{
"id": "5fd1da0dc24fc250166ed768",
"imei": "305711515791435",
"imsi": "281990240075291",
"iccid": "89410046204600007464",
"msisdn": "460061171909785",
"mno": "24007",
"packetTypeStr": "RADIUS",
"ts": "2016-08-01T22:08:22Z",
"genEventTs": "2016-08-01T22:08:22Z",
"genFramedIpAddress": "100.97.61.118",
"genAcctStatusType": 1,
"GenAcctInputGigaWords": 0,
"GenAcctOutputGigaWords": 0,
"GenAcctInputPackets": 0,
"GenAcctOutputPackets": 0,
"GenAcctTerminateCause": 0,
"GenAcctTerminateCauseStr": "",
"GenAcctSessionTime": 0,
"GenCalledStationId": "internetm2m.air.com",
"GenCallingStationId": "",
"GenSessionIdentifier": "8249f1F4D1171b3d",
"GenNasIpAddress": "90.144.55.176",
"GenNasPort": 0,
"TgppImsi": "",
"TgppChargingIdentifier": 1372405917,
"TgppPdpType": 0,
"TgppQosProfile": "08-03090000080000000800",
"TgppRatRtpe": 1,
"TgppSgsnIpAddress": "",
"TgppGgsnIpAddress": "",
"TgppTimeZone": 0,
"TelitRequestDate": null,
"TelitImeiSv": "3157957111450306",
"TelitImeiReal": "301515795711435",
"TelitSgsnMcc": "310",
"TelitSgsnMccMnc": "310260",
"TelitGgsnMcc": "240",
"TelitGgsnMccMnc": "24007",
"TelitImsiMcc": "",
"TelitImsiMccMnc": "",
"TelitLocType": 0,
"TelitLocMcc": "",
"TelitLocMnc": "",
"TelitLocLac": 46992,
"TelitLocCi": 61377,
"TelitLocSac": 0,
"TelitLocRac": 0,
"TelitLocTac": 0,
"TelitLocEci": 0,
"TelitLocLat": 26.388624,
"TelitLocLng": -80.102394
},
...
]
}
}
}
Response Parameters
Name
|
Type
|
Description
|
---|---|---|
truncated | Boolean | If this value is in the response, it will be true. It is defined if the number of possible records is equal to or greater than the maximum configured. |
count | Integer | The total number of matching records. Used for paging in conjunction with the offset and limit parameters. |
result | Array | The array of RADIUS records. |