MasDevices API
Imported API domain.
- production
- staging
- Authentication
- Bearer · JWT
- Contact
- MasDevices
About this API
This API features a set of MasStack endpoints related to MasDevices domain.
Resources 3
- DeviceHistory 1 endpoint
API for retrieving device history information
- DeviceSimHistory 1 endpoint
API for retrieving device SIM history information
- DeviceInfo 1 endpoint
API for retrieving device hardware metadata by TAC
MasDevices API
Imported API domain.
- production
- staging
- Authentication
- Bearer · JWT
- Contact
- MasDevices
About this API
This API features a set of MasStack endpoints related to MasDevices domain.
Resources 3
- DeviceHistory 1 endpoint
API for retrieving device history information
- DeviceSimHistory 1 endpoint
API for retrieving device SIM history information
- DeviceInfo 1 endpoint
API for retrieving device hardware metadata by TAC
DeviceHistory
GET /orgs/{orgId}/deviceHistory/{msisdn}
/orgs /{orgId} /deviceHistory /{msisdn} Authenticated with a bearer token in the Authorization header Authentication
Show device history. If a period is not specified, this service will offer device history details for the last 90 days.
Path parameters
orgIdstringRequiredExecutes the request in the context of the given organization
msisdnstringRequiredThe MSISDN of the device history we want to retrieve.
Query parameters
fromDatestring (date-time)From datetime used as filter
toDatestring (date-time)To datetime used as filter
dateReferencestringThe date reference field to take into account when looking for the defined (or default) period.
sortstringThe order in which to return the results, based on the specified time reference.
onlyFirstDeviceChangebooleanIf true, only the first device change in the specified (or default) period will be returned.
Responses
Device history retrieved successfully. If the device history is empty for the specified/default period, an empty list will be returned.
-
msisdnstring RequiredThe MSISDN of the device.
-
deviceHistoryobject[] RequiredList of device history entries.
-
imeistring RequiredThe IMEI of the device.
-
imei_svstringThe IMEISV (IMEI + 2-digit software version) of the device, when observed.
-
tacstring RequiredThe TAC (Type Allocation Code, the first 8 digits of the IMEI).
-
tenantstring RequiredThe tenant of the device.
-
is_device_changeboolean RequiredIndicates that this device is a change from the previous one.
-
first_seenstring (date-time) RequiredFirst datetime when the device was detected in network events for this particular period.
-
last_seenstring (date-time) RequiredLast datetime when the device was detected in network events for this particular period.
-
The request failed to be processed by the server
-
errorstring -
messagestring -
trace_idstring
DeviceSimHistory
GET /orgs/{orgId}/deviceSimHistory/{msisdn}
/orgs /{orgId} /deviceSimHistory /{msisdn} Authenticated with a bearer token in the Authorization header Authentication
Show device SIM history. If a period is not specified, this service will offer device sim history details for the last 90 days.
Path parameters
orgIdstringRequiredExecutes the request in the context of the given organization
msisdnstringRequiredThe MSISDN of the device history we want to retrieve.
Query parameters
fromDatestring (date-time)From datetime used as filter
toDatestring (date-time)To datetime used as filter
Responses
Device sim history retrieved successfully. If the device SIM history is empty for the specified/default period, an empty list will be returned.
-
msisdnstring RequiredThe MSISDN of the device.
-
deviceSimHistoryobject[] RequiredList of device SIM history entries.
-
imsistring RequiredThe IMSI of the device.
-
tenantstring RequiredThe tenant of the device.
-
first_seenstring (date-time) RequiredFirst datetime when the sim was detected in network events for this particular period.
-
last_seenstring (date-time) RequiredLast datetime when the sim was detected in network events for this particular period.
-
The request failed to be processed by the server
-
errorstring -
messagestring -
trace_idstring
DeviceInfo
GET /deviceInfo/{tac}
/deviceInfo /{tac} Authenticated with a bearer token in the Authorization header Authentication
Show the hardware metadata for a TAC (the first 8 digits of an IMEI).
Path parameters
tacstringRequiredThe TAC (Type Allocation Code, the first 8 digits of an IMEI) to look up.
Responses
Device info retrieved successfully.
-
tacstring RequiredThe TAC (first 8 digits of an IMEI) this metadata describes.
-
bandsstring RequiredComma-separated radio bands the device supports.
-
manufacturerstring RequiredDevice manufacturer.
-
is_mobileboolean RequiredWhether the device is a mobile phone.
-
is_tabletboolean RequiredWhether the device is a tablet.
-
is_ereaderboolean RequiredWhether the device is an e-reader.
-
is_game_consoleboolean RequiredWhether the device is a games console.
-
is_tvboolean RequiredWhether the device is a TV.
-
five_g_bandstring RequiredComma-separated 5G NR bands the device supports.
-
brand_namestring RequiredCommercial brand name.
-
model_namestring RequiredCommercial model name.
-
os_vendorstring RequiredOperating system vendor.
-
os_namestring RequiredOperating system name.
-
os_familystring RequiredOperating system family.
-
os_versionstring RequiredOperating system version.
-
device_typestring RequiredGSMA device type classification.
-
year_released_mobile_deviceinteger RequiredYear the device was released.
-
esim_countinteger RequiredNumber of eSIMs the device supports.
-
sim_sizestring RequiredPhysical SIM form factor.
-
conn_2gboolean RequiredWhether the device supports 2G connectivity.
-
conn_3gboolean RequiredWhether the device supports 3G connectivity.
-
conn_4gboolean RequiredWhether the device supports 4G connectivity.
-
conn_5gboolean RequiredWhether the device supports 5G connectivity.
No device info is known for the given TAC.
-
errorstring -
messagestring -
trace_idstring
The request failed to be processed by the server
-
errorstring -
messagestring -
trace_idstring