Jetstream API
...
Device Commands
Unlock a Device's Door
8 min
about instructs the specified device to unlock its door the door will remain unlocked for the duration defined by the doorunlocktimelimit configuration setting of the device’s policy command type device is online device is offline synchronous, not queueable immediate execution, immediate results and published results failure to execute applicable to the following device types rfid enclosures (cabinets, fridges, freezers) docid\ uxzf6ddof1t2zgzzjh9m6 parameters true false 122false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type false unhandled content type example request url post https //api jetstreamrfid com/3/devices/{device name}/unlockdoor request body { 	"accesstoken" "myaccesstoken" } response code 200 ok response body { 	"commandid" "2b50fff0 e84c 42c1 b294 9eb6895684c3", 	"status" "completed", 	"exceptionlist" \[], 	"outputparameterlist" \[] } published commandqueuedevent { 	"device" "mydevicename", 	"commandid" "2b50fff0 e84c 42c1 b294 9eb6895684c3", 	"commandname" "unlockdoor", 	"uri" "/3/devices/mydevicename/unlockdoor", 	"verb" "post", 	"user" "myusername", 	"parameters" \[ 	 { 	 "key" "accesstoken", 	 "value" "myaccesstoken" 	 } 	], 	"type" "commandqueuedevent", 	"eventid" "80476d30 8d3b 415e 9966 6e5d63876ad9", 	"eventtime" "2018 05 18t03 22 37z", 	"version" 3 } published commandcompletionevent { 	"commandid" "2b50fff0 e84c 42c1 b294 9eb6895684c3", 	"commandname" "unlockdoor", 	"outputparameterlist" \[], 	"exceptionlist" \[], 	"device" "mydevicename", 	"receivedtime" "2017 05 18t03 22 54z", 	"type" "commandcompletionevent", 	"eventid" "4aa5df90 bfea 49f7 8d69 bce6ba9e21fb", 	"eventtime" "2018 05 18t03 22 52z", 	"version" 2 } version changes added version property to events