Jetstream API
...
API Endpoints
Device Commands

Get a Device's Policy Parameters

8min

About

Instruct the specified device to return the current values for its configuration parameters. Complete documentation on a device’s configuration parameters can be found on its device type page.

Command Type

Device is Online

Device is Offline

Synchronous, Queueable

Immediate execution, Immediate results and Published results

Queued execution, Published results

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 user profile.

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-_,. ]*$

Example

Request URL

GET https://api.jetstreamrfid.com/3/devices/{DeviceName}/policy/sync

Request Body

None Required

Response Code

200 OK

Response Body

{ "CommandId": "e8498582-9ae3-4e82-a1f0-005ecce1ec7c", "Status": "Completed", "ExceptionList": [], "OutputParameterList": [ { "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" } ] }

Published CommandQueuedEvent

{ "Device": "MyDeviceName", "CommandId": "e8498582-9ae3-4e82-a1f0-005ecce1ec7c", "CommandName": "GetConfigValuesCommand", "URI": "/3/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": "2018-05-18T20:55:09Z", "Version":3 }

Published CommandCompletionEvent

{ "CommandId": "e8498582-9ae3-4e82-a1f0-005ecce1ec7c", "CommandName": "GetConfigValuesCommand", "OutputParameterList": [ { "Key": "aggregateeventscancount", "Value": "2" }, { "Key": "aggregateeventscantime", "Value": "10" }, { "Key": "antenna1rxsensitivity", "Value": "50" }, { "Key": "antenna1txpower", "Value": "30" }, { "Key": "antenna2rxsensitivity", "Value": "50" }, { "Key": "antenna2txpower", "Value": "30" }, { "Key": "antenna3rxsensitivity", "Value": "50" }, { "Key": "antenna3txpower", "Value": "30" }, { "Key": "antenna4rxsensitivity", "Value": "50" }, { "Key": "antenna4txpower", "Value": "30" }, { "Key": "commandpollinterval", "Value": "60" }, { "Key": "dns", "Value": "0.0.0.0" }, { "Key": "dooropentimelimit", "Value": "300" }, { "Key": "gateway", "Value": "0.0.0.0" }, { "Key": "ip", "Value": "0.0.0.0" }, { "Key": "jetstreamdeviceurl", "Value": "https://us-device.tersosolutions.com/v1.0/device/" }, { "Key": "lockdownhightemp", "Value": "127" }, { "Key": "lockdownonacpowerfailure", "Value": "0" }, { "Key": "lockdownonhightemp", "Value": "0" }, { "Key": "lockdownonreaderfailure", "Value": "0" }, { "Key": "logentryeventhightemp", "Value": "127" }, { "Key": "logentryeventlowtemp", "Value": "-128" }, { "Key": "logentrylevel", "Value": "warning" }, { "Key": "numberofantennas", "Value": "4" }, { "Key": "objecteventscancount", "Value": "2" }, { "Key": "objecteventscantime", "Value": "10" }, { "Key": "subnet", "Value": "0.0.0.0" } ], "ExceptionList": [], "Device": "MyDeviceName", "ReceivedTime": "2018-05-18T20:55:12Z", "Type": "CommandCompletionEvent", "EventId": "c13a2d94-fb86-421d-9969-f56e3a44b280", "EventTime": "2018-05-18T20:55:18Z", "Version":2 }

Version Changes

Added Version Property to Events.