Jetstream API
Event Types

CommandQueuedEvent

11min

About

CommandQueuedEvent signals when any user of your application has queued a command. CommandQueuedEvent is useful for keeping multiple components of your application in sync with each other for command information.

Examples

Published CommandQueuedEvent for Get All Passes

{ "Device": "MyDeviceName", "CommandId": "0093fac7-1d82-430a-8bd2-0562c2067037", "CommandName": "GetPasses", "URI": "/2/Devices/MyDeviceName/AccessControl", "Verb": "Get", "User": "MyUserName", "Parameters": [], "Type": "CommandQueuedEvent", "EventId": "b2bd08c9-6001-45d0-8981-dda986b2d0b2", "EventTime": "2017-05-16T21:17:21Z" }

Published CommandQueuedEvent for Add or Remove Passes

{ "Device": "MyDeviceName", "CommandId": "fbfe6dbd-d03a-42ac-8216-2396de99c315", "CommandName": "UpdatePasses", "URI": "/2/Devices/MyDeviceName/AccessControl", "Verb": "Post", "User": "MyUserName", "Parameters": [ { "Key": "Add", "Value": "MyPassNumber" } ], "Type": "CommandQueuedEvent", "EventId": "ff47841c-6ecd-471f-85ec-46dfc708efc4", "EventTime": "2017-05-17T13:51:08Z" }

Published CommandQueuedEvent for Replace All Passes

{ "Device": "MyDeviceName", "CommandId": "d68d6a29-e8a1-48df-b44a-4365b8c2442c", "CommandName": "UpdatePasses", "URI": "/2/Devices/MyDeviceName/AccessControl", "Verb": "Put", "User": "MyUserName", "Parameters": [ { "Key": "Add", "Value": "MyPassNumber1" }, { "Key": "Add", "Value": "MyPassNumber2" }, { "Key": "Remove", "Value": "*" } ], "Type": "CommandQueuedEvent", "EventId": "b302b789-0fba-42bd-98c4-bc732401aff8", "EventTime": "2017-05-17T15:16:59Z" }

Published CommandQueuedEvent for Get All RFID Tags

{ "Device": "MyDeviceName", "CommandId": "6f05b39a-a7a8-4bff-b694-00117af4a6d4", "CommandName": "GetEPCListCommand", "URI": "/2/Devices/MyDeviceName/epclist", "Verb": "Get", "User": "MyUserName", "Parameters": [], "Type": "CommandQueuedEvent", "EventId": "14858b69-f6ce-414d-b64b-531e1a0a06f4", "EventTime": "2017-05-17T16:22:29Z" }

Published CommandQueuedEvent for Restart a Device

{ "Device": "MyDeviceName", "CommandId": "0a80f878-8cdf-4265-beb9-2649e3affe36", "CommandName": "ResetCommand", "URI": "/2/Devices/MyDeviceName/reset", "Verb": "Get", "User": "MyUserName", "Parameters": [], "Type": "CommandQueuedEvent", "EventId": "b705e17a-b64b-4bf1-bfb0-29f0b3ac1e23", "EventTime": "2017-05-17T19:57:52Z" }

Published CommandQueuedEvent for Update Firmware

{ "Device": "MyDeviceName", "CommandId": "527a2f74-af29-410a-8ecb-7ec9f756079a", "CommandName": "UpdateFirmwareCommand", "URI": "/2/devices/MyDeviceName/Version", "Verb": "Post", "User": "MyUserName", "Parameters": [ { "Key": "Component", "Value": "Agent" }, { "Key": "Url", "Value": "MyURL" } ], "Type": "CommandQueuedEvent", "EventId": "55d8b7f7-63ad-446f-a230-e8f8829a0dbd", "EventTime": "2017-05-19T21:06:49Z" }

Published CommandQueuedEvent for Lock a Device

{ "Device": "MyDeviceName", "CommandId": "6bd4b8fb-d964-4d00-ae0a-e3943d58e004", "CommandName": "Lockdown", "URI": "/2/Devices/MyDeviceName/lockdown", "Verb": "Post", "User": "MyUserName", "Parameters": [ { "Key": "Hours", "Value": "1" } ], "Type": "CommandQueuedEvent", "EventId": "98115b7b-3f7f-439b-ba27-ac1234d7569c", "EventTime": "2017-05-18T00:31:20Z" }

Published CommandQueuedEvent for Unlock a Device's Door

{ "Device": "MyDeviceName", "CommandId": "2b50fff0-e84c-42c1-b294-9eb6895684c3", "CommandName": "UnlockDoor", "URI": "/2/Devices/MyDeviceName/unlockdoor", "Verb": "Post", "User": "MyUserName", "Parameters": [ { "Key": "AccessToken", "Value": "MyAccessToken" } ], "Type": "CommandQueuedEvent", "EventId": "80476d30-8d3b-415e-9966-6e5d63876ad9", "EventTime": "2017-05-18T03:22:37Z" }

Published CommandQueuedEvent for Get a Device's Configuration Parameters

{ "Device": "MyDeviceName", "CommandId": "e8498582-9ae3-4e82-a1f0-005ecce1ec7c", "CommandName": "GetConfigValuesCommand", "URI": "/2/Devices/MyDeviceName/policy/sync", "Verb": "Get", "User": "MyUserName", "Parameters": [ { "Key": "Parameter0", "Value": "aggregateeventscancount" }, { "Key": "Parameter1", "Value": "aggregateeventscantime" }, { "Key": "Parameter2", "Value": "antenna1rxsensitivity" }, { "Key": "Parameter3", "Value": "antenna1txpower" }, { "Key": "Parameter4", "Value": "antenna2rxsensitivity" }, { "Key": "Parameter5", "Value": "antenna2txpower" }, { "Key": "Parameter6", "Value": "antenna3rxsensitivity" }, { "Key": "Parameter7", "Value": "antenna3txpower" }, { "Key": "Parameter8", "Value": "antenna4rxsensitivity" }, { "Key": "Parameter9", "Value": "antenna4txpower" }, { "Key": "Parameter10", "Value": "commandpollinterval" }, { "Key": "Parameter11", "Value": "dns" }, { "Key": "Parameter12", "Value": "dooropentimelimit" }, { "Key": "Parameter13", "Value": "gateway" }, { "Key": "Parameter14", "Value": "ip" }, { "Key": "Parameter15", "Value": "jetstreamdeviceurl" }, { "Key": "Parameter16", "Value": "lockdownhightemp" }, { "Key": "Parameter17", "Value": "lockdownonacpowerfailure" }, { "Key": "Parameter18", "Value": "lockdownonhightemp" }, { "Key": "Parameter19", "Value": "lockdownonreaderfailure" }, { "Key": "Parameter20", "Value": "logentryeventhightemp" }, { "Key": "Parameter21", "Value": "logentryeventlowtemp" }, { "Key": "Parameter22", "Value": "logentrylevel" }, { "Key": "Parameter23", "Value": "numberofantennas" }, { "Key": "Parameter24", "Value": "objecteventscancount" }, { "Key": "Parameter25", "Value": "objecteventscantime" }, { "Key": "Parameter26", "Value": "subnet" } ], "Type": "CommandQueuedEvent", "EventId": "fe971dbc-a783-458c-9096-ea2869956fae", "EventTime": "2017-05-18T20:55:09Z" }

Published CommandQueuedEvent for Set a Device's Configuration Parameters

{ "Device": "MyDeviceName", "CommandId": "2bf00848-b06a-4820-86fc-58c12e08ee3e", "CommandName": "SetConfigValuesCommand", "URI": "/2/Devices/MyDeviceName/policy/sync", "Verb": "Post", "User": "MyUserName", "Parameters": [ { "Key": "aggregateeventscancount", "Value": "4" } ], "Type": "CommandQueuedEvent", "EventId": "f3df515b-c53a-4b3b-b3e9-01ffe6ffd8f3", "EventTime": "2017-05-19T01:16:21Z" }