retrieveDeviceHistory
Show device history. If a period is not specified, this service will offer device history details for the last 90 days.
GET
/orgs/{orgId}/deviceHistory/{msisdn}
Parameters
Name |
In |
Type |
Required |
Description |
orgId |
path |
string |
true |
Executes the request in the context of the given organization |
msisdn |
path |
string |
true |
The MSISDN of the device history we want to retrieve. |
fromDate |
query |
string(date-time) |
false |
From datetime used as filter |
toDate |
query |
string(date-time) |
false |
To datetime used as filter |
Request example
1
2
3
4
|
curl -X GET https://devices.masstack.com/v1/orgs/masmovil/deviceHistory/{msisdn}?fromDate='2021-10-10T22:00:00Z'&toDate='2021-10-20T22:00:00Z' \
-H "Accept: application/json"
|
retrieveDeviceSimHistory
Show device SIM history. If a period is not specified, this service will offer device sim history details for the last 90 days.
GET
/orgs/{orgId}/deviceSimHistory/{msisdn}
Parameters
Name |
In |
Type |
Required |
Description |
orgId |
path |
string |
true |
Executes the request in the context of the given organization |
msisdn |
path |
string |
true |
The MSISDN of the device history we want to retrieve. |
fromDate |
query |
string(date-time) |
false |
From datetime used as filter |
toDate |
query |
string(date-time) |
false |
To datetime used as filter |
Request example
1
2
3
4
|
curl -X GET https://devices.masstack.com/v1/orgs/masmovil/deviceSimHistory/{msisdn}?fromDate='2021-10-10T22:00:00Z'&toDate='2021-10-20T22:00:00Z' \
-H "Accept: application/json"
|