Device
Device and Agent Control Management
Get or create a device ID for an execution agent. If deviceId is provided and exists, returns it after updating lastSeenDate. If deviceId is not provided or doesn't exist, creates a new ExecutionAgent record.
AGT_PWASuccess
Authentication required
Access Forbidden (no authz)
Too Many Requests (tarpit)
General Error
POST /rest/s1/admin/device/id HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 67
{
"deviceId": "text",
"facilityId": "text",
"agentTypeEnumId": "AGT_PWA"
}{
"deviceId": "text",
"isNewDevice": true
}Fetch active instructions for a device based on scope (ALL, FACILITY, DEVICE). Returns only unacknowledged instructions within the active date range. Creates assignment records for newly assigned instructions.
Success
Authentication required
Access Forbidden (no authz)
Too Many Requests (tarpit)
General Error
GET /rest/s1/admin/device/instructions HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Accept: */*
{
"instructions": [
{}
]
}Acknowledge that a device has executed an instruction. Updates the ackDate in AgentCtrlInstrAsgn for the given instruction and device.
Success
Authentication required
Access Forbidden (no authz)
Too Many Requests (tarpit)
General Error
POST /rest/s1/admin/device/acknowledge HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 51
{
"agentCtrlInstructionId": "text",
"deviceId": "text"
}{
"success": true
}Last updated
Was this helpful?