Jetstream API
...
API Endpoints
Policy Configuration
Modify a Policy Name
6min
about overwrite the name of the specified policy with the new name parameters property location details accesskey string required unique header the access key for your user account this value is a 36 character guid provided in your getting started docid\ bbifqiuixnd5iafmrebbi policyname string required unique url the existing name of the policy this value has a max length of 128 ascii characters this value must adhere to this regular expression ^\[a za z0 9 , ] $ id ulong unique body response the id assigned to the newly created policy this value is generated by jetstream – do not define it in requests name string required unique body request response the name of the policy this value has a max length of 128 ascii characters this value must adhere to this regular expression ^\[a za z0 9 , ] $ devicedefinition string body response the name of the device definition associated with the policy this value is one of the device definitions retrieved by the get all device definitions docid\ zre5zpbxavj78epzuxb84 request this value has a max length of 128 ascii characters this value must adhere to this regular expression ^\[a za z0 9 , ] $ parameters dictionary(string,string) body response the parameters and values associated with the policy all parameters defined in the associated device definition must be defined all values defined must be of the type (e g , int, bool, string, float, datetime) defined in the associated device definition the device definition and parameters can be included in the request if they are included in the request, no action will be taken on them the response will contain the current values for the policy in jetstream example request url put https //api jetstreamrfid com/3/policies/{policy name} request body { "name" "mynewpolicyname1", } response code 200 ok response body { "id" 1, "name" "mynewpolicyname1", "devicedefinition" "ts032, cabinet, us, uhf, gf, 7 9 cu ft", "parameters" { "aggregateeventscancount" "2", "aggregateeventscantime" "10", "antenna1rxsensitivity" "50", "antenna1txpower" "30", "antenna2rxsensitivity" "50", "antenna2txpower" "30", "antenna3rxsensitivity" "50", "antenna3txpower" "30", "antenna4rxsensitivity" "50", "antenna4txpower" "30", "commandpollinterval" "60", "dns" "0 0 0 0", "dooropentimelimit" "300", "gateway" "0 0 0 0", "ip" "0 0 0 0", "jetstreamdeviceurl" "https //usdevice tersosolutions com/v1 0/device/", "lockdownhightemp" "127", "lockdownonacpowerfailure" "0", "lockdownonhightemp" "0", "lockdownonreaderfailure" "0", "logentryeventhightemp" "127", "logentryeventlowtemp" " 128", "logentrylevel" "warning", "numberofantennas" "4", "objecteventscancount" "2", "objecteventscantime" "10", "subnet" "0 0 0 0" }, } version changes none – this is a new endpoint