Skip to main content

Field Hub - Detail

When accessing /FieldHubs/{id} via GET, the Slingshot API Server will respond with a Slingshot Index document that describes the details of the Field Hub identified by {id}.

HTTP Method and URL

GET https://api.ravenslingshot.com/fieldhubs/{id}

URL Parameters

ParameterDescription
idThe {id} portion of the URI is taken from the XML Document returned by a GET request to the /FieldHub URI.

HTTP Query Parameters

None.

HTTP Headers

To learn more about these parameters, read about Authentication.

HeaderDescription
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"?-->
<slingshotindex xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.ravenslingshot.com/SlingshotIndex/2010">
<totalcount>1</totalcount>
<pagesize>20</pagesize>
<ispreviouspage>false</ispreviouspage>
<isnextpage>false</isnextpage>
<pageindex>0</pageindex>
<totalpages>1</totalpages>
<fieldhubdetail>
<id>12345678910</id>
<name>18March2013</name>
<make>BlueTree Wireless-Sixnet</make>
<model>BT-5600v2</model>
<fieldcomputer>54321</fieldcomputer>
<report>
<id>197969991</id>
<deviceid>12345678910</deviceid>
<subtype>Field Hub</subtype>
<lat>43.550506666667</lat>
<lon>-96.7248855</lon>
<alt>447</alt>
<speed>0</speed>
<direction>46</direction>
<valid>true</valid>
<gpsdatetime>2013-04-09T21:57:43ZZ</gpsdatetime>
<active>false</active>
<event>30</event>
<rssi>-55</rssi>
<ignition>true</ignition>
<gpsfix>1</gpsfix>
<gpssat>10</gpssat>
<digitalinput1>false</digitalinput1>
<digitalinput2>false</digitalinput2>
<digitalinput3>false</digitalinput3>
<digitalinput4>false</digitalinput4>
<digitaloutput1>false</digitaloutput1>
<digitaloutput2>false</digitaloutput2>
<digitaloutput3>false</digitaloutput3>
<analoginput1>0</analoginput1>
<analoginput2>0</analoginput2>
<analoginput3>0</analoginput3>
<analoginput4>0</analoginput4>
<batteryvoltage>13.8065</batteryvoltage>
<carrier>Verizon</carrier>
<odometer>0</odometer>
<roam>00</roam>
<service>1xRTT</service>
<serverdatetime>2012-11-09T09:59:24Z</serverdatetime>
</report>
</fieldhubdetail>
</slingshotindex>

JSON

{
"FieldHubDetail": [
{
"ID": "12345678910",
"Name": "18March2013",
"Make": "BlueTree Wireless-Sixnet",
"Model": "BT-5600v2",
"FieldComputer": "54321",
"Report": {
"ID": "197969991",
"DeviceId": "12345678910",
"SubType": "Field Hub",
"Lat": 43.550506666667,
"Lon": -96.7248855,
"Alt": 447,
"Speed": 0,
"Direction": 46,
"Valid": true,
"GPSDateTime": "2013-04-09T21:57:43ZZ",
"Active": false,
"Event": "30",
"RSSI": -55,
"Ignition": true,
"GPSFix": 1,
"GPSSat": 10,
"DigitalInput1": false,
"DigitalInput2": false,
"DigitalInput3": false,
"DigitalInput4": false,
"DigitalOutput1": false,
"DigitalOutput2": false,
"DigitalOutput3": false,
"AnalogInput1": 0,
"AnalogInput2": 0,
"AnalogInput3": 0,
"AnalogInput4": 0,
"BatteryVoltage": 13.8065,
"Carrier": "Verizon",
"Odometer": 0,
"Roam": "00",
"Service": "1xRTT",
"ServerDateTime": "2012-11-09T09:59:24Z"
}
}
],
"TotalCount": 1,
"PageSize": 20,
"IsPreviousPage": false,
"IsNextPage": false,
"PageIndex": 0,
"TotalPages": 1
}