Get Thing Data Session Status
This guide will show you how you can view Thing (SIM) current data session status.
get
https://console.monogoto.io
/thing/status?ThingIds=ThingId_ICCID_{ICCID}
Get Thing data session status
Add your Thing ICCID and Token in the GET request to successfully obtain the Thing info.

Example using cURL:

curl -X GET \
-url "https://console.monogoto.io/thing/status?ThingIds=ThingId_ICCID_{ICCID}&limit=50&offset=0" \
-H "accept: application/json" \
-H "Authorization: Bearer {TOKEN_HERE}"
Example of received result showing Thing current data session status:
{
"Success": true,
"Message": "Operation succeeded",
"Data": [
{
"ThingId": "ThingId_ICCID_8912372646888991",
"CustomerId": "cid_c256463da-742-491b-911b-8850177ef5121",
"ThingName": "ICCID 8912372646888991",
"ThingDescription": "Operator's inventor (not associated with any customer)",
"ProvisionStatus": "ACTIVE",
"ConnectionStatus": "CONNECTED",
"ActiveSessions": [],
"ActiveIMSI": "123456789101112",
"LastConnectionTime": null,
"LastDisconnectionTime": null,
"MSISDN": "+4420412389916"
}
]
}
Data session connection status explained:
CONNECTED - SIM currently has open data session (PDP)
DISCONNECTED - SIM currently does not have open data session (PDP)