GET
/source/{sourceID}/order/{orderID}/status
Retrieve Work Order Status
Work Order Status Definitions
/GET /source/{sourceID} /order/{orderID} /status
Retrieve Work Order Status
 
Request URI
GET https://api.soa-proxy.deere.com/aglogic/source/{sourceId}/order/{orderId}/status
Accept: */*
 
Request Parameters
This resource does not currently take any filters/request parameters.
 
Response Details
Field Type Example Description
order-id string 5 Order ID
field-id string 1 Field ID
farm-id string 1 Farm ID
client-id string 1 Client ID
status string COMPLETE Work Order Status
completion-date string 2015-08-20 Completion Date
completed-acres decimal 252.0 Number of completed acres.
reviewed boolean false Indicates whether this status has been reviewed.
work-records --- See sample response below. Includes the scheduled and completed dates, completed acres, applicator details, comments, and observations from each work order.
 
Sample Response in XML
https://api.soa-proxy.deere.com/aglogic/source/223031/order/5/status

<?xml version="1.0" encoding="UTF-8"?>
<work-order-status>
  <order-id>5</order-id>
  <field-id>1</field-id>
  <farm-id>1</farm-id>
  <client-id>1</client-id>
  <status>COMPLETE</status>
  <completion-date>2015-08-20</completion-date>
  <completed-acres>252.0</completed-acres>
  <reviewed>false</reviewed>
  <work-records>
    <work-record>
      <work-scheduled>2015-08-20</work-scheduled>
      <work-completed>2015-08-20</work-completed>
      <completed-acres>126.0</completed-acres>
      <applicator>
      <operator />
        <equipment>Test Applicator Demo</equipment>
      </applicator>
      <comments />
      <signature>https://aglogic.deere.com/nulog/v1/workrecord/1/signature</signature>
      <observations>
        <observation>
          <name>TOTAL_VOLUME</name>
          <value>0.0</value>
          <uom />
        </observation>
        <observation>
          <name>VOLUME</name>
          <value>0.0</value>
          <uom />
        </observation>
        <observation>
          <name>WEIGHT</name>
          <value>0.0</value>
          <uom />
        </observation>
      </observations>
    </work-record>
    <work-record>
      <work-scheduled>2015-08-20</work-scheduled>
      <work-completed>2015-08-20</work-completed>
      <completed-acres>126.0</completed-acres>
      <applicator>
        <operator />
        <equipment>Test Applicator Demo</equipment>
      </applicator>
      <comments />
      <signature>https://aglogic.deere.com/nulog/v1/workrecord/1/signature</signature>
      <observations>
        <observation>
          <name>TOTAL_VOLUME</name>
          <value>0.0</value>
          <uom />
        </observation>
        <observation>
          <name>VOLUME</name>
          <value>0.0</value>
          <uom />
        </observation>
        <observation>
          <name>WEIGHT</name>
          <value>0.0</value>
          <uom />
        </observation>
      </observations>
    </work-record>
  </work-records>
</work-order-status>
 
Response Codes
Codes  
200 Success.
401 Unauthorized. There is a problem with the credentials provided.
404 Problem with the URL. Check that the URL matches the pattern described above, and that the orderId is known to AgLogic.
500 Server error. An unexpected error occurred on the server processing your post.
Work Order Status Definitions
Work Order Status Definitions
A work order will progress through a few states from the time it enters AgLogic™, until it is completed. The BMS can request the status of a work order at any time.
 
   
order id This is the same identifier used to post the original work order.
status Unassigned, Assigned or Complete.
last update Timestamp of last status change.
completion date If the work order is complete, it will have a complete date.
complete acres Number of acres that have been completed on this order to date.
reviewed Boolean indicator that the order has been reviewed via the AgLogic web application.
work records For every assignment to an applicator to do perform work on the order, there will a work record.
work scheduled Date work is scheduled to be performed.
work completed Date work was actually completed. Note that this may not be the date that ALL work for the work order was completed.
completed acres Number of acres completed.
applicator The applicator that either did the work, or is scheduled to do the work.
operator The person doing the application. Note: This is not currently captured in AgLogic.
equipment Name of the equipment used in the application.
comments Textual comments associated with this work.
signature Link to the captured signature associated with this work. Note that the client has to do a separate web request to get the signature file, and the link to retrieve the file is provided here.
attachment Link to an attachment file associated with this work. Note that the client has to do a separate web request to get the attached file, and the link to retrieve the file is provided here.
observations There may be observations made when the work is performed, such as wind speed, temperature, etc. These observations are captured here. An observation has a name, a value, and optionally a unit of measure. The value can be either a single value or a value range. A single value might be something like “NE” for wind direction. An example range would be “10 – 20 MPH” for wind speed.
actuals The original work order specified the products to be applied, along with the quantity and rate. If the quantity or rate actually used was different than what was specified, the actual value can be captured here. These actual values can be specified at both the work order level (totals), or at the line item level. The line item will be identified by a product id.