Get Things Group List
This guide will show you how you can receive a list of your Thing Groups via an API command.
Get Thing Group List
GET
https://console.monogoto.io/thingsgroup/listWithMeasures
Headers
Name
Type
Description
YOUR_TOKEN*
String
Your authentication token
CUSTOMER_ID
String
Customer API key
{
// Response
}
Example using cURL:
curl -X GET \
--url "https://console.monogoto.io/thingsgroup/listWithMeasures" \
-H "accept: application/json" \
-H "Authorization: Bearer {YOUR_TOKEN}" \
-H "apikey: {CUSTOMER_ID}"
Example of request:
curl -X GET \
--url "https://console.monogoto.io/thingsgroup/listWithMeasures" \
-H "accept: application/json" \
-H "Authorization: Bearer eyJhb6IkpXVCJ9.eyJSb2xlIjoiVXN4lclByb2ZpbGVJZF9kZGM2MThhNC0wNTI1LTQ2MmUtYWN3NzhhMGQxYmbSI6Im4zgFkbWluIiwiQ3VzdG9tsbCwiVXNlcklkIjoiVklkXzg5Yj5Y2OGEyUtNDQThhLTEzZjA0MzJhZDE3YyINTAzgZmUtZGI51My00ZjRiLTktN2U5Yjc0ZWU1ZThlIiwiaWNzM3MjI5L2MDY3NTE2Mjl9.99aSLzP7kTgK6TZGW-xalrMu0GkW6viunt3XxbNng" \
-H "apikey: cid_ecs1d3a5-f5e62a1-fe8af468wf"
Expected result:
[
{
"Active": 10,
"Alarm": 9,
"CustomerId": "cid_ecs1d3a5-f5e62a1-fe8af468wf",
"Data": 97803309,
"DateModified": 1612791354953,
"Networks": [
{
"NetworkId": "NetworkId_734666bd-9779-4995-9aa4-c7efd5081689",
"NetworkName": "default network for APN: data.mono"
},
{
"NetworkId": "NetworkId_b0cc888b-8350-4e58-b450-aa16d71a943e",
"NetworkName": "default network for APN: uinternet"
}
],
"RoamingPolicies": [],
"SMS": 4,
"TelephonyProfileId": "TelephonyProfile_ad766b40-9577-4d91-4679-01664c6834d9",
"TelephonyProfileName": "Default telephony profile",
"ThingsGroupDescription": "This Group has Project A SIM cards",
"ThingsGroupId": "ThingsGroupId_eej3421b0-bee1-4997-93aa-ce443ca43h347a",
"ThingsGroupName": "Project A phones",
"Voice": 0,
"total": 1
},
...
Last updated
Was this helpful?