Jetstream API
Event Types
CommandQueuedEvent
11 min
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 docid\ d7j1rxbgyehbv3bajwgsp { "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 docid\ the3s6mtw3baeauul1a83 { "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 docid\ qp6qihbmdr1a 9kr7fekj { "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 docid\ ci32mn8hwosbcmjmdu4tp { "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 docid 9jcownfudipbznnnryfr0 { "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 docid\ h9h679y t3yztcipn2gcz { "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 docid\ wahzv ft98lwrpl3x2p0v { "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 docid\ qdtewzyti 4vmdsnli9qm { "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 docid 94vzb6djztjxfyzb78uj { "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 docid\ llqub1kfyhmeomohn 1fc { "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" }