Search
How to generate a list of Device names and IDs
The following command (uses curl and jq) can be used on any workgroup that you have access to to get a list of device names and their IDs
curl -s -H "Authorization: Bearer $TOKEN" https://[mycloud].ardexa.com/api/v1/devices/${WORKGROUPID} | jq -r '.[] | "\(.name): \(.id)"'Where:
TOKEN = your API or User token
WORKGROUPID = is the ID of the target Workgroup (Admin -> Workgroup)
Building Searches
The following provide examples on how you can go about constructing messages against one of the Ardexa APIs
Search Scenarios, Operators and Examples
`=` (equals)
{
"field": "action",
"operator": "=",
"value": "send"
}
IN
Last updated
Was this helpful?