PUT SalesOrderV2/PutSalesOrderV2

Updates a Sales Order

Request Information

URI Parameters

Body Parameters

Object used to update an existing Sales Order in the database.

ClsSalesOrderUpdate
NameDescriptionTypeAdditional 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

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

Sample:
{
  "SalesOrderGUID": "0cc4455c-cd5b-456e-9469-0757139ddddc",
  "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": "d767043a-eb44-448b-9890-b668b45dda02",
  "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",
  "Splits": [
    {
      "SalesOrderSplitGUID": "0ba5332f-dbde-4957-8e76-bba52f2de2e2",
      "CustId": "sample string 2",
      "LineItems": [
        {
          "SalesOrderLineItemGUID": "8c09c14e-e4cd-4c52-b5ac-b68d48eaa190",
          "LineItem": 1,
          "DeleteLine": true,
          "DeptId": "sample string 3",
          "ProdId": "sample string 4",
          "ProductGuid": "5ff5139d-e496-4dab-963d-f0f7400e4936",
          "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": "4d4bc2d8-b083-4f2c-8b37-13caf0091e4e",
          "AllocationNumber": 12
        },
        {
          "SalesOrderLineItemGUID": "8c09c14e-e4cd-4c52-b5ac-b68d48eaa190",
          "LineItem": 1,
          "DeleteLine": true,
          "DeptId": "sample string 3",
          "ProdId": "sample string 4",
          "ProductGuid": "5ff5139d-e496-4dab-963d-f0f7400e4936",
          "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": "4d4bc2d8-b083-4f2c-8b37-13caf0091e4e",
          "AllocationNumber": 12
        }
      ]
    },
    {
      "SalesOrderSplitGUID": "0ba5332f-dbde-4957-8e76-bba52f2de2e2",
      "CustId": "sample string 2",
      "LineItems": [
        {
          "SalesOrderLineItemGUID": "8c09c14e-e4cd-4c52-b5ac-b68d48eaa190",
          "LineItem": 1,
          "DeleteLine": true,
          "DeptId": "sample string 3",
          "ProdId": "sample string 4",
          "ProductGuid": "5ff5139d-e496-4dab-963d-f0f7400e4936",
          "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": "4d4bc2d8-b083-4f2c-8b37-13caf0091e4e",
          "AllocationNumber": 12
        },
        {
          "SalesOrderLineItemGUID": "8c09c14e-e4cd-4c52-b5ac-b68d48eaa190",
          "LineItem": 1,
          "DeleteLine": true,
          "DeptId": "sample string 3",
          "ProdId": "sample string 4",
          "ProductGuid": "5ff5139d-e496-4dab-963d-f0f7400e4936",
          "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": "4d4bc2d8-b083-4f2c-8b37-13caf0091e4e",
          "AllocationNumber": 12
        }
      ]
    }
  ],
  "Applications": [
    {
      "SalesOrderApplicationGUID": "abed5bad-734a-401d-b8d4-8e1c376ac0ab",
      "LineItem": 1,
      "DeleteLine": true,
      "ApplicatorId": "sample string 3",
      "VehicleId": "sample string 4",
      "Acres": 5.1
    },
    {
      "SalesOrderApplicationGUID": "abed5bad-734a-401d-b8d4-8e1c376ac0ab",
      "LineItem": 1,
      "DeleteLine": true,
      "ApplicatorId": "sample string 3",
      "VehicleId": "sample string 4",
      "Acres": 5.1
    }
  ],
  "Discounts": [
    {
      "SalesOrderDiscountGUID": "202bbaa5-a57b-4aac-8279-c216bfa6ee86",
      "LineItem": 2,
      "DeleteLine": true,
      "SalesOrderDiscountKey": 4,
      "Rate": 5.1,
      "Manual": 6.1
    },
    {
      "SalesOrderDiscountGUID": "202bbaa5-a57b-4aac-8279-c216bfa6ee86",
      "LineItem": 2,
      "DeleteLine": true,
      "SalesOrderDiscountKey": 4,
      "Rate": 5.1,
      "Manual": 6.1
    }
  ]
}

application/xml, text/xml

Sample:
<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>abed5bad-734a-401d-b8d4-8e1c376ac0ab</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>abed5bad-734a-401d-b8d4-8e1c376ac0ab</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>
  <ControlNum>sample string 14</ControlNum>
  <County>sample string 12</County>
  <CropGuid>d767043a-eb44-448b-9890-b668b45dda02</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>202bbaa5-a57b-4aac-8279-c216bfa6ee86</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>202bbaa5-a57b-4aac-8279-c216bfa6ee86</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>0cc4455c-cd5b-456e-9469-0757139ddddc</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>4d4bc2d8-b083-4f2c-8b37-13caf0091e4e</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>5ff5139d-e496-4dab-963d-f0f7400e4936</ProductGuid>
          <Quantity>6.1</Quantity>
          <SalesOrderLineItemGUID>8c09c14e-e4cd-4c52-b5ac-b68d48eaa190</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>4d4bc2d8-b083-4f2c-8b37-13caf0091e4e</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>5ff5139d-e496-4dab-963d-f0f7400e4936</ProductGuid>
          <Quantity>6.1</Quantity>
          <SalesOrderLineItemGUID>8c09c14e-e4cd-4c52-b5ac-b68d48eaa190</SalesOrderLineItemGUID>
          <SplitNum>8</SplitNum>
          <SplitPercent>9.1</SplitPercent>
        </ClsSalesOrder.ClsSalesOrderUpdate.ClsSalesOrderSplitUpdate.ClsSalesOrderLineItemUpdate>
      </LineItems>
      <SalesOrderSplitGUID>0ba5332f-dbde-4957-8e76-bba52f2de2e2</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>4d4bc2d8-b083-4f2c-8b37-13caf0091e4e</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>5ff5139d-e496-4dab-963d-f0f7400e4936</ProductGuid>
          <Quantity>6.1</Quantity>
          <SalesOrderLineItemGUID>8c09c14e-e4cd-4c52-b5ac-b68d48eaa190</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>4d4bc2d8-b083-4f2c-8b37-13caf0091e4e</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>5ff5139d-e496-4dab-963d-f0f7400e4936</ProductGuid>
          <Quantity>6.1</Quantity>
          <SalesOrderLineItemGUID>8c09c14e-e4cd-4c52-b5ac-b68d48eaa190</SalesOrderLineItemGUID>
          <SplitNum>8</SplitNum>
          <SplitPercent>9.1</SplitPercent>
        </ClsSalesOrder.ClsSalesOrderUpdate.ClsSalesOrderSplitUpdate.ClsSalesOrderLineItemUpdate>
      </LineItems>
      <SalesOrderSplitGUID>0ba5332f-dbde-4957-8e76-bba52f2de2e2</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

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ClsSalesOrderUpdate'.

Response Information

Resource Description

Updates a Sales Order

AgvSalesOrderV2
NameDescriptionTypeAdditional 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

Sample:
{
  "Status": "sample string 1",
  "Message": "sample string 2",
  "ErrorList": [
    "sample string 1",
    "sample string 2"
  ],
  "Count": "2",
  "SalesOrders": [
    {
      "SalesOrderGUID": "901de292-6ea8-46f9-88b9-af6e1d59f0c2",
      "OrderNum": 8,
      "OrderDate": "2022-12-08T02:37:39.680882+00:00",
      "FieldOwnerId": "sample string 10",
      "FieldOwnerGuid": "4ae075f8-af46-4040-99b9-2d2b79e988ec",
      "FieldOwnerFirstName": "sample string 11",
      "FieldOwnerLastName": "sample string 12",
      "FieldOwnerName": "sample string 11 sample string 12",
      "FieldId": "sample string 13",
      "FieldGuid": "a794549a-cc85-4c5b-9416-0b274ac80d6d",
      "FieldDescription": "sample string 14",
      "BillComment": "sample string 15",
      "EstDelDate": "2022-12-08T02:37:39.680882+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": "496d3c6b-28d3-4cbb-a732-b7c171abc066",
      "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": "2022-12-08T02:37:39.680882+00:00",
      "DiscOpt": "sample string 38",
      "PaymentTermDescription": "sample string 39",
      "ProcessedYn": true,
      "Location": "sample string 41",
      "LocationGuid": "1c57a24b-5b2c-45f0-b4fd-adbb5e90b020",
      "LocationName": "sample string 43",
      "OfferExpiresDate": "2022-12-08T02:37:39.680882+00:00",
      "PaymentDate": "2022-12-08T02:37:39.680882+00:00",
      "CheckNumber": "sample string 44",
      "StartDate": "2022-12-08T02:37:39.680882+00:00",
      "ExpirationDate": "2022-12-08T02:37:39.680882+00:00",
      "AddedByUserId": "sample string 45",
      "AddedByUserGuid": "96183473-4b3b-4289-bf29-47bf234e2ddf",
      "AddedByUserFirstName": "sample string 46",
      "AddedByUserLastName": "sample string 47",
      "AddedByUserName": "sample string 46 sample string 47",
      "LastEditedUserId": "sample string 48",
      "LastEditedUserGuid": "2649d257-c8e3-4884-a7c7-3f86954b652b",
      "LastEditedUserFirstName": "sample string 49",
      "LastEditedUserLastName": "sample string 50",
      "LastEditedUserName": "sample string 49 sample string 50",
      "Splits": [
        {
          "SalesOrderSplitGUID": "a77658d1-923c-4da7-90fd-710e9afdd35d",
          "SplitNum": 2,
          "CustId": "sample string 3",
          "CustomerGuid": "0acfad4f-ea7e-4732-a51c-93ae02de413f",
          "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": "46c8af78-20e0-4e6d-b3f4-fef2310f2b42",
              "LineItem": 2,
              "DeptId": "sample string 3",
              "ProdId": "sample string 4",
              "ProductGuid": "29563f0b-7996-425f-b6b5-a78eb94a34c0",
              "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": "3f8589e6-c7e2-4513-a060-ea2e7a1a0905",
              "AllocationNumber": 20,
              "ProdIdAlternate": "sample string 22"
            },
            {
              "SalesOrderLineItemGUID": "46c8af78-20e0-4e6d-b3f4-fef2310f2b42",
              "LineItem": 2,
              "DeptId": "sample string 3",
              "ProdId": "sample string 4",
              "ProductGuid": "29563f0b-7996-425f-b6b5-a78eb94a34c0",
              "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": "3f8589e6-c7e2-4513-a060-ea2e7a1a0905",
              "AllocationNumber": 20,
              "ProdIdAlternate": "sample string 22"
            }
          ]
        },
        {
          "SalesOrderSplitGUID": "a77658d1-923c-4da7-90fd-710e9afdd35d",
          "SplitNum": 2,
          "CustId": "sample string 3",
          "CustomerGuid": "0acfad4f-ea7e-4732-a51c-93ae02de413f",
          "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": "46c8af78-20e0-4e6d-b3f4-fef2310f2b42",
              "LineItem": 2,
              "DeptId": "sample string 3",
              "ProdId": "sample string 4",
              "ProductGuid": "29563f0b-7996-425f-b6b5-a78eb94a34c0",
              "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": "3f8589e6-c7e2-4513-a060-ea2e7a1a0905",
              "AllocationNumber": 20,
              "ProdIdAlternate": "sample string 22"
            },
            {
              "SalesOrderLineItemGUID": "46c8af78-20e0-4e6d-b3f4-fef2310f2b42",
              "LineItem": 2,
              "DeptId": "sample string 3",
              "ProdId": "sample string 4",
              "ProductGuid": "29563f0b-7996-425f-b6b5-a78eb94a34c0",
              "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": "3f8589e6-c7e2-4513-a060-ea2e7a1a0905",
              "AllocationNumber": 20,
              "ProdIdAlternate": "sample string 22"
            }
          ]
        }
      ],
      "Applications": [
        {
          "SalesOrderApplicationGUID": "80a204f4-d568-4966-9771-67606a0744ae",
          "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": "80a204f4-d568-4966-9771-67606a0744ae",
          "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": "35bdec0d-1454-4729-ab1a-4209bc935f39",
          "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": "35bdec0d-1454-4729-ab1a-4209bc935f39",
          "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": "901de292-6ea8-46f9-88b9-af6e1d59f0c2",
      "OrderNum": 8,
      "OrderDate": "2022-12-08T02:37:39.680882+00:00",
      "FieldOwnerId": "sample string 10",
      "FieldOwnerGuid": "4ae075f8-af46-4040-99b9-2d2b79e988ec",
      "FieldOwnerFirstName": "sample string 11",
      "FieldOwnerLastName": "sample string 12",
      "FieldOwnerName": "sample string 11 sample string 12",
      "FieldId": "sample string 13",
      "FieldGuid": "a794549a-cc85-4c5b-9416-0b274ac80d6d",
      "FieldDescription": "sample string 14",
      "BillComment": "sample string 15",
      "EstDelDate": "2022-12-08T02:37:39.680882+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": "496d3c6b-28d3-4cbb-a732-b7c171abc066",
      "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": "2022-12-08T02:37:39.680882+00:00",
      "DiscOpt": "sample string 38",
      "PaymentTermDescription": "sample string 39",
      "ProcessedYn": true,
      "Location": "sample string 41",
      "LocationGuid": "1c57a24b-5b2c-45f0-b4fd-adbb5e90b020",
      "LocationName": "sample string 43",
      "OfferExpiresDate": "2022-12-08T02:37:39.680882+00:00",
      "PaymentDate": "2022-12-08T02:37:39.680882+00:00",
      "CheckNumber": "sample string 44",
      "StartDate": "2022-12-08T02:37:39.680882+00:00",
      "ExpirationDate": "2022-12-08T02:37:39.680882+00:00",
      "AddedByUserId": "sample string 45",
      "AddedByUserGuid": "96183473-4b3b-4289-bf29-47bf234e2ddf",
      "AddedByUserFirstName": "sample string 46",
      "AddedByUserLastName": "sample string 47",
      "AddedByUserName": "sample string 46 sample string 47",
      "LastEditedUserId": "sample string 48",
      "LastEditedUserGuid": "2649d257-c8e3-4884-a7c7-3f86954b652b",
      "LastEditedUserFirstName": "sample string 49",
      "LastEditedUserLastName": "sample string 50",
      "LastEditedUserName": "sample string 49 sample string 50",
      "Splits": [
        {
          "SalesOrderSplitGUID": "a77658d1-923c-4da7-90fd-710e9afdd35d",
          "SplitNum": 2,
          "CustId": "sample string 3",
          "CustomerGuid": "0acfad4f-ea7e-4732-a51c-93ae02de413f",
          "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": "46c8af78-20e0-4e6d-b3f4-fef2310f2b42",
              "LineItem": 2,
              "DeptId": "sample string 3",
              "ProdId": "sample string 4",
              "ProductGuid": "29563f0b-7996-425f-b6b5-a78eb94a34c0",
              "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": "3f8589e6-c7e2-4513-a060-ea2e7a1a0905",
              "AllocationNumber": 20,
              "ProdIdAlternate": "sample string 22"
            },
            {
              "SalesOrderLineItemGUID": "46c8af78-20e0-4e6d-b3f4-fef2310f2b42",
              "LineItem": 2,
              "DeptId": "sample string 3",
              "ProdId": "sample string 4",
              "ProductGuid": "29563f0b-7996-425f-b6b5-a78eb94a34c0",
              "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": "3f8589e6-c7e2-4513-a060-ea2e7a1a0905",
              "AllocationNumber": 20,
              "ProdIdAlternate": "sample string 22"
            }
          ]
        },
        {
          "SalesOrderSplitGUID": "a77658d1-923c-4da7-90fd-710e9afdd35d",
          "SplitNum": 2,
          "CustId": "sample string 3",
          "CustomerGuid": "0acfad4f-ea7e-4732-a51c-93ae02de413f",
          "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": "46c8af78-20e0-4e6d-b3f4-fef2310f2b42",
              "LineItem": 2,
              "DeptId": "sample string 3",
              "ProdId": "sample string 4",
              "ProductGuid": "29563f0b-7996-425f-b6b5-a78eb94a34c0",
              "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": "3f8589e6-c7e2-4513-a060-ea2e7a1a0905",
              "AllocationNumber": 20,
              "ProdIdAlternate": "sample string 22"
            },
            {
              "SalesOrderLineItemGUID": "46c8af78-20e0-4e6d-b3f4-fef2310f2b42",
              "LineItem": 2,
              "DeptId": "sample string 3",
              "ProdId": "sample string 4",
              "ProductGuid": "29563f0b-7996-425f-b6b5-a78eb94a34c0",
              "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": "3f8589e6-c7e2-4513-a060-ea2e7a1a0905",
              "AllocationNumber": 20,
              "ProdIdAlternate": "sample string 22"
            }
          ]
        }
      ],
      "Applications": [
        {
          "SalesOrderApplicationGUID": "80a204f4-d568-4966-9771-67606a0744ae",
          "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": "80a204f4-d568-4966-9771-67606a0744ae",
          "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": "35bdec0d-1454-4729-ab1a-4209bc935f39",
          "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": "35bdec0d-1454-4729-ab1a-4209bc935f39",
          "LineItem": 3,
          "DiscountName": "sample string 4",
          "Quantity": 5.1,
          "Total": 6.1,
          "Manual": 7.1,
          "Rate": 8.1,
          "DiscountType": 0,
          "DiscountTypeAsString": "Percent",
          "SalesOrderDiscountKey": 9
        }
      ]
    }
  ]
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: No set method for property 'LastEditedUserName' in type 'SSI.plbl.ClsSalesOrder'.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: No set method for property 'LastEditedUserName' in type 'SSI.plbl.ClsSalesOrder'.