Get CDR Logs

Get the CDR logs based on given IMSI or Start time and End time.

get

Returns the CDR logs based on the provided IMSI, Start Time, and End Time. If only IMSI is provided, the output will include all CDR logs associated with that IMSI. If both Start Time and End Time are specified, the output will include all CDR logs generated up to the specified End Time. The time format is "YYYY-MM-DD HH:MM:SS"(e.g., 2024-08-22 15:30:00).

Authorizations
Path parameters
edgeIpstring · enumRequired

The IP address of the edge

Possible values:
Query parameters
imsiinteger | nullableOptional

We can give IMSI as input parameter, then in output will get all cdr logs of given IMSI. If no IMSI provided then it will check for given start-time and end-time.

start-timestringOptional

We can give start time and end time as input parameter.

Example: 2030-01-01 00:00:00
end-timestringOptional

We can give start time and end time as input parameter.

Example: 2030-01-01 01:00:00
Responses
200
Retrieved CDR Logs successfully
application/json
get
GET /api/v1/edge/{edgeIp}/cdrlogs HTTP/1.1
Host: api.monogoto.io
Authorization: Bearer JWT
Accept: */*
{
  "cdr_log": [
    {
      "APN": "data.mono",
      "Cause": "SessionTerminated",
      "DurationInSeconds": 12485.383,
      "EdgeCID": "edge7",
      "EdgeID": "edge7",
      "EnbID": "000008",
      "EnbIP": "10.52.126.13",
      "IMEI": "866104050014656",
      "IMSI": "315010006700037",
      "PLMN": "315010",
      "RAT": "5G",
      "SeqNo": 1,
      "StartTime": "2024-08-21T11:23:32.882Z",
      "StopTime": "2024-08-21T14:51:38.265Z",
      "UEIPAddress": "192.168.101.4",
      "UsageReport": "KIBANA-CDR",
      "VolumeConsumed": 37859
    },
    {
      "APN": "data.mono",
      "Cause": "SessionModified",
      "DurationInSeconds": 12485.383,
      "EdgeCID": "edge7",
      "EdgeID": "edge7",
      "EnbID": "000008",
      "EnbIP": "10.52.126.13",
      "IMEI": "866104050014656",
      "IMSI": "315010006700037",
      "PLMN": "315010",
      "RAT": "5G",
      "SeqNo": 1,
      "StartTime": "2024-08-21T11:23:32.882Z",
      "StopTime": "2024-08-22T14:54:38.265Z",
      "UEIPAddress": "192.168.101.4",
      "UsageReport": "KIBANA-CDR",
      "VolumeConsumed": 37859
    },
    {
      "APN": "data.mono",
      "Cause": "ThresholdReached",
      "DurationInSeconds": 12485.383,
      "EdgeCID": "edge7",
      "EdgeID": "edge7",
      "EnbID": "000008",
      "EnbIP": "10.52.126.13",
      "IMEI": "866104050014656",
      "IMSI": "315010006700037",
      "PLMN": "315010",
      "RAT": "5G",
      "SeqNo": 1,
      "StartTime": "2024-08-22T11:23:32.882Z",
      "StopTime": "2024-08-23T14:51:38.265Z",
      "UEIPAddress": "192.168.101.4",
      "UsageReport": "KIBANA-CDR",
      "VolumeConsumed": 37859
    }
  ]
}

Last updated

Was this helpful?