GetDeviceStatus

GetDeviceStatus returns the current status of the specified device.

Name Description Required
AccessKey The AccessKey for your user account. Yes
Action GetDeviceStatus Yes
LogicalDeviceId The logical device identifier from AddLogicalDevice. Yes
Code Name Description
200 Success Indicates the request is successful.
400 InvalidParameter Indicates a request parameter does not comply with the associated constraints.
401 Unauthorized Indicates the user has been denied access to the requested resource.
500 InternalError Indicates an internal service error.
GetDeviceStatusResponse.xsd
Request
https://jetstream.tersosolutions.com/v1.5/application/?
AccessKey=MyAccessKey
&Action=GetDeviceStatus
&LogicalDeviceId=MyLogicalDeviceId
Response
<Jetstream xmlns="http://Jetstream.TersoSolutions.com/v1.5/GetDeviceStatusResponse">
  <Header />
  <GetDeviceStatusResponse>
    <MetricList>
      <Metric Name="online" Value="true" />
    </MetricList>
  </GetDeviceStatusResponse>
</Jetstream>