Schemas

GenericResponseDTO

1
2
3
4
5
{
  "error": "string",
  "message": "string",
  "trace_id": "string"
}
Name Type Required Description
error string false none
message string false none
trace_id string false none

DeviceHistoryResponseDTO

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
{
  "msisdn": "612345678",
  "deviceHistory": [
    {
      "imei": "123456789012345",
      "tenant": "test-org",
      "is_device_change": true,
      "first_seen": "2024-09-09T00:00:00Z",
      "last_seen": "2024-09-09T00:00:00Z"
    }
  ]
}
Name Type Required Description
msisdn string true The MSISDN of the device.
deviceHistory [DeviceHistoryDTO] true List of device history entries.

DeviceSimHistoryResponseDTO

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
  "msisdn": "612345678",
  "deviceSimHistory": [
    {
      "imsi": "123456789012345",
      "tenant": "test-org",
      "first_seen": "2024-09-09T00:00:00Z",
      "last_seen": "2024-09-09T00:00:00Z"
    }
  ]
}
Name Type Required Description
msisdn string true The MSISDN of the device.
deviceSimHistory [DeviceSimHistoryDTO] true List of device SIM history entries.

DeviceHistoryDTO

1
2
3
4
5
6
7
{
  "imei": "123456789012345",
  "tenant": "test-org",
  "is_device_change": true,
  "first_seen": "2024-09-09T00:00:00Z",
  "last_seen": "2024-09-09T00:00:00Z"
}
Name Type Required Description
imei string true The IMEI of the device.
tenant string true The tenant of the device.
is_device_change boolean true Indicates that this device is a change from the previous one.
first_seen string(date-time) true First datetime when the device was detected in network events for this particular period.
last_seen string(date-time) true Last datetime when the device was detected in network events for this particular period.

DeviceSimHistoryDTO

1
2
3
4
5
6
{
  "imsi": "123456789012345",
  "tenant": "test-org",
  "first_seen": "2024-09-09T00:00:00Z",
  "last_seen": "2024-09-09T00:00:00Z"
}
Name Type Required Description
imsi string true The IMSI of the device.
tenant string true The tenant of the device.
first_seen string(date-time) true First datetime when the sim was detected in network events for this particular period.
last_seen string(date-time) true Last datetime when the sim was detected in network events for this particular period.