Field Computer - Detail
When accessing /FieldComputers/{id}
via GET, the Slingshot API Server will respond with a Field Computer Details XML document that describes the details of the Field Computer identified by {id}
. Viper Pro and Envizio Pro are not supported. FieldHubID identifies the ID of the last Field Hub that was connected to that Field Computer.
HTTP Method and URL
GET https://api.ravenslingshot.com/fieldcomputers/{id}
URL Parameters
Parameter | Description |
---|---|
id | The {id} portion of the URI is taken from the XML Document returned by a GET request to the /FieldComputers URI. |
HTTP Query Parameters
None.
HTTP Headers
To learn more about these parameters, read about Authentication.
Header Name | Description |
---|---|
X-SS-AccessKey | [Required] Token issued to a Slingshot user from the Raven Slingshot Portal Server. |
X-SS-APIKey | [Required] Token issued to the Slingshot developer from Raven. |
X-SS-Signature | [Required] The signature generated for a specific request. |
X-SS-TimeStamp | [Required] The timestamp of when the request was generated. |
Sample Responses
XML
<!--?xml version="1.0" encoding="utf-8"?-->
<fieldcomputerdetail xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.ravenslingshot.com/FieldComputerDetail 2010">
<id>6565</id>
<name>30Nov2012</name>
<devicetype>Viper Pro</devicetype>
<status>Not In Job</status>
<remoteaccess>false</remoteaccess>
<webaccess>false</webaccess>
<fieldhubid>09613471299</fieldhubid>
<lastreportdate>2012-11-30T19:59:57Z</lastreportdate>
</fieldcomputerdetail>
JSON
{
"ID": 6565,
"Name": "30Nov2012",
"DeviceType": "Viper Pro",
"Status": "Not In Job",
"RemoteAccess": false,
"WebAccess": false,
"FieldHubID": "09613471299",
"LastReportDate": "2012-11-30T19:59:57Z"
}