Jetstream API
...
API Endpoints
Device Configuration
Create a Device
6min
about add a device to your jetstream application, making the device ready to receive your commands and push events 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 name string required unique body 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 ] $ serialnumber string required unique body the physical serial number 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 ] $ devicedefinition string required body the name of the device definition associated with the device this value is one of the device definitions retrieved by the get all device definitions docid\ xnmyd7x5iixvo71ofvqoz request this value has a max length of 128 ascii characters this value must adhere to this regular expression ^\[a za z0 9 , ] $ region string required body the geographic region that the rfid device is being placed this is used to create the most reliable and lowest latency connection to the device this value is one of the following possibilities us, eu, ap, usgov policy string body the name of the policy associated with the device this value is set via the add a policy to a device docid\ u yihqpcnlvud3uag439e request attempting to set this any other way or not defining this property will result in an empty string value example request url post https //api jetstreamrfid com/2/devices request body { "name" "mydevicename", "serialnumber" "mydeviceserialnumber", "devicedefinition" "ts032, cabinet, us, uhf, gf, 7 9 cu ft, v4", "region" "us" } response code 201 created response body { "name" "mydevicename", "serialnumber" "mydeviceserialnumber", "devicedefinition" "ts032, cabinet, us, uhf, gf, 7 9 cu ft, v4", "region" "us", "policy" "" } version changes replaces addlogicaldevice