Jetstream API
...
API Endpoints
Device Commands
Add or Remove Passes
8min
about add passes to and/or delete passes from the access control list of the specified device command type device is online device is offline synchronous, queueable immediate execution, immediate results and published results queued execution, published results applicable to the following device(s) rfid enclosures (cabinets, fridges, freezers) docid\ kobljqnco2s0 1oznf09g parameters property location details accesskey string required unique header the access key for your user account this value is a 36 character guid provided during user account sign up https //jetstreamrfid com/login/signup devicename string required unique url the name of the device this value has a max length of 128 ascii characters this value must adhere to this regular expression ^\[a za z0 9 ] $ add array(strings) required body the pass(es) to add to the access control list of the device each value must adhere to this regular expression ^\[a f0 9]{10}$ this property is required and must be included with all requests if there are no passes to add, define an empty array remove array(strings) required body the pass(es) to delete from the access control list of the device each value must adhere to this regular expression ^\[a f0 9]{10}$ this property is required and must be included with all requests if there are no passes to delete, define an empty array example request url post https //api jetstreamrfid com/2/devices/{device name}/accesscontrol request body { 	"add" \["mypassnumber"], 	"remove" \[] } response code 200 ok response body { 	"commandid" " fbfe6dbd d03a 42ac 8216 2396de99c315", 	"status" "completed", 	"exceptionlist" \[], 	"outputparameterlist" \[] } published commandqueuedevent { 	"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 commandcompletionevent { 	"commandid" "fbfe6dbd d03a 42ac 8216 2396de99c315", 	"commandname" "updatepasses", 	"outputparameterlist" \[], 	"exceptionlist" \[], 	"device" "mydevicename", 	"receivedtime" "2017 05 17t13 51 24z", 	"type" "commandcompletionevent", 	"eventid" "56ae62b2 01c7 4ac3 a5c1 c49849291f3f", 	"eventtime" "2017 05 17t13 51 18z" } version changes replaces updatepasses