Skip to main content

ImportOrders

Contents

The Import Orders web service call imports all of the orders listed in the call into DRTrack. You can enter as many orders in one call as you would like.

When the orders pass SOAP validation, they are placed in an Order Import Queue until a recurring scheduled task processes the orders (typically set to run every 5 minutes). The Order Import Queue enables frequent calls without tying up resources and eliminates processing duplicated or previously sent orders.

If the account listed in the order already exists, the account will be updated with any new information (in accordance selected DRTrack settings). If the account listed in the order does not already exist, it will be added in DRTrack.

Schema

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/" xmlns:app="http://schemas.datacontract.org/2004/07/Appian.DRTrack.Entity.Schema.WebService" xmlns:arr="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:ImportOrders>
         <!--Optional:-->
         <tem:auth>
            <!--type: string-->
            <app:authenticationTokenField></app:authenticationTokenField>
         </tem:auth>
         <!--Optional:-->
         <tem:requestEnvelope>
            <app:dRStopEnvelopeField>
               <!--Zero or more repetitions:-->
               <app:DRStop>
                  <!--type: short-->
                  <app:aMAdjField>0</app:aMAdjField>
                  <!--type: dateTime-->
                  <app:aMEndField>0001-01-01T00:00:00</app:aMEndField>
                  <!--type: dateTime-->
                  <app:aMStartField>0001-01-01T00:00:00</app:aMStartField>
                  <!--type: string-->
                  <app:address2Field />
                  <!--type: string-->
                  <app:addressField>6994 NE 23rd St</app:addressField>
                  <!--type: string-->
                  <app:branchField>BAKERY TEST OKC</app:branchField>
                  <!--type: string-->
                  <app:cityField>Oklahoma City</app:cityField>
                  <!--type: boolean-->
                  <app:closeTWField>false</app:closeTWField>
                  <!--type: string-->
                  <app:colorField />
                  <app:contactField>John Doe</app:contactField>
                  <app:dRAccountScheduleField>
                     <!--type: dateTime-->
                     <app:activationDateField>0001-01-01T00:00:00</app:activationDateField>
                     <!--type: float-->
                     <app:frequencyField>0</app:frequencyField>
                     <!--type: int-->
                     <app:maxDaysBtwnDeliveriesField>0</app:maxDaysBtwnDeliveriesField>
                     <!--type: int-->
                     <app:minDaysBtwnDeliveriesField>0</app:minDaysBtwnDeliveriesField>
                     <app:profilesField/>
                     <!--type: int-->
                     <app:servicesPerDayField>0</app:servicesPerDayField>
                     <!--type: dateTime-->
                     <app:terminationDateField>0001-01-01T00:00:00</app:terminationDateField>
                  </app:dRAccountScheduleField>
                  <app:dRMasterStopEnvelopeField/>
                  <app:dRTimeWindowField>
                     <!--Zero or more repetitions:-->
                     <app:DRTimeWindow>
                        <!--type: dateTime-->
                        <app:closeField>0001-01-01T17:00:00</app:closeField>
                        <!--type: dateTime-->
                        <app:openField>0001-01-01T08:00:00</app:openField>
                        <!--type: string-->
                        <app:patternField>MTWRF</app:patternField>
                     </app:DRTimeWindow>
                  </app:dRTimeWindowField>
                  <app:dRUserFieldField>
                  	 <app:DRUserField>
                  		<app:nameField>Order Instructions</app:nameField>
                  		<app:valueField>Deliver to side door.</app:valueField>
                  	 </app:DRUserField>
                  </app:dRUserFieldField>
                  <app:dRVolumeField>
                     <!--Zero or more repetitions:-->
                     <app:DRVolume>
                        <!--type: string-->
                        <app:nameField>Trays</app:nameField>
                        <!--type: boolean-->
                        <app:noField>0</app:noField>
                        <app:noFieldSpecified>false</app:noFieldSpecified>
                        <!--type: decimal-->
                        <app:unloadRateField>0</app:unloadRateField>
                        <!--type: decimal-->
                        <app:valueField>48</app:valueField>
                     </app:DRVolume>
                  </app:dRVolumeField>
                  <!--type: int-->
                  <app:earlyBufferField />
                  <app:eqCodeField>@COLD</app:eqCodeField>
                  <app:fixedTimeField>15</app:fixedTimeField>
                  <app:geoFenceField>0</app:geoFenceField>
                  <!--type: string-->
                  <app:geoResultField>Level1</app:geoResultField>
                  <app:iD1Field>2240400</app:iD1Field>
                  <!--type: ImportAccountType - enumeration: [MODIFY,ADD]-->
                  <app:importAccountTypeField>MODIFY</app:importAccountTypeField>
                  <!--type: decimal-->
                  <app:lateBufferField />
                  <app:latitudeField>35.481918</app:latitudeField>
                  <!--type: decimal-->
                  <app:longitudeField>-97.508469</app:longitudeField>
                  <!--type: int-->
                  <app:maxSplitsField>0</app:maxSplitsField>
                  <app:nameField>AccountName</app:nameField>
                  <!--type: OnFinalize - enumeration: [DEFAULT,DELETE,LEAVE]-->
                  <app:onFinalizeField>DEFAULT</app:onFinalizeField>
                  <!--type: short-->
                  <app:pMAdjField>0</app:pMAdjField>
                  <!--type: dateTime-->
                  <app:pMEndField>0001-01-01T00:00:00</app:pMEndField>
                  <!--type: dateTime-->
                  <app:pMStartField>0001-01-01T00:00:00</app:pMStartField>
                  <!--type: decimal-->
                  <app:penaltyCostField>0</app:penaltyCostField>
                  <app:phoneField />
                  <!--type: int-->
                  <app:rotationField>0</app:rotationField>
                  <app:sizeField>0</app:sizeField>
                  <!--type: decimal-->
                  <app:sizeRestrictionField>0</app:sizeRestrictionField>
                  <!--type: string-->
                  <app:stateField>OK</app:stateField>
                  <app:symbolField />
                  <!--type: string-->
                  <app:zipField>73141-1016</app:zipField>
                  <!--type: int-->
                  <app:zoneField>0</app:zoneField>
                  <app:cumulativeDrvTmField />
                  <app:cumulativeWrkTmField />
                  <!--type: int-->
                  <app:legField>0</app:legField>
                  <!--type: int-->
                  <app:rtField>0</app:rtField>
                  <!--type: boolean-->
                  <app:selectedField>false</app:selectedField>
                  <!--type: int-->
                  <app:seqField>0</app:seqField>
                  <!--type: dateTime-->
                  <app:earliestDateField>0001-01-01T00:00:00</app:earliestDateField>
                  <!--type: string-->
                  <app:iD2Field>2091</app:iD2Field>
                  <!--type: dateTime-->
                  <app:latestDateField>0001-01-01T00:00:00</app:latestDateField>
                  <!--type: int-->
                  <app:priorityBumpField>0</app:priorityBumpField>
                  <!--type: int-->
                  <app:priorityField>0</app:priorityField>
                  <app:reservationIDField />
                  <app:typeField />
                  <!--type: string-->
                  <app:iD3Field />
                  <!--type: dateTime-->
                  <app:estimatedDeliveryDateField>2017-08-11T00:00:00</app:estimatedDeliveryDateField>
                  <!--type: ImportOrderType - enumeration: [Add,Modify,Delete,DeleteAll]-->
                  <app:importOrderTypeField>Modify</app:importOrderTypeField>
                  <!--type: int-->
                  <app:keyField>1</app:keyField>
                  <!--type: boolean-->
                  <app:keyFieldSpecified>false</app:keyFieldSpecified>
               </app:DRStop>
            </app:dRStopEnvelopeField>
         </tem:requestEnvelope>
      </tem:ImportOrders>
   </soapenv:Body>
</soapenv:Envelope>

Request Parameters

Any parameter that is required and not a string, must have a valid value. If it is a string, the value can be null. Also, all timestamps must be sent in UTC time.

(Note: Boolean parameter values should be lowercase true or false.)

ImportOrders

Name Description Type Required Sample Value
auth Optional, but the import will not work without it. Authentication No See Authentication
requestEnvelope Optional, but the import will not work without it. ImportOrdersRequestEnvelope No See ImportOrdersRequestEnvelope

Authentication

Name Description Type Required Sample Value
AuthenticationTokenField Retrieved from WS Call GetAuthenticationToken.
string
Yes dev1-appi-20160617175057-XXIB8E

ImportOrdersRequestEnvelope

Name Description Type Required Sample Value
DRStopEnvelopeField Contains the array of stops to be imported. ArrayOfDRStop Yes See ArrayOfDRStop

ArrayOfDRStop

Name Description Type Required Sample Value
DRStop Contains the stop information. DRStop No See DRStop

DRStop

Name Description Type Required Sample Value
aMAdjField The adjustment percent of the PM field.
short
Yes 0
aMEndField The end time of the adjustment period.
dateTime
Yes 2019-06-07T08:30:00-06:00
aMStartField The start time of the adjustment period.
dateTime
Yes 2019-06-07T08:30:00-06:00
address2Field The address 2 field.
string
Yes Suite A200
addressField The address field.
string
Yes 123 Main St.
branchField A branch entered in DRTrack.
string
Yes MAIN
cityField The city address field.
string
Yes Dallas
closeTWField Set to true, if you want to close the time window of the stop.
boolean
Yes false
colorField The color of the stop. Only used in DirectRoute.
string
Yes Red
contactField The stop’s contact name.
string
Yes Phil Dunphy
dRAccountScheduleField The account’s schedule for this stop. DRAccountSchedule Yes See DRAccountSchedule
dRMasterStopEnvelopeField How the master order is handled. ArrayOfDRStop Yes See ArrayOfDRStop
dRTimeWindowField The time window of the stop. ArrayOfDRTimeWindow Yes See ArrayOfDRTimeWindow
dRUserFieldField The user fields of the stop. ArrayOfDRUserField Yes See ArrayOfDRUserField
dRVolumeField The volumes of the stop. ArrayOfDRVolume Yes See ArrayOfDRVolume
earlyBufferField The buffer time the order can be delivered (in min). If null, send 0 (zero).
string
Yes 15
eqCodeField The equipment code for the stop.
string
Yes LG
fixedTimeField The fixed time it takes to deliver this stop (in minutes).
string
Yes 15
geoFenceField The geofence for this stop (in feet).
int
Yes 150
geoResultField The accuracy of the geocode.
string
Yes Level 1
iD1Field The account ID for the order.
string
Yes A123
importAccountTypeField How to import the account. See type for options. ImportAccountType Yes Modify
lateBufferField The buffer time the order can be delivered (in min). If null, send 0 (zero).
string
Yes 0
latitudeField The latitude coordinate of the stop.
decimal
Yes 35.481918
longitudeField The longitude coordinate of the stop.
decimal
Yes -97.508469
maxSplitsField The number of times this order can split (only for DirectRoute).
int
yes 2
nameField The account name.
string
Yes TMW Systems
onFinalizeField What happens to the order when the route is finalized. See type for options. OnFinalize Yes Default
pMAdjField The adjustment percent of the PM field.
short
Yes 0
pMEndField The end time of the adjustment period.
dateTime
Yes 2019-06-07T08:30:00-06:00
pMStartField The start time of the adjustment period.
dateTime
Yes 2019-06-07T08:30:00-06:00
penaltyCostField The penalty cost for a time violation on the route.
decimal
Yes 0
phoneField The phone number of the account.
string
Yes 405-555-1234
rotationField The orientation of the order in degrees.
int
Yes The orientation of the order in degrees.
sizeField The size of the icon used in Direct Route.
int
Yes 20
sizeRestrictionField The size restriction of the order.
decimal
Yes 100
stateField The address state of the order.
string
Yes OK
symbolField The symbol of the order for the display in DirectRoute.
string
Yes Circle
zipField The zip code of the order address (last 4 optional).
string
Yes 73141-1016
zoneField Default is 100. Used in conjunction with adj fields.
int
Yes 100
cumulativeDrvTmField Not in use.
string
Yes NULL
cumulativeWrkTmField Not in use.
string
Yes NULL
legField The leg the order should go on.
int
Yes 1
rtField The route the order should be placed on.
int
Yes 1
selectedField If the stop is selected when pulled into Direct Route.
boolean
Yes false
seqField The sequence of the stop.
int
Yes 1
earliestDateField The earliest date the stop can be delivered. Can be null.
dateTime
Yes 2019-06-07T08:30:00-06:00
iD2Field The order number of the order. Cannot be null.
string
Yes SO123
latestDateField The latest date the stop can be delivered. Can be null.
dateTime
Yes 2019-06-07T08:30:00-06:00
priorityBumpField The number to bump the priority of the order.
int
Yes 5
priorityField The priority of the order.
int
Yes 40
reservationIDField The reservation ID to reserve a time slot in Route Calendar.
string
Yes 34
typeField Not in use.
string
Yes Not in use.
iD3Field The line item ID.
string
Yes 12-34
estimatedDeliveryDateField The estimated delivery date of the order.
dateTime
Yes 2019-06-07T08:30:00-06:00
importOrderTypeField How the order is imported. See type for options. ImportOrderType Yes See ImportOrderType
keyField The key of the order in the web service call.
int
Yes 1
keyFieldSpecified If the key field was specified.
boolean
Yes false

DRAccountSchedule

Name Description Type Required Sample Value
activationDateField The activation date of the account.
dateTime
Yes 2019-06-07T08:30:00-06:00
frequencyField The frequency of deliveries for this account per week.
float
Yes 2
maxDaysBtwnDeliveriesField The maximum days between deliveries for this account per week.
int
Yes 3
minDaysBtwnDeliveriesField The minimum days between deliveries for this account per week.
int
Yes 3
profilesField The profile the account is tied too. array of
string
Yes Regular
servicesPerDayField The number of services this account receives per day.
int
yes 1
terminationDateField The termination date of the account.
dateTime
yes 2019-06-07T08:30:00-06:00

ArrayOfDRTimeWindow

Name Description Type Required Sample Value
DRTimeWindow An array of the time window of the order. DRTimeWindow No See DRTimeWindow

DRTimeWindow

Name Description Type Required Sample Value
closeField The close time of the order.
dateTime
Yes 2019-06-07T08:30:00-06:00
OpenField The open time of the order.
dateTime
Yes 2019-06-07T08:30:00-06:00
patternField The days the order can be delivered.
string
Yes SMTWRFA

ArrayOfDRUserField

Name Description Type Required Sample Value
DRUserField An array of all the user fields on this order. DRUserField No See DRUserField

DRUserField

Name Description Type Required Sample Value
nameField The name of the user field.
string
Yes Comments
valueField The value of the user field.
string
Yes Deliver product in from Main St.

ArrayOfDRVolume

Name Description Type Required Sample Value
volume An array of the volumes on this order. Volume No See Volume

Volume

Name Description Type Required Sample Value
nameField The name of the volume.
string
Yes Weight
noField Not in use.
int
Yes 0
noFieldSpecified Not in use.
boolean
Yes false
unloadRateField The unload rate of the volume per hour.
decimal
Yes 200
valueField The value of the volume.
decimal
Yes 400

ImportAccountType

Name Description
Modify The account will be modified.
Add The account will be added. If the account already exists, but another field is specified during the next transaction that doesn’t exists, the new field will be added.

OnFinalize

Name Description
Default The default behavior set in the DRTrack configuration.
Delete The order will be deleted when finalized.
Leave The order will stay on the route when finalized.

ImportOrderType

Name Description
Add The order will be added. If the order already exists, but a new field is specified during the next transaction that doesn’t exists, the new field will be added.
Modify The order will be modified to what was sent in the transaction.
Delete The order will be deleted. If a line item is specified, only the line item will be deleted.
DeleteAll The order will be deleted and any line items attached to the order.

Response Parameters

ImportOrdersResult

Name Description Type Sample Value
responseStatusField The response of the request. ResponseStatus See ResponseStatus

ResponseStatus

Name Description Type Sample Value
errorField Any error of the request will appear here. ArrayOfResponseStatusError See ArrayOfResponseStatusError
warningField Any warning of the request will appear here. ArrayOfResponseStatusWarning See ArrayOfResponseStatusWarning

ArrayOfResponseStatusError

Name Description Type Sample Value
ResponseStatusError An array of any errors. ResponseStatusError See ResponseStatusError

ArrayOfResponseStatusWarning

Name Description Type Sample Value
ResponseStatusWarning An array of any warnings. ResponseStatusWarning See ResponseStatusWarning

ResponseStatusError

Name Description Type Sample Value
codeField The code of the error.
int
100
messageField The message of the error.
string
Could not parse the XML.

ResponseStatusWarning

Name Description Type Sample Value
codeField The code of the warning.
int
100
messageField The message of the warning.
string
Could not parse the XML.

Sample Code

private void button1_Click(object sender, EventArgs e)
        {
            try
            {
                DateTime importDate = DateTime.Now.AddDays(1);
                var authentication = GetAuthenticationObj();
                ImportOrdersRequestEnvelope request = new ImportOrdersRequestEnvelope
                {
                    dRStopEnvelopeField = GetStops()
                };

                request.dRStopEnvelopeField[0].estimatedDeliveryDateField = importDate;
                ImportOrdersResponseEnvelope response = wc.ImportOrders(authentication, request);
            }
            catch (Exception ex)
            {

            }
        }

Sample DRStop

private static DRStop[] GetStops()
        {
            List<DRStop> drStopList =
                new List<DRStop>();
            {
                {
                    DRStop stop1 = new DRStop
                    {
                        keyField = 1,
                        aMAdjField = 0,
                        aMEndField = Convert.ToDateTime("0001-01-01T00:00:00"),
                        aMStartField = Convert.ToDateTime("0001-01-01T00:00:00"),
                        closeTWField = false,
                        colorField = "green",
                        contactField = "GMan",
                        importOrderTypeField = ImportOrderType.Modify,
                        estimatedDeliveryDateField = Convert.ToDateTime(DateTime.Now.AddDays(1)),
                        branchField = "OKC",
                        nameField = "Home Depot #3909",
                        iD1Field = "WS3909",
                        iD2Field = "t3-3940",
                        reservationIDField = null,
                        iD3Field = "BG20886",
                        addressField = "7620 Nw Expressway",
                        address2Field = null,
                        cityField = "Oklahoma City",
                        stateField = "OK",
                        zipField = "73132",
                        fixedTimeField = "PT15M",
                        maxSplitsField = 0,
                        geoFenceField = 0,
                        geoResultField = null,
                        earlyBufferField = null,
                        lateBufferField = null,
                        pMAdjField = 0,
                        pMEndField = Convert.ToDateTime("0001-01-01T00:00:00"),
                        pMStartField = Convert.ToDateTime("0001-01-01T00:00:00"),
                        penaltyCostField = 0,
                        phoneField = "405-773-6077",
                        sizeField = 15,
                        sizeRestrictionField = 0,
                        symbolField = null,
                        zoneField = 0,
                        cumulativeDrvTmField = null,
                        cumulativeWrkTmField = null,
                        legField = 0,
                        rtField = 0,
                        seqField = 0,
                        eqCodeField = "LG",
                        dRVolumeField = new DRVolume[2]
                    };
                    stop1.dRVolumeField[0] = new DRVolume { noField = 1, nameField = "Weight", valueField = Convert.ToDecimal(1700) };
                    stop1.dRVolumeField[1] = new DRVolume { noField = 2, nameField = "Cube", valueField = Convert.ToDecimal(75) };
                    stop1.dRTimeWindowField = new DRTimeWindow[1];
                    stop1.dRTimeWindowField[0] = new DRTimeWindow
                    {
                        openField = Convert.ToDateTime("0001-01-01T08:00:00"),
                        closeField = Convert.ToDateTime("0001-01-01T17:00:00"),
                        patternField = "MTWRF"
                    };
                    stop1.latitudeField = Convert.ToDecimal(0);
                    stop1.longitudeField = Convert.ToDecimal(0);
                    stop1.dRUserFieldField = new DRUserField[2];
                    stop1.dRUserFieldField[0] = new DRUserField { nameField = "Item", valueField = "John Deere D170" };
                    stop1.dRUserFieldField[1] = new DRUserField { nameField = "Price", valueField = "2899.00" };
                    drStopList.Add(stop1);
                }
            }
            return drStopList.ToArray();
        }

Sample XML Request

<?xml version="1.0" encoding="utf-8"?>
<ImportOrdersRequestEnvelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <dRStopEnvelopeField>
    <DRStop>
      <aMAdjField>0</aMAdjField>
      <aMEndField>0001-01-01T00:00:00</aMEndField>
      <aMStartField>0001-01-01T00:00:00</aMStartField>
      <addressField>7620 Nw Expressway</addressField>
      <branchField>OKC</branchField>
      <cityField>Oklahoma City</cityField>
      <closeTWField>false</closeTWField>
      <colorField>green</colorField>
      <contactField>GMan</contactField>
      <dRTimeWindowField>
        <DRTimeWindow>
          <closeField>0001-01-01T17:00:00</closeField>
          <openField>0001-01-01T08:00:00</openField>
          <patternField>MTWRF</patternField>
        </DRTimeWindow>
      </dRTimeWindowField>
      <dRUserFieldField>
        <DRUserField>
          <nameField>Item</nameField>
          <valueField>John Deere D170</valueField>
        </DRUserField>
        <DRUserField>
          <nameField>Price</nameField>
          <valueField>2899.00</valueField>
        </DRUserField>
      </dRUserFieldField>
      <dRVolumeField>
        <DRVolume>
          <nameField>Weight</nameField>
          <noFieldSpecified>false</noFieldSpecified>
          <unloadRateField>0</unloadRateField>
          <valueField>1700</valueField>
        </DRVolume>
        <DRVolume>
          <nameField>Cube</nameField>
          <noFieldSpecified>false</noFieldSpecified>
          <unloadRateField>0</unloadRateField>
          <valueField>75</valueField>
        </DRVolume>
      </dRVolumeField>
      <eqCodeField>LG</eqCodeField>
      <fixedTimeField>PT15M</fixedTimeField>
      <geoFenceField>0</geoFenceField>
      <iD1Field>WS3909</iD1Field>
      <importAccountTypeField>MODIFY</importAccountTypeField>
      <latitudeField>0</latitudeField>
      <longitudeField>0</longitudeField>
      <maxSplitsField>0</maxSplitsField>
      <nameField>Home Depot #3909</nameField>
      <onFinalizeField>DEFAULT</onFinalizeField>
      <pMAdjField>0</pMAdjField>
      <pMEndField>0001-01-01T00:00:00</pMEndField>
      <pMStartField>0001-01-01T00:00:00</pMStartField>
      <penaltyCostField>0</penaltyCostField>
      <phoneField>405-773-6077</phoneField>
      <rotationField>0</rotationField>
      <sizeField>15</sizeField>
      <sizeRestrictionField>0</sizeRestrictionField>
      <stateField>OK</stateField>
      <zipField>73132</zipField>
      <zoneField>0</zoneField>
      <legField>0</legField>
      <rtField>0</rtField>
      <selectedField>false</selectedField>
      <seqField>0</seqField>
      <earliestDateField>0001-01-01T00:00:00</earliestDateField>
      <iD2Field>ts3-3940</iD2Field>
      <latestDateField>0001-01-01T00:00:00</latestDateField>
      <priorityBumpField>0</priorityBumpField>
      <priorityField>0</priorityField>
      <iD3Field>BG20886</iD3Field>
      <estimatedDeliveryDateField>2017-03-14T20:33:40.7154542-05:00</estimatedDeliveryDateField>
      <importOrderTypeField>Modify</importOrderTypeField>
      <keyFieldSpecified>false</keyFieldSpecified>
    </DRStop>
    <DRStop>
      <aMAdjField>0</aMAdjField>
      <aMEndField>0001-01-01T00:00:00</aMEndField>
      <aMStartField>0001-01-01T00:00:00</aMStartField>
      <addressField>3040 Nw 59th Street</addressField>
      <branchField>OKC</branchField>
      <cityField>Oklahoma City</cityField>
      <closeTWField>false</closeTWField>
      <dRTimeWindowField>
        <DRTimeWindow>
          <closeField>0001-01-01T17:00:00</closeField>
          <openField>0001-01-01T08:00:00</openField>
          <patternField>MTWRF</patternField>
        </DRTimeWindow>
      </dRTimeWindowField>
      <dRUserFieldField>
        <DRUserField>
          <nameField>Item</nameField>
          <valueField>John Deere D125</valueField>
        </DRUserField>
        <DRUserField>
          <nameField>Price</nameField>
          <valueField>1799.00</valueField>
        </DRUserField>
      </dRUserFieldField>
      <dRVolumeField>
        <DRVolume>
          <nameField>Weight</nameField>
          <noFieldSpecified>false</noFieldSpecified>
          <unloadRateField>0</unloadRateField>
          <valueField>1700</valueField>
        </DRVolume>
        <DRVolume>
          <nameField>Cube</nameField>
          <noFieldSpecified>false</noFieldSpecified>
          <unloadRateField>0</unloadRateField>
          <valueField>75</valueField>
        </DRVolume>
      </dRVolumeField>
      <eqCodeField>LG</eqCodeField>
      <fixedTimeField>PT15M</fixedTimeField>
      <geoFenceField>0</geoFenceField>
      <iD1Field>WS3909</iD1Field>
      <importAccountTypeField>MODIFY</importAccountTypeField>
      <latitudeField>0</latitudeField>
      <longitudeField>0</longitudeField>
      <maxSplitsField>0</maxSplitsField>
      <nameField>Home Depot #3902</nameField>
      <onFinalizeField>DEFAULT</onFinalizeField>
      <pMAdjField>0</pMAdjField>
      <pMEndField>0001-01-01T00:00:00</pMEndField>
      <pMStartField>0001-01-01T00:00:00</pMStartField>
      <penaltyCostField>0</penaltyCostField>
      <phoneField>405-843-5008</phoneField>
      <rotationField>0</rotationField>
      <sizeField>15</sizeField>
      <sizeRestrictionField>0</sizeRestrictionField>
      <stateField>OK</stateField>
      <zipField>73112</zipField>
      <zoneField>0</zoneField>
      <legField>0</legField>
      <rtField>0</rtField>
      <selectedField>false</selectedField>
      <seqField>0</seqField>
      <earliestDateField>0001-01-01T00:00:00</earliestDateField>
      <iD2Field>ts3-3940</iD2Field>
      <latestDateField>0001-01-01T00:00:00</latestDateField>
      <priorityBumpField>0</priorityBumpField>
      <priorityField>0</priorityField>
      <iD3Field>BG20874</iD3Field>
      <estimatedDeliveryDateField>2017-03-14T20:33:44.0441178-05:00</estimatedDeliveryDateField>
      <importOrderTypeField>Modify</importOrderTypeField>
      <keyFieldSpecified>false</keyFieldSpecified>
    </DRStop>
    <DRStop>
      <aMAdjField>0</aMAdjField>
      <aMEndField>0001-01-01T00:00:00</aMEndField>
      <aMStartField>0001-01-01T00:00:00</aMStartField>
      <addressField>14201 N Pennsylvania Ave</addressField>
      <branchField>OKC</branchField>
      <cityField>Oklahoma City</cityField>
      <closeTWField>false</closeTWField>
      <dRTimeWindowField>
        <DRTimeWindow>
          <closeField>0001-01-01T17:00:00</closeField>
          <openField>0001-01-01T08:00:00</openField>
          <patternField>MTWRF</patternField>
        </DRTimeWindow>
      </dRTimeWindowField>
      <dRUserFieldField>
        <DRUserField>
          <nameField>Item</nameField>
          <valueField>John Deere D155</valueField>
        </DRUserField>
        <DRUserField>
          <nameField>Price</nameField>
          <valueField>2199.00</valueField>
        </DRUserField>
      </dRUserFieldField>
      <dRVolumeField>
        <DRVolume>
          <nameField>Weight</nameField>
          <noFieldSpecified>false</noFieldSpecified>
          <unloadRateField>0</unloadRateField>
          <valueField>1700</valueField>
        </DRVolume>
        <DRVolume>
          <nameField>Cube</nameField>
          <noFieldSpecified>false</noFieldSpecified>
          <unloadRateField>0</unloadRateField>
          <valueField>75</valueField>
        </DRVolume>
      </dRVolumeField>
      <eqCodeField>LG</eqCodeField>
      <fixedTimeField>PT15M</fixedTimeField>
      <geoFenceField>0</geoFenceField>
      <iD1Field>WS3919</iD1Field>
      <importAccountTypeField>MODIFY</importAccountTypeField>
      <latitudeField>0</latitudeField>
      <longitudeField>0</longitudeField>
      <maxSplitsField>0</maxSplitsField>
      <nameField>Home Depot #3919</nameField>
      <onFinalizeField>DEFAULT</onFinalizeField>
      <pMAdjField>0</pMAdjField>
      <pMEndField>0001-01-01T00:00:00</pMEndField>
      <pMStartField>0001-01-01T00:00:00</pMStartField>
      <penaltyCostField>0</penaltyCostField>
      <phoneField>405-749-1590</phoneField>
      <rotationField>0</rotationField>
      <sizeField>15</sizeField>
      <sizeRestrictionField>0</sizeRestrictionField>
      <stateField>OK</stateField>
      <zipField>73134</zipField>
      <zoneField>0</zoneField>
      <legField>0</legField>
      <rtField>0</rtField>
      <selectedField>false</selectedField>
      <seqField>0</seqField>
      <earliestDateField>0001-01-01T00:00:00</earliestDateField>
      <iD2Field>ts3-3919</iD2Field>
      <latestDateField>0001-01-01T00:00:00</latestDateField>
      <priorityBumpField>0</priorityBumpField>
      <priorityField>0</priorityField>
      <iD3Field>BG20876</iD3Field>
      <estimatedDeliveryDateField>2017-03-14T20:33:44.0441178-05:00</estimatedDeliveryDateField>
      <importOrderTypeField>Modify</importOrderTypeField>
      <keyFieldSpecified>false</keyFieldSpecified>
    </DRStop>
    <DRStop>
      <aMAdjField>0</aMAdjField>
      <aMEndField>0001-01-01T00:00:00</aMEndField>
      <aMStartField>0001-01-01T00:00:00</aMStartField>
      <addressField>3040 Nw 59th Street</addressField>
      <branchField>OKC</branchField>
      <cityField>Oklahoma City</cityField>
      <closeTWField>false</closeTWField>
      <dRTimeWindowField>
        <DRTimeWindow>
          <closeField>0001-01-01T17:00:00</closeField>
          <openField>0001-01-01T08:00:00</openField>
          <patternField>MTWRF</patternField>
        </DRTimeWindow>
      </dRTimeWindowField>
      <dRUserFieldField>
        <DRUserField>
          <nameField>Item</nameField>
          <valueField>John Deere D125</valueField>
        </DRUserField>
        <DRUserField>
          <nameField>Price</nameField>
          <valueField>1799.00</valueField>
        </DRUserField>
      </dRUserFieldField>
      <dRVolumeField>
        <DRVolume>
          <nameField>Weight</nameField>
          <noFieldSpecified>false</noFieldSpecified>
          <unloadRateField>0</unloadRateField>
          <valueField>1700</valueField>
        </DRVolume>
        <DRVolume>
          <nameField>Cube</nameField>
          <noFieldSpecified>false</noFieldSpecified>
          <unloadRateField>0</unloadRateField>
          <valueField>75</valueField>
        </DRVolume>
      </dRVolumeField>
      <eqCodeField>LG</eqCodeField>
      <fixedTimeField>PT15M</fixedTimeField>
      <geoFenceField>0</geoFenceField>
      <iD1Field>WS3908</iD1Field>
      <importAccountTypeField>MODIFY</importAccountTypeField>
      <latitudeField>0</latitudeField>
      <longitudeField>0</longitudeField>
      <maxSplitsField>0</maxSplitsField>
      <nameField>Home Depot #3902</nameField>
      <onFinalizeField>DEFAULT</onFinalizeField>
      <pMAdjField>0</pMAdjField>
      <pMEndField>0001-01-01T00:00:00</pMEndField>
      <pMStartField>0001-01-01T00:00:00</pMStartField>
      <penaltyCostField>0</penaltyCostField>
      <phoneField>405-843-5008</phoneField>
      <rotationField>0</rotationField>
      <sizeField>15</sizeField>
      <sizeRestrictionField>0</sizeRestrictionField>
      <stateField>OK</stateField>
      <zipField>73112</zipField>
      <zoneField>0</zoneField>
      <legField>0</legField>
      <rtField>0</rtField>
      <selectedField>false</selectedField>
      <seqField>0</seqField>
      <earliestDateField>0001-01-01T00:00:00</earliestDateField>
      <iD2Field>ts3-3908</iD2Field>
      <latestDateField>0001-01-01T00:00:00</latestDateField>
      <priorityBumpField>0</priorityBumpField>
      <priorityField>0</priorityField>
      <iD3Field>BG20874</iD3Field>
      <estimatedDeliveryDateField>2017-03-14T20:33:44.0441178-05:00</estimatedDeliveryDateField>
      <importOrderTypeField>Modify</importOrderTypeField>
      <keyFieldSpecified>false</keyFieldSpecified>
    </DRStop>
    <DRStop>
      <aMAdjField>0</aMAdjField>
      <aMEndField>0001-01-01T00:00:00</aMEndField>
      <aMStartField>0001-01-01T00:00:00</aMStartField>
      <addressField>14201 N Pennsylvania Ave</addressField>
      <branchField>OKC</branchField>
      <cityField>Oklahoma City</cityField>
      <closeTWField>false</closeTWField>
      <dRTimeWindowField>
        <DRTimeWindow>
          <closeField>0001-01-01T17:00:00</closeField>
          <openField>0001-01-01T08:00:00</openField>
          <patternField>MTWRF</patternField>
        </DRTimeWindow>
      </dRTimeWindowField>
      <dRUserFieldField>
        <DRUserField>
          <nameField>Item</nameField>
          <valueField>John Deere D155</valueField>
        </DRUserField>
        <DRUserField>
          <nameField>Price</nameField>
          <valueField>2199.00</valueField>
        </DRUserField>
      </dRUserFieldField>
      <dRVolumeField>
        <DRVolume>
          <nameField>Weight</nameField>
          <noFieldSpecified>false</noFieldSpecified>
          <unloadRateField>0</unloadRateField>
          <valueField>1700</valueField>
        </DRVolume>
        <DRVolume>
          <nameField>Cube</nameField>
          <noFieldSpecified>false</noFieldSpecified>
          <unloadRateField>0</unloadRateField>
          <valueField>75</valueField>
        </DRVolume>
      </dRVolumeField>
      <eqCodeField>LG</eqCodeField>
      <fixedTimeField>PT15M</fixedTimeField>
      <geoFenceField>0</geoFenceField>
      <iD1Field>WS3907</iD1Field>
      <importAccountTypeField>MODIFY</importAccountTypeField>
      <latitudeField>0</latitudeField>
      <longitudeField>0</longitudeField>
      <maxSplitsField>0</maxSplitsField>
      <nameField>Home Depot #3919</nameField>
      <onFinalizeField>DEFAULT</onFinalizeField>
      <pMAdjField>0</pMAdjField>
      <pMEndField>0001-01-01T00:00:00</pMEndField>
      <pMStartField>0001-01-01T00:00:00</pMStartField>
      <penaltyCostField>0</penaltyCostField>
      <phoneField>405-749-1590</phoneField>
      <rotationField>0</rotationField>
      <sizeField>15</sizeField>
      <sizeRestrictionField>0</sizeRestrictionField>
      <stateField>OK</stateField>
      <zipField>73134</zipField>
      <zoneField>0</zoneField>
      <legField>0</legField>
      <rtField>0</rtField>
      <selectedField>false</selectedField>
      <seqField>0</seqField>
      <earliestDateField>0001-01-01T00:00:00</earliestDateField>
      <iD2Field>ts3-3907</iD2Field>
      <latestDateField>0001-01-01T00:00:00</latestDateField>
      <priorityBumpField>0</priorityBumpField>
      <priorityField>0</priorityField>
      <iD3Field>BG20876</iD3Field>
      <estimatedDeliveryDateField>2017-03-14T20:33:44.0441178-05:00</estimatedDeliveryDateField>
      <importOrderTypeField>Modify</importOrderTypeField>
      <keyFieldSpecified>false</keyFieldSpecified>
    </DRStop>
  </dRStopEnvelopeField>
</ImportOrdersRequestEnvelope>

Sample XML Response

<?xml version="1.0" encoding="utf-8"?>
<ImportOrdersResponseEnvelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ExtensionData />
  <responseStatusField>
    <ExtensionData />
    <errorField />
    <warningField />
  </responseStatusField>
</ImportOrdersResponseEnvelope>
Last updated January 9, 2023.
Contents