Skip to main content

Field Computer - Job Data

Each Field Computer can have many files associated with it. Some of these files come from the Field Computer itself such as As Applied Files and Yield Data (referred to as Job Data by the API). Others are sent to the Field Computer, such as Prescription Maps. The Slingshot API provides methods for manipulating the Field Computer associations of these files.

When accessing /FieldComputers/{id}/JobData via GET, the Slingshot API Server will return an XML document that contains the URIs of the Job Data Files that are associated with this Field Computer. Additional details regarding these Job Data Files can be retrieved by issuing a GET request on any of these returned URIs.

HTTP Method and URL

GET https://api.ravenslingshot.com/fieldcomputers/{id}/jobdata

URL Parameters

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

HTTP Query Parameters

To learn more about these parameters, read about Result Set Paging.

ParameterDescription
pagesize[Optional] Number of rows to return for a result page.
page[Optional] Specific result page to return.
minid[Optional] Minimum file ID in results.

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" encoding="utf-8"?-->
<slingshotindex xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.ravenslingshot.com/SlingshotIndex/2010">
<totalcount>8</totalcount>
<pagesize>20</pagesize>
<ispreviouspage>false</ispreviouspage>
<isnextpage>false</isnextpage>
<pageindex>0</pageindex>
<totalpages>1</totalpages>
<jobdata>
<id>7923138</id>
<name>Boom Switches.jdp.zip</name>
<uri>https://api.ravenslingshot.com/JobData/7923138</uri>
<subtype>As Applied</subtype>
</jobdata>
<jobdata>
<id>7922473</id>
<name>Boom Switches.jdp.zip</name>
<uri>https://api.ravenslingshot.com/JobData/7922473</uri>
<subtype>As Applied</subtype>
</jobdata>
</slingshotindex>

JSON

{
"JobData": [
{
"ID": 7923138,
"Name": "Boom Switches.jdp.zip",
"Uri": "https://api.ravenslingshot.com/JobData/7923138",
"SubType": "As Applied"
},
{
"ID": 7922473,
"Name": "Boom Switches.jdp.zip",
"Uri": "https://api.ravenslingshot.com/JobData/7922473",
"SubType": "As Applied"
}
],
"TotalCount": 8,
"PageSize": 20,
"IsPreviousPage": false,
"IsNextPage": false,
"PageIndex": 0,
"TotalPages": 1
}