How to View Thing Information?
This guide will show you how you can view information about a Thing (SIM card).
To get information about a Thing, please use following request:
1
curl -X GET "https://console.monogoto.io/thing/ThingId_ICCID_<<<_THING_ICCID_>>>/" -H "accept: application/json" -H "Authorization: Bearer <<<_TOKEN_HERE_>>>"
Copied!
Please note that the above shown command needs to be replaced with information: <<<_THING_ICCID_>>> - replace with your Monogoto thing ICCID number <<<_TOKEN_HERE_>>> - replace with your token. You may obtain Token, by running Login Token API command. If needed this API can be tested and used in the Monogoto portal following this path: Thing GET /thing/{ThingId}/
Example of request:
1
curl -X GET "https://console.monogoto.io/thing/ThingId_ICCID_8912372646888991/" -H "accept: application/json" -H "Authorization: Bearer eyJhb6IkpXVCJ9.eyJSb2xlIjoiVXN4lclByb2ZpbGVJZF9kZGM2MThhNC0wNTI1LTQ2MmUtYWN3NzhhMGQxYmbSI6Im4zgFkbWluIiwiQ3VzdG9tsbCwiVXNlcklkIjoiVklkXzg5Yj5Y2OGEyUtNDQThhLTEzZjA0MzJhZDE3YyINTAzgZmUtZGI51My00ZjRiLTktN2U5Yjc0ZWU1ZThlIiwiaWNzM3MjI5L2MDY3NTE2Mjl9.99aSLzP7kTgK6TZGW-xalrMu0GkW6viunt3XxbNng"
Copied!
Example of received result showing Thing information:
1
{
2
"ThingName": "ICCID 8912372646888991",
3
"ThingDescription": "Auto-activated by provision process",
4
"ActiveMobileSubscriber": "123456789101112",
5
"State": "ACTIVE",
6
"BatchId": "Tutorial SIM",
7
"MSISDN": "+4420412389916",
8
"ExternalUniqueId": "8912372646888991",
9
"ExternalUniqueType": "ICCID",
10
"ExternalBatchId": "Tutorial SIM",
11
"OrganizationId": "OrganizationId_23789d7d-dd59-4739-ab2c-1ec7d9d8b11a",
12
"CreatedBy": "UserId_90b777a3-60f5-4557-958ba-15f04333d17b",
13
"ThingsGroupId": "ThingsGroupId_ca140991-be66-4ddd-a777-711595c5a30d",
14
"CustomerId": "cid_c256463da-742-491b-911b-8850177ef5121",
15
"DateAssignedToCustomer": 1610443297454,
16
"SimType": null,
17
"IPs": [
18
{
19
"IP": "11.111.11.211",
20
"IPAllocationPolicy": "dynamic",
21
"IPLock": false,
22
"IPPoolId": "IPPoolId_0cbby8ae-ddx7-4nx6-8588-b7e451f114e3",
23
"IPvType": "IPv4",
24
"NetworkId": "NetworkId_ec8dc935-35a1-499a-aacd-4e190ad41673",
25
"ApnShortId": "1000"
26
}
27
28
...
Copied!
Last modified 2mo ago
Copy link