POST /Japi/Tigrillo/getSIMLastActivity
Returns details of the most recent recorded activity on the specified SIM.
Authentication
- User required to login
Headers
For information about headers, see Configuring headers.
Request Body application/json
Schema
Use null without quotes as the input if you do not wish to use these objects. The value will remain as previously set. If you want to change the object value to a new value, replace null with "<value>
" within quotes, where <value>
is the required value. To remove an existing value, type an empty string. For example: "friendlyName" : "" ,
Object name | Description | Required? |
---|---|---|
ICCID | The current SIM ICCID |
![]() |
Example
Responses application/json
Schema
JSON key | Description |
---|---|
info | The array, listing the last activity for the requested ICCID. |
LastLat | The last recorded latitude of the SIM. |
LastLon | The last recorded longitude of the SIM. |
LastLatLonDate | Date and time stamp when the latitude and longitude were last recorded. |
LastAPN | The last recorded gateway used by the device to connect to the network. |
LastRadiusBytes |
Number of bytes sent and received in the last recorded data session. |
LastUsername | The username recorded in the last APN authentication. |
LastMCC |
The last recorded Mobile Country Code – identifies the country of the cellular tower to which the SIM last connected, in three-digit numeric format. For more information, see Mobile country codes. |
LastMNC | The last recorded Mobile Network Code – identifies the network operator of the network to which the SIM last subscribed, in two-digit numeric format. For more information, see: Mobile network codes listed by country. |
LastLAI |
The Location Area Identity of the cellular tower to which the SIM last connected, in hexadecimal format. Tracks the physical location of the SIM within the network. |
LastCI | The last recorded Cell Identification to track which base station in a location area the SIM was last connected to. |
LastRAT | The last Radio Access Technology used by the device to connect to the network. |
LastIP | The last allocated Internet Protocol address. |
LastMCCMNCDate | The date and time stamp when the MCC and MNC were last recorded. |
LastLAICIDate | The date and time stamp when the LAI and CI were last recorded. |
LastRadiusStart | The last recorded date and time that the device opened a data session and optained an IP address. |
LastRadiusStop |
The last recorded date and time that the device ended a data session. If LastRadiusStop occurs before the LastRadiusStart, the current session is in progress. If LastRadiusStop occurs after LastRadiusStart, the session has ended. If the data session abnormally terminates without a close request from the device, the event and date and time stamp may be absent. |
MonthsRadiusBytes | The total data in bytes used by the SIM in the last month, prior to rounding for billing. |
LastSMSMO | The date and time stamp that the last mobile-originated SMS was sent from the device using the SIM. |
LastSMSMT | The date and time stamp that the last SMS was sent to the phone number associated with the SIM. |
LastVoiceMO | The date and time stamp that the last mobile-originated Voice call was made. |
LastVoiceMT | The date and time stamp that the last mobile-originated Voice call was made to the phone number associated with the SIM. |
LastUSSDMO | The date and time stamp that the last Unstructured Supplementary Service Data (USSD) message was sent from the SIM. |
LastUSSDMT | The date and time stamp that the last USSD message was sent to the SIM. |
LastIMEI | The last modem International Mobile Equipment Identity number that used the SIM. |
LastIMEIDate | The date and time stamp that the IMEI was last recorded. |
LastIMSI | The last international mobile subscriber identity number used to authenticate the SIM on the network. |
LastIMSIDate | The date and time stamp that the IMSI was last recorded. |
MonthsDataTotal | The total data in bytes used by the SIM in the last month, rounded off for billing. |
LastMonthsDataTotal | The total amount of data in bytes used in the last month. |
MonthsDataDate |
The last month's end date and time stamp, when the MonthsDataTotal was calculated. |
MonthsSMSTotal | The total number of SMSs used in the last month. |
MonthsSMSDate | The last month's end date and time stamp, when the MonthsSMSTotal was calculated. |
MonthsUSSDTotal | The total number of unstructured supplementary service data (USSD) used in the last month. |
MonthsUSSDDate | The last month's end date and time stamp, when the MonthsUSSDTotal was calculated. |
MonthsVoiceTotal | The total amount of voice calls in seconds made and received in the last month. |
MonthsVoiceDate | The last month's end date and time stamp, when the MonthsVoiceTotal was calculated. |
MonthsMsgTotal | Not specified in this version. |
MonthsMsgDate | Not specified in this version. |
MonthsPriceTotal | The total cost in the currency defined on your contract. |
MonthsPriceDate | The last month's end date and time stamp, when MonthsPriceTotal was calculated. |
LastSMSMT_DR | The date and time stamp of the last delivery receipt for an MT SMS. |
LastNetworkName | The last network used by the SIM. |
status |
The array, containing details about the request status. |
status |
"OK" – the request processed successfully "ERR" – the request failed |
errorCode |
"" – the request processed successfully "<ErrorCodeNumber>" – the request failed because of this specific error. For more information, see Troubleshooting errors: Tigrillo API. |
errorMessage |
"" – the request processed successfully "<ErrorCodeMessage>" – displays an explanation of the error if the request failed. For more information, see Troubleshooting errors: Tigrillo API. |
Example
{
"info": {
"LastLat": "50.42",
"LastLon": "-0.60",
"LastLatLonDate": "2020-07-18 10:06:50",
"LastAPN": "eseye1",
"LastRadiusBytes": 23782493,
"LastUsername": "user@example.com",
"LastMCC": "234",
"LastMNC": "15",
"LastLAI": "3de",
"LastCI": "633c",
"LastRAT": UTRAN",
"LastIP": "10.228.192.29",
"LastMCCMNCDate": "2020-07-18 10:06:50",
"LastLAICIDate": "2020-07-18 10:06:50",
"LastRadiusStart": "2020-07-18 10:06:50",
"LastRadiusStop": "2020-07-18 14:28:53",
"MonthsRadiusBytes": 0,
"LastSMSMO": "2018-07-18 10:06:50",
"LastSMSMT": "2018-07-10 10:03:44",
"LastVoiceMO": null,
"LastVoiceMT": null,
"LastUSSDMO": null,
"LastUSSDMT": null,
"LastIMEI": "866758047655555",
"LastIMEIDate": "2020-03-27 11:09:55",
"LastIMSI": "204043990855555",
"LastIMSIDate": "2020-03-27 11:09:55",
"MonthsDataTotal": 0,
"LastMonthsDataTotal": 0,
"MonthsDataDate": null,
"MonthsSMSTotal": 0,
"MonthsSMSDate": null,
"MonthsUSSDTotal": 0,
"MonthsUSSDDate": null,
"MonthsVoiceTotal": 0,
"MonthsVoiceDate": null,
"MonthsMsgTotal": null,
"MonthsMsgDate": null,
"MonthsPriceTotal": "9.0999",
"MonthsPriceDate": "2020-07-10 07:34:58",
"LastSMSMT_DR": null,
"LastNetworkName": "GB - Vodafone"
},
"status": {
"status": "OK",
"errorCode": "",
"errorMessage": ""
}
}