PUT SalesOrderV2/PutSalesOrderV2
Updates a Sales Order
Request Information
URI Parameters
Body Parameters
Object used to update an existing Sales Order in the database.
ClsSalesOrderUpdateName | Description | Type | Additional Information |
---|---|---|---|
SalesOrderGUID |
The globally unique identifier that represents this Sales Order |
globally unique identifier |
Required (Hexadecimal 8-4-4-4-12) |
OrderNum |
A document number counter that is used to represent this Sales Order. Used on the printout and displayed for selection of the Sales Order throughout Agvance. Populate this value and leave SalesOrderGUID = GUID.Empty {00000000-0000-0000-0000-000000000000} to use this value to find the Sales Order in Agvance to update |
integer |
Range: inclusive between 0 and 2147483647 |
OrderDate |
The date the Sales Order was created |
string |
Required Data type: DateTime Format must be MM/dd/yyyy |
BillComment |
The billing comment of the Sales Order |
string |
Max length: 80 |
EstDelDate |
Estimated date of product delivery to the customer |
string |
Required Data type: DateTime Format must be MM/dd/yyyy |
PickupOrDeliver |
The type of Sales Order. Indicates the purpose of what will be done with the products on this order |
EnumPickupOrDeliver |
Required |
Status |
The customer approved status of the Sales Order |
EnumStatus |
Required |
ShipVia |
Method of shipment |
string |
Max length: 25 |
ShipTo |
The destination address of the Sales Order |
string |
Max length: 50 |
County |
The Agvance ID of the County of the destination address for the Sales Order |
string |
Max length: 60 |
Territory |
A sales tool that can be used to group Sales Orders |
string |
Max length: 15 |
ControlNum |
A value that may be used to reference an internal control number (such as hand ticket numbers) associated with the Sales Order |
string |
Max length: 10 |
SalespersonId |
The Agvance ID of the Salesperson associated with this Sales Order |
string |
Max length: 15 |
CropId |
The Agvance ID of the Crop associated with the Sales Order. If set, will be the value used on the Sales Order |
string |
Max length: 15 |
CropGuid |
The Agvance globally unique identifier for the Crop associated with the Sales Order |
globally unique identifier |
(Hexadecimal 8-4-4-4-12) |
CustPo |
Customer provided purchase order number |
string |
Max length: 20 |
AuthAgent |
Authorized Agent - the person associated with this customer who is authorized to make decisions or pickup products |
string |
Max length: 50 |
AaRelatedHow |
How the Authorized Agent is related to the customer |
string |
Max length: 20 |
AaAddr1 |
Authorized Agent Address 1 |
string |
Max length: 50 |
AaAddr2 |
Authorized Agent Address 2 |
string |
Max length: 50 |
AaCity |
Authorized Agent City |
string |
Max length: 50 |
AaState |
Authorized Agent State |
string |
Max length: 2 |
AaZip |
Authorized Agent Zipcode |
string |
Max length: 10 |
CustomApplied |
Indicates if this Sales Order is to be applied by the dealer |
boolean |
Must be 0, 1, True, or False |
AddComments |
A large text field that holds additional notes or comments about this Sales Order |
string |
Max length: 240 |
Acres |
Indicates the number of Acres, Hectares, Tons, Metric Tonnes, or 1000 SqFt based on the UnitType |
decimal number | |
UnitType |
The type of unit that was used to identify the Acres value entered |
EnumUnitType |
Required |
FedPermit |
One of the federal permits of a customer associated with this Sales Order |
string |
Max length: 60 |
FedPermitExpDate |
The expiration date of the FedPermit of this Sales Order at the time it was created. |
string |
Data type: DateTime Format must be MM/dd/yyyy |
DiscOpt |
The Agvance ID of the Payment Term associated with this Sales Order |
string |
Max length: 15 |
OfferExpiresDate |
The date that the Sales Order is no longer valid; Works in conjunction with the Status of "Offered" |
string |
Data type: DateTime Format must be MM/dd/yyyy |
PaymentDate |
The date that the payment is received for this Sales Order |
string |
Data type: DateTime Format must be MM/dd/yyyy |
CheckNumber |
The check number for the payment received |
string |
Max length: 10 |
StartDate |
The date that transfers to the Booking Start Date |
string |
Data type: DateTime Format must be MM/dd/yyyy |
ExpirationDate |
The date that transfers to the Booking Expiration Date |
string |
Data type: DateTime Format must be MM/dd/yyyy |
ContractFormat |
The Booking Contract that is selected when the Sales Order is created. If provided it must already exist. An empty string clears out the value |
string |
Max length: 40 |
Splits |
List of customers to whom the order is being sent. The purpose on the Edit is to hold the LineItem collection of products. If supplied each customer must already exist on the Sales Order as identified by the SalesOrderSplitGUID. |
Collection of ClsSalesOrderSplitUpdate |
Maximum of 8 allowed |
Applications |
List of applicator / vehicle records for the Sales Order. If records are supplied without the SalesOrderApplicationGUID populated, those new records will be added to the Sales Order. Any existing Application records will not be modified unless the SalesOrderApplicationGUID is provided. To remove an Application record, set the DeleteLine property to true and supply the SalesOrderApplicationGUID |
Collection of ClsSalesOrderApplicationUpdate | |
Discounts |
List of Sales Order Discounts applied to the Sales Order. If records are supplied without the SalesOrderDiscountGUID populated, those new records will be added to the Sales Order. Any existing Discount records will not be modified unless the SalesOrderDiscountGUID is provided. To remove a Discount record, set the DeleteLine property to true and supply the SalesOrderDiscountGUID |
Collection of ClsSalesOrderDiscountUpdate |
Request Formats
application/json, text/json
{ "SalesOrderGUID": "dce3ec47-579c-44fc-a968-17dfd3641a79", "OrderNum": 6, "OrderDate": "sample string 7", "BillComment": "sample string 8", "EstDelDate": "sample string 9", "PickupOrDeliver": 0, "Status": 0, "ShipVia": "sample string 10", "ShipTo": "sample string 11", "County": "sample string 12", "Territory": "sample string 13", "ControlNum": "sample string 14", "SalespersonId": "sample string 15", "CropId": "sample string 16", "CropGuid": "cb164763-332d-420d-afbc-e7608332c5ba", "CustPo": "sample string 17", "AuthAgent": "sample string 18", "AaRelatedHow": "sample string 19", "AaAddr1": "sample string 20", "AaAddr2": "sample string 21", "AaCity": "sample string 22", "AaState": "sample string 23", "AaZip": "sample string 24", "CustomApplied": true, "AddComments": "sample string 26", "Acres": 27.1, "UnitType": 0, "FedPermit": "sample string 28", "FedPermitExpDate": "sample string 29", "DiscOpt": "sample string 30", "OfferExpiresDate": "sample string 31", "PaymentDate": "sample string 32", "CheckNumber": "sample string 33", "StartDate": "sample string 34", "ExpirationDate": "sample string 35", "ContractFormat": "sample string 36", "Splits": [ { "SalesOrderSplitGUID": "12c94489-d0e7-4db4-8626-ed5a6f38edf3", "CustId": "sample string 2", "LineItems": [ { "SalesOrderLineItemGUID": "ddfaf904-d757-46d6-8d2a-a2acaee5d967", "LineItem": 1, "DeleteLine": true, "DeptId": "sample string 3", "ProdId": "sample string 4", "ProductGuid": "648c7818-8772-4f24-8ca1-e46bf22aea6e", "ProductDescription": "sample string 5", "Quantity": 6.1, "Price": 7.1, "PriceLevel": 0, "SplitNum": 8, "SplitPercent": 9.1, "LotNumber": "sample string 10", "CropCode": "sample string 11", "CropCodeGuid": "48901bf1-748e-4fea-8476-1514e99c6eb3", "AllocationNumber": 12 }, { "SalesOrderLineItemGUID": "ddfaf904-d757-46d6-8d2a-a2acaee5d967", "LineItem": 1, "DeleteLine": true, "DeptId": "sample string 3", "ProdId": "sample string 4", "ProductGuid": "648c7818-8772-4f24-8ca1-e46bf22aea6e", "ProductDescription": "sample string 5", "Quantity": 6.1, "Price": 7.1, "PriceLevel": 0, "SplitNum": 8, "SplitPercent": 9.1, "LotNumber": "sample string 10", "CropCode": "sample string 11", "CropCodeGuid": "48901bf1-748e-4fea-8476-1514e99c6eb3", "AllocationNumber": 12 } ] }, { "SalesOrderSplitGUID": "12c94489-d0e7-4db4-8626-ed5a6f38edf3", "CustId": "sample string 2", "LineItems": [ { "SalesOrderLineItemGUID": "ddfaf904-d757-46d6-8d2a-a2acaee5d967", "LineItem": 1, "DeleteLine": true, "DeptId": "sample string 3", "ProdId": "sample string 4", "ProductGuid": "648c7818-8772-4f24-8ca1-e46bf22aea6e", "ProductDescription": "sample string 5", "Quantity": 6.1, "Price": 7.1, "PriceLevel": 0, "SplitNum": 8, "SplitPercent": 9.1, "LotNumber": "sample string 10", "CropCode": "sample string 11", "CropCodeGuid": "48901bf1-748e-4fea-8476-1514e99c6eb3", "AllocationNumber": 12 }, { "SalesOrderLineItemGUID": "ddfaf904-d757-46d6-8d2a-a2acaee5d967", "LineItem": 1, "DeleteLine": true, "DeptId": "sample string 3", "ProdId": "sample string 4", "ProductGuid": "648c7818-8772-4f24-8ca1-e46bf22aea6e", "ProductDescription": "sample string 5", "Quantity": 6.1, "Price": 7.1, "PriceLevel": 0, "SplitNum": 8, "SplitPercent": 9.1, "LotNumber": "sample string 10", "CropCode": "sample string 11", "CropCodeGuid": "48901bf1-748e-4fea-8476-1514e99c6eb3", "AllocationNumber": 12 } ] } ], "Applications": [ { "SalesOrderApplicationGUID": "4bebfe9a-d160-411c-b675-ff85031f68f5", "LineItem": 1, "DeleteLine": true, "ApplicatorId": "sample string 3", "VehicleId": "sample string 4", "Acres": 5.1 }, { "SalesOrderApplicationGUID": "4bebfe9a-d160-411c-b675-ff85031f68f5", "LineItem": 1, "DeleteLine": true, "ApplicatorId": "sample string 3", "VehicleId": "sample string 4", "Acres": 5.1 } ], "Discounts": [ { "SalesOrderDiscountGUID": "f4adf127-0409-4176-b61b-2685c693cc6d", "LineItem": 2, "DeleteLine": true, "SalesOrderDiscountKey": 4, "Rate": 5.1, "Manual": 6.1 }, { "SalesOrderDiscountGUID": "f4adf127-0409-4176-b61b-2685c693cc6d", "LineItem": 2, "DeleteLine": true, "SalesOrderDiscountKey": 4, "Rate": 5.1, "Manual": 6.1 } ] }
application/xml, text/xml
<ClsSalesOrder.ClsSalesOrderUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SSI.plbl"> <AaAddr1>sample string 20</AaAddr1> <AaAddr2>sample string 21</AaAddr2> <AaCity>sample string 22</AaCity> <AaRelatedHow>sample string 19</AaRelatedHow> <AaState>sample string 23</AaState> <AaZip>sample string 24</AaZip> <Acres>27.1</Acres> <AddComments>sample string 26</AddComments> <Applications> <ClsSalesOrder.ClsSalesOrderUpdate.ClsSalesOrderApplicationUpdate> <Acres>5.1</Acres> <ApplicatorId>sample string 3</ApplicatorId> <DeleteLine>true</DeleteLine> <LineItem>1</LineItem> <SalesOrderApplicationGUID>4bebfe9a-d160-411c-b675-ff85031f68f5</SalesOrderApplicationGUID> <VehicleId>sample string 4</VehicleId> </ClsSalesOrder.ClsSalesOrderUpdate.ClsSalesOrderApplicationUpdate> <ClsSalesOrder.ClsSalesOrderUpdate.ClsSalesOrderApplicationUpdate> <Acres>5.1</Acres> <ApplicatorId>sample string 3</ApplicatorId> <DeleteLine>true</DeleteLine> <LineItem>1</LineItem> <SalesOrderApplicationGUID>4bebfe9a-d160-411c-b675-ff85031f68f5</SalesOrderApplicationGUID> <VehicleId>sample string 4</VehicleId> </ClsSalesOrder.ClsSalesOrderUpdate.ClsSalesOrderApplicationUpdate> </Applications> <AuthAgent>sample string 18</AuthAgent> <BillComment>sample string 8</BillComment> <CheckNumber>sample string 33</CheckNumber> <ContractFormat>sample string 36</ContractFormat> <ControlNum>sample string 14</ControlNum> <County>sample string 12</County> <CropGuid>cb164763-332d-420d-afbc-e7608332c5ba</CropGuid> <CropId>sample string 16</CropId> <CustPo>sample string 17</CustPo> <CustomApplied>true</CustomApplied> <DiscOpt>sample string 30</DiscOpt> <Discounts> <ClsSalesOrder.ClsSalesOrderUpdate.ClsSalesOrderDiscountUpdate> <DeleteLine>true</DeleteLine> <LineItem>2</LineItem> <Manual>6.1</Manual> <Rate>5.1</Rate> <SalesOrderDiscountGUID>f4adf127-0409-4176-b61b-2685c693cc6d</SalesOrderDiscountGUID> <SalesOrderDiscountKey>4</SalesOrderDiscountKey> </ClsSalesOrder.ClsSalesOrderUpdate.ClsSalesOrderDiscountUpdate> <ClsSalesOrder.ClsSalesOrderUpdate.ClsSalesOrderDiscountUpdate> <DeleteLine>true</DeleteLine> <LineItem>2</LineItem> <Manual>6.1</Manual> <Rate>5.1</Rate> <SalesOrderDiscountGUID>f4adf127-0409-4176-b61b-2685c693cc6d</SalesOrderDiscountGUID> <SalesOrderDiscountKey>4</SalesOrderDiscountKey> </ClsSalesOrder.ClsSalesOrderUpdate.ClsSalesOrderDiscountUpdate> </Discounts> <EstDelDate>sample string 9</EstDelDate> <ExpirationDate>sample string 35</ExpirationDate> <FedPermit>sample string 28</FedPermit> <FedPermitExpDate>sample string 29</FedPermitExpDate> <OfferExpiresDate>sample string 31</OfferExpiresDate> <OrderDate>sample string 7</OrderDate> <OrderNum>6</OrderNum> <PaymentDate>sample string 32</PaymentDate> <PickupOrDeliver>Pickup</PickupOrDeliver> <SalesOrderGUID>dce3ec47-579c-44fc-a968-17dfd3641a79</SalesOrderGUID> <SalespersonId>sample string 15</SalespersonId> <ShipTo>sample string 11</ShipTo> <ShipVia>sample string 10</ShipVia> <Splits> <ClsSalesOrder.ClsSalesOrderUpdate.ClsSalesOrderSplitUpdate> <CustId>sample string 2</CustId> <LineItems> <ClsSalesOrder.ClsSalesOrderUpdate.ClsSalesOrderSplitUpdate.ClsSalesOrderLineItemUpdate> <AllocationNumber>12</AllocationNumber> <CropCode>sample string 11</CropCode> <CropCodeGuid>48901bf1-748e-4fea-8476-1514e99c6eb3</CropCodeGuid> <DeleteLine>true</DeleteLine> <DeptId>sample string 3</DeptId> <LineItem>1</LineItem> <LotNumber>sample string 10</LotNumber> <Price>7.1</Price> <PriceLevel>List</PriceLevel> <ProdId>sample string 4</ProdId> <ProductDescription>sample string 5</ProductDescription> <ProductGuid>648c7818-8772-4f24-8ca1-e46bf22aea6e</ProductGuid> <Quantity>6.1</Quantity> <SalesOrderLineItemGUID>ddfaf904-d757-46d6-8d2a-a2acaee5d967</SalesOrderLineItemGUID> <SplitNum>8</SplitNum> <SplitPercent>9.1</SplitPercent> </ClsSalesOrder.ClsSalesOrderUpdate.ClsSalesOrderSplitUpdate.ClsSalesOrderLineItemUpdate> <ClsSalesOrder.ClsSalesOrderUpdate.ClsSalesOrderSplitUpdate.ClsSalesOrderLineItemUpdate> <AllocationNumber>12</AllocationNumber> <CropCode>sample string 11</CropCode> <CropCodeGuid>48901bf1-748e-4fea-8476-1514e99c6eb3</CropCodeGuid> <DeleteLine>true</DeleteLine> <DeptId>sample string 3</DeptId> <LineItem>1</LineItem> <LotNumber>sample string 10</LotNumber> <Price>7.1</Price> <PriceLevel>List</PriceLevel> <ProdId>sample string 4</ProdId> <ProductDescription>sample string 5</ProductDescription> <ProductGuid>648c7818-8772-4f24-8ca1-e46bf22aea6e</ProductGuid> <Quantity>6.1</Quantity> <SalesOrderLineItemGUID>ddfaf904-d757-46d6-8d2a-a2acaee5d967</SalesOrderLineItemGUID> <SplitNum>8</SplitNum> <SplitPercent>9.1</SplitPercent> </ClsSalesOrder.ClsSalesOrderUpdate.ClsSalesOrderSplitUpdate.ClsSalesOrderLineItemUpdate> </LineItems> <SalesOrderSplitGUID>12c94489-d0e7-4db4-8626-ed5a6f38edf3</SalesOrderSplitGUID> </ClsSalesOrder.ClsSalesOrderUpdate.ClsSalesOrderSplitUpdate> <ClsSalesOrder.ClsSalesOrderUpdate.ClsSalesOrderSplitUpdate> <CustId>sample string 2</CustId> <LineItems> <ClsSalesOrder.ClsSalesOrderUpdate.ClsSalesOrderSplitUpdate.ClsSalesOrderLineItemUpdate> <AllocationNumber>12</AllocationNumber> <CropCode>sample string 11</CropCode> <CropCodeGuid>48901bf1-748e-4fea-8476-1514e99c6eb3</CropCodeGuid> <DeleteLine>true</DeleteLine> <DeptId>sample string 3</DeptId> <LineItem>1</LineItem> <LotNumber>sample string 10</LotNumber> <Price>7.1</Price> <PriceLevel>List</PriceLevel> <ProdId>sample string 4</ProdId> <ProductDescription>sample string 5</ProductDescription> <ProductGuid>648c7818-8772-4f24-8ca1-e46bf22aea6e</ProductGuid> <Quantity>6.1</Quantity> <SalesOrderLineItemGUID>ddfaf904-d757-46d6-8d2a-a2acaee5d967</SalesOrderLineItemGUID> <SplitNum>8</SplitNum> <SplitPercent>9.1</SplitPercent> </ClsSalesOrder.ClsSalesOrderUpdate.ClsSalesOrderSplitUpdate.ClsSalesOrderLineItemUpdate> <ClsSalesOrder.ClsSalesOrderUpdate.ClsSalesOrderSplitUpdate.ClsSalesOrderLineItemUpdate> <AllocationNumber>12</AllocationNumber> <CropCode>sample string 11</CropCode> <CropCodeGuid>48901bf1-748e-4fea-8476-1514e99c6eb3</CropCodeGuid> <DeleteLine>true</DeleteLine> <DeptId>sample string 3</DeptId> <LineItem>1</LineItem> <LotNumber>sample string 10</LotNumber> <Price>7.1</Price> <PriceLevel>List</PriceLevel> <ProdId>sample string 4</ProdId> <ProductDescription>sample string 5</ProductDescription> <ProductGuid>648c7818-8772-4f24-8ca1-e46bf22aea6e</ProductGuid> <Quantity>6.1</Quantity> <SalesOrderLineItemGUID>ddfaf904-d757-46d6-8d2a-a2acaee5d967</SalesOrderLineItemGUID> <SplitNum>8</SplitNum> <SplitPercent>9.1</SplitPercent> </ClsSalesOrder.ClsSalesOrderUpdate.ClsSalesOrderSplitUpdate.ClsSalesOrderLineItemUpdate> </LineItems> <SalesOrderSplitGUID>12c94489-d0e7-4db4-8626-ed5a6f38edf3</SalesOrderSplitGUID> </ClsSalesOrder.ClsSalesOrderUpdate.ClsSalesOrderSplitUpdate> </Splits> <StartDate>sample string 34</StartDate> <Status>Offered</Status> <Territory>sample string 13</Territory> <UnitType>A</UnitType> </ClsSalesOrder.ClsSalesOrderUpdate>
application/x-www-form-urlencoded
Response Information
Resource Description
Updates a Sales Order
AgvSalesOrderV2Name | Description | Type | Additional Information |
---|---|---|---|
Status |
0 = Success. 1 = An error occurred. 2 = An error occurred. 3 = Descriptive message, process was successful. |
string | |
Message |
Informational message that corresponds to the Status returned. 0 - Message will be "OK". 1 - Detailed message returned to give user an indication of what went wrong. 2 - Less Detailed message returned that may not mean anything to the user but that the application might use to take a corrective action. 3 - Not an error but something the user might need to know. |
string | |
ErrorList |
List of error messages of the API call. |
Collection of string | |
Count |
Number of results returned. |
string | |
SalesOrders |
List of Properties and Values returned for each Sales Order that matches the request. |
Collection of ClsSalesOrder |
Response Formats
application/json, text/json
{ "Status": "sample string 1", "Message": "sample string 2", "ErrorList": [ "sample string 1", "sample string 2" ], "Count": "2", "SalesOrders": [ { "SalesOrderGUID": "6cef13c2-70bc-4ea9-a77e-aa34030a39f0", "OrderNum": 8, "OrderDate": "2024-11-21T09:54:31.7799388+00:00", "FieldOwnerId": "sample string 10", "FieldOwnerGuid": "71c203f0-4b7f-47ec-a3f6-33066573d29b", "FieldOwnerFirstName": "sample string 11", "FieldOwnerLastName": "sample string 12", "FieldOwnerName": "sample string 11 sample string 12", "FieldId": "sample string 13", "FieldGuid": "08ce6e9e-d125-4d9b-8c25-0c958bc22c94", "FieldDescription": "sample string 14", "BillComment": "sample string 15", "EstDelDate": "2024-11-21T09:54:31.7799388+00:00", "PickupOrDeliver": 0, "PickupOrDeliverAsString": "Pickup", "Status": 0, "StatusAsString": "Offered", "ShipVia": "sample string 17", "ShipTo": "sample string 18", "County": "sample string 19", "Territory": "sample string 20", "ControlNum": "sample string 21", "SalespersonId": "sample string 22", "SalespersonFirstName": "sample string 23", "SalespersonLastName": "sample string 24", "SalespersonName": "sample string 23 sample string 24", "CropId": "sample string 25", "CropGuid": "567bcd4b-02b5-44f6-b17d-e2bc29938a9e", "CustPo": "sample string 26", "AuthAgent": "sample string 27", "AaRelatedHow": "sample string 28", "AaAddr1": "sample string 29", "AaAddr2": "sample string 30", "AaCity": "sample string 31", "AaState": "sample string 32", "AaZip": "sample string 33", "CustomApplied": true, "AddComments": "sample string 35", "Acres": 36.1, "UnitType": 0, "UnitTypeAsString": "A", "FedPermit": "sample string 37", "FedPermitExpDate": "2024-11-21T09:54:31.7799388+00:00", "DiscOpt": "sample string 38", "PaymentTermDescription": "sample string 39", "ProcessedYn": true, "Location": "sample string 41", "LocationGuid": "baa0d974-3e4f-4c1f-a378-96dad072a5ce", "LocationName": "sample string 43", "OfferExpiresDate": "2024-11-21T09:54:31.7809382+00:00", "PaymentDate": "2024-11-21T09:54:31.7809382+00:00", "CheckNumber": "sample string 44", "StartDate": "2024-11-21T09:54:31.7809382+00:00", "ExpirationDate": "2024-11-21T09:54:31.7809382+00:00", "AddedByUserId": "sample string 45", "AddedByUserGuid": "e89d569d-b93f-45f7-8dba-330047ac1ea8", "AddedByUserFirstName": "sample string 46", "AddedByUserLastName": "sample string 47", "AddedByUserName": "sample string 46 sample string 47", "LastEditedUserId": "sample string 48", "LastEditedUserGuid": "fcb34c9a-624f-4f30-a266-ee3a4a7c2b33", "LastEditedUserFirstName": "sample string 49", "LastEditedUserLastName": "sample string 50", "LastEditedUserName": "sample string 49 sample string 50", "ContractFormat": "sample string 51", "Splits": [ { "SalesOrderSplitGUID": "91dbee76-93f5-417a-868b-4d6cac37288e", "SplitNum": 2, "CustId": "sample string 3", "CustomerGuid": "bb6ba657-c714-42da-af1a-014e787bcae7", "CustomerFirstName": "sample string 5", "CustomerLastName": "sample string 6", "CustomerName": "sample string 5 sample string 6", "PercentS1": 7.1, "PercentS2": 8.1, "PercentS3": 9.1, "LineItems": [ { "SalesOrderLineItemGUID": "8e385a5c-a0b7-472a-a21d-9f325e90bb54", "LineItem": 2, "DeptId": "sample string 3", "ProdId": "sample string 4", "ProductGuid": "58c87b35-85c4-47fd-946d-90cf02c7af55", "ProductDescription": "sample string 6", "Quantity": 7.1, "QuantityUnits": "sample string 8", "Price": 9.1, "PriceUnits": "sample string 10", "QuantityToPricingRatio": 11.1, "PriceLevel": 0, "PriceLevelDescription": "sample string 12", "SplitNum": 13, "SplitPercent": 14.1, "LotNumber": "sample string 15", "CropCode": "sample string 17", "CropCodeGuid": "c976a310-c309-42e3-93a1-b7eea639c959", "AllocationNumber": 20, "ProdIdAlternate": "sample string 22" }, { "SalesOrderLineItemGUID": "8e385a5c-a0b7-472a-a21d-9f325e90bb54", "LineItem": 2, "DeptId": "sample string 3", "ProdId": "sample string 4", "ProductGuid": "58c87b35-85c4-47fd-946d-90cf02c7af55", "ProductDescription": "sample string 6", "Quantity": 7.1, "QuantityUnits": "sample string 8", "Price": 9.1, "PriceUnits": "sample string 10", "QuantityToPricingRatio": 11.1, "PriceLevel": 0, "PriceLevelDescription": "sample string 12", "SplitNum": 13, "SplitPercent": 14.1, "LotNumber": "sample string 15", "CropCode": "sample string 17", "CropCodeGuid": "c976a310-c309-42e3-93a1-b7eea639c959", "AllocationNumber": 20, "ProdIdAlternate": "sample string 22" } ] }, { "SalesOrderSplitGUID": "91dbee76-93f5-417a-868b-4d6cac37288e", "SplitNum": 2, "CustId": "sample string 3", "CustomerGuid": "bb6ba657-c714-42da-af1a-014e787bcae7", "CustomerFirstName": "sample string 5", "CustomerLastName": "sample string 6", "CustomerName": "sample string 5 sample string 6", "PercentS1": 7.1, "PercentS2": 8.1, "PercentS3": 9.1, "LineItems": [ { "SalesOrderLineItemGUID": "8e385a5c-a0b7-472a-a21d-9f325e90bb54", "LineItem": 2, "DeptId": "sample string 3", "ProdId": "sample string 4", "ProductGuid": "58c87b35-85c4-47fd-946d-90cf02c7af55", "ProductDescription": "sample string 6", "Quantity": 7.1, "QuantityUnits": "sample string 8", "Price": 9.1, "PriceUnits": "sample string 10", "QuantityToPricingRatio": 11.1, "PriceLevel": 0, "PriceLevelDescription": "sample string 12", "SplitNum": 13, "SplitPercent": 14.1, "LotNumber": "sample string 15", "CropCode": "sample string 17", "CropCodeGuid": "c976a310-c309-42e3-93a1-b7eea639c959", "AllocationNumber": 20, "ProdIdAlternate": "sample string 22" }, { "SalesOrderLineItemGUID": "8e385a5c-a0b7-472a-a21d-9f325e90bb54", "LineItem": 2, "DeptId": "sample string 3", "ProdId": "sample string 4", "ProductGuid": "58c87b35-85c4-47fd-946d-90cf02c7af55", "ProductDescription": "sample string 6", "Quantity": 7.1, "QuantityUnits": "sample string 8", "Price": 9.1, "PriceUnits": "sample string 10", "QuantityToPricingRatio": 11.1, "PriceLevel": 0, "PriceLevelDescription": "sample string 12", "SplitNum": 13, "SplitPercent": 14.1, "LotNumber": "sample string 15", "CropCode": "sample string 17", "CropCodeGuid": "c976a310-c309-42e3-93a1-b7eea639c959", "AllocationNumber": 20, "ProdIdAlternate": "sample string 22" } ] } ], "Applications": [ { "SalesOrderApplicationGUID": "c49c56eb-0ad2-47cc-b752-f1253c026871", "LineItem": 2, "ApplicatorId": "sample string 3", "ApplicatorFirstName": "sample string 4", "ApplicatorLastName": "sample string 5", "ApplicatorName": "sample string 4 sample string 5", "VehicleId": "sample string 6", "Vehicledescription": "sample string 7", "Acres": 8.1 }, { "SalesOrderApplicationGUID": "c49c56eb-0ad2-47cc-b752-f1253c026871", "LineItem": 2, "ApplicatorId": "sample string 3", "ApplicatorFirstName": "sample string 4", "ApplicatorLastName": "sample string 5", "ApplicatorName": "sample string 4 sample string 5", "VehicleId": "sample string 6", "Vehicledescription": "sample string 7", "Acres": 8.1 } ], "Discounts": [ { "SalesOrderDiscountGUID": "87306c5a-402a-4c19-85ab-7dc0070cd5e5", "LineItem": 3, "DiscountName": "sample string 4", "Quantity": 5.1, "Total": 6.1, "Manual": 7.1, "Rate": 8.1, "DiscountType": 0, "DiscountTypeAsString": "Percent", "SalesOrderDiscountKey": 9 }, { "SalesOrderDiscountGUID": "87306c5a-402a-4c19-85ab-7dc0070cd5e5", "LineItem": 3, "DiscountName": "sample string 4", "Quantity": 5.1, "Total": 6.1, "Manual": 7.1, "Rate": 8.1, "DiscountType": 0, "DiscountTypeAsString": "Percent", "SalesOrderDiscountKey": 9 } ] }, { "SalesOrderGUID": "6cef13c2-70bc-4ea9-a77e-aa34030a39f0", "OrderNum": 8, "OrderDate": "2024-11-21T09:54:31.7799388+00:00", "FieldOwnerId": "sample string 10", "FieldOwnerGuid": "71c203f0-4b7f-47ec-a3f6-33066573d29b", "FieldOwnerFirstName": "sample string 11", "FieldOwnerLastName": "sample string 12", "FieldOwnerName": "sample string 11 sample string 12", "FieldId": "sample string 13", "FieldGuid": "08ce6e9e-d125-4d9b-8c25-0c958bc22c94", "FieldDescription": "sample string 14", "BillComment": "sample string 15", "EstDelDate": "2024-11-21T09:54:31.7799388+00:00", "PickupOrDeliver": 0, "PickupOrDeliverAsString": "Pickup", "Status": 0, "StatusAsString": "Offered", "ShipVia": "sample string 17", "ShipTo": "sample string 18", "County": "sample string 19", "Territory": "sample string 20", "ControlNum": "sample string 21", "SalespersonId": "sample string 22", "SalespersonFirstName": "sample string 23", "SalespersonLastName": "sample string 24", "SalespersonName": "sample string 23 sample string 24", "CropId": "sample string 25", "CropGuid": "567bcd4b-02b5-44f6-b17d-e2bc29938a9e", "CustPo": "sample string 26", "AuthAgent": "sample string 27", "AaRelatedHow": "sample string 28", "AaAddr1": "sample string 29", "AaAddr2": "sample string 30", "AaCity": "sample string 31", "AaState": "sample string 32", "AaZip": "sample string 33", "CustomApplied": true, "AddComments": "sample string 35", "Acres": 36.1, "UnitType": 0, "UnitTypeAsString": "A", "FedPermit": "sample string 37", "FedPermitExpDate": "2024-11-21T09:54:31.7799388+00:00", "DiscOpt": "sample string 38", "PaymentTermDescription": "sample string 39", "ProcessedYn": true, "Location": "sample string 41", "LocationGuid": "baa0d974-3e4f-4c1f-a378-96dad072a5ce", "LocationName": "sample string 43", "OfferExpiresDate": "2024-11-21T09:54:31.7809382+00:00", "PaymentDate": "2024-11-21T09:54:31.7809382+00:00", "CheckNumber": "sample string 44", "StartDate": "2024-11-21T09:54:31.7809382+00:00", "ExpirationDate": "2024-11-21T09:54:31.7809382+00:00", "AddedByUserId": "sample string 45", "AddedByUserGuid": "e89d569d-b93f-45f7-8dba-330047ac1ea8", "AddedByUserFirstName": "sample string 46", "AddedByUserLastName": "sample string 47", "AddedByUserName": "sample string 46 sample string 47", "LastEditedUserId": "sample string 48", "LastEditedUserGuid": "fcb34c9a-624f-4f30-a266-ee3a4a7c2b33", "LastEditedUserFirstName": "sample string 49", "LastEditedUserLastName": "sample string 50", "LastEditedUserName": "sample string 49 sample string 50", "ContractFormat": "sample string 51", "Splits": [ { "SalesOrderSplitGUID": "91dbee76-93f5-417a-868b-4d6cac37288e", "SplitNum": 2, "CustId": "sample string 3", "CustomerGuid": "bb6ba657-c714-42da-af1a-014e787bcae7", "CustomerFirstName": "sample string 5", "CustomerLastName": "sample string 6", "CustomerName": "sample string 5 sample string 6", "PercentS1": 7.1, "PercentS2": 8.1, "PercentS3": 9.1, "LineItems": [ { "SalesOrderLineItemGUID": "8e385a5c-a0b7-472a-a21d-9f325e90bb54", "LineItem": 2, "DeptId": "sample string 3", "ProdId": "sample string 4", "ProductGuid": "58c87b35-85c4-47fd-946d-90cf02c7af55", "ProductDescription": "sample string 6", "Quantity": 7.1, "QuantityUnits": "sample string 8", "Price": 9.1, "PriceUnits": "sample string 10", "QuantityToPricingRatio": 11.1, "PriceLevel": 0, "PriceLevelDescription": "sample string 12", "SplitNum": 13, "SplitPercent": 14.1, "LotNumber": "sample string 15", "CropCode": "sample string 17", "CropCodeGuid": "c976a310-c309-42e3-93a1-b7eea639c959", "AllocationNumber": 20, "ProdIdAlternate": "sample string 22" }, { "SalesOrderLineItemGUID": "8e385a5c-a0b7-472a-a21d-9f325e90bb54", "LineItem": 2, "DeptId": "sample string 3", "ProdId": "sample string 4", "ProductGuid": "58c87b35-85c4-47fd-946d-90cf02c7af55", "ProductDescription": "sample string 6", "Quantity": 7.1, "QuantityUnits": "sample string 8", "Price": 9.1, "PriceUnits": "sample string 10", "QuantityToPricingRatio": 11.1, "PriceLevel": 0, "PriceLevelDescription": "sample string 12", "SplitNum": 13, "SplitPercent": 14.1, "LotNumber": "sample string 15", "CropCode": "sample string 17", "CropCodeGuid": "c976a310-c309-42e3-93a1-b7eea639c959", "AllocationNumber": 20, "ProdIdAlternate": "sample string 22" } ] }, { "SalesOrderSplitGUID": "91dbee76-93f5-417a-868b-4d6cac37288e", "SplitNum": 2, "CustId": "sample string 3", "CustomerGuid": "bb6ba657-c714-42da-af1a-014e787bcae7", "CustomerFirstName": "sample string 5", "CustomerLastName": "sample string 6", "CustomerName": "sample string 5 sample string 6", "PercentS1": 7.1, "PercentS2": 8.1, "PercentS3": 9.1, "LineItems": [ { "SalesOrderLineItemGUID": "8e385a5c-a0b7-472a-a21d-9f325e90bb54", "LineItem": 2, "DeptId": "sample string 3", "ProdId": "sample string 4", "ProductGuid": "58c87b35-85c4-47fd-946d-90cf02c7af55", "ProductDescription": "sample string 6", "Quantity": 7.1, "QuantityUnits": "sample string 8", "Price": 9.1, "PriceUnits": "sample string 10", "QuantityToPricingRatio": 11.1, "PriceLevel": 0, "PriceLevelDescription": "sample string 12", "SplitNum": 13, "SplitPercent": 14.1, "LotNumber": "sample string 15", "CropCode": "sample string 17", "CropCodeGuid": "c976a310-c309-42e3-93a1-b7eea639c959", "AllocationNumber": 20, "ProdIdAlternate": "sample string 22" }, { "SalesOrderLineItemGUID": "8e385a5c-a0b7-472a-a21d-9f325e90bb54", "LineItem": 2, "DeptId": "sample string 3", "ProdId": "sample string 4", "ProductGuid": "58c87b35-85c4-47fd-946d-90cf02c7af55", "ProductDescription": "sample string 6", "Quantity": 7.1, "QuantityUnits": "sample string 8", "Price": 9.1, "PriceUnits": "sample string 10", "QuantityToPricingRatio": 11.1, "PriceLevel": 0, "PriceLevelDescription": "sample string 12", "SplitNum": 13, "SplitPercent": 14.1, "LotNumber": "sample string 15", "CropCode": "sample string 17", "CropCodeGuid": "c976a310-c309-42e3-93a1-b7eea639c959", "AllocationNumber": 20, "ProdIdAlternate": "sample string 22" } ] } ], "Applications": [ { "SalesOrderApplicationGUID": "c49c56eb-0ad2-47cc-b752-f1253c026871", "LineItem": 2, "ApplicatorId": "sample string 3", "ApplicatorFirstName": "sample string 4", "ApplicatorLastName": "sample string 5", "ApplicatorName": "sample string 4 sample string 5", "VehicleId": "sample string 6", "Vehicledescription": "sample string 7", "Acres": 8.1 }, { "SalesOrderApplicationGUID": "c49c56eb-0ad2-47cc-b752-f1253c026871", "LineItem": 2, "ApplicatorId": "sample string 3", "ApplicatorFirstName": "sample string 4", "ApplicatorLastName": "sample string 5", "ApplicatorName": "sample string 4 sample string 5", "VehicleId": "sample string 6", "Vehicledescription": "sample string 7", "Acres": 8.1 } ], "Discounts": [ { "SalesOrderDiscountGUID": "87306c5a-402a-4c19-85ab-7dc0070cd5e5", "LineItem": 3, "DiscountName": "sample string 4", "Quantity": 5.1, "Total": 6.1, "Manual": 7.1, "Rate": 8.1, "DiscountType": 0, "DiscountTypeAsString": "Percent", "SalesOrderDiscountKey": 9 }, { "SalesOrderDiscountGUID": "87306c5a-402a-4c19-85ab-7dc0070cd5e5", "LineItem": 3, "DiscountName": "sample string 4", "Quantity": 5.1, "Total": 6.1, "Manual": 7.1, "Rate": 8.1, "DiscountType": 0, "DiscountTypeAsString": "Percent", "SalesOrderDiscountKey": 9 } ] } ] }