POST SalesOrderDiscount/GetSalesOrderDiscountDetailList

Returns a list of sales order discount details for the sales order passed in.

Request Information

URI Parameters

Body Parameters

Response Information

Resource Description

Returns a list of sales order discount details for the sales order passed in.

AgvSaleOrderDiscountDetails
NameDescriptionTypeAdditional Information
Status

Status of the API call.

string
Message

Message of the API call.

string
Count

Count of how many SalesOrderDiscountList JSON dictionaries.

string
SalesOrderDiscountDetails

JSON dictionary list of Sales Order Discount details.

Collection of ClsQuickOrderDiscount

Response Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "Message": "sample string 2",
  "Count": "sample string 3",
  "SalesOrderDiscountDetails": [
    {
      "OrderNum": 1,
      "LineItem": 2,
      "DiscountName": "sample string 3",
      "Quantity": 4.1,
      "Total": 5.1,
      "Manual": 6.1,
      "Rate": 7.1,
      "DiscountType": "sample string 8",
      "SoDiscountKey": 9
    },
    {
      "OrderNum": 1,
      "LineItem": 2,
      "DiscountName": "sample string 3",
      "Quantity": 4.1,
      "Total": 5.1,
      "Manual": 6.1,
      "Rate": 7.1,
      "DiscountType": "sample string 8",
      "SoDiscountKey": 9
    }
  ]
}

application/xml, text/xml

Sample:
<AgvSaleOrderDiscountDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.Inventory.SalesOrder">
  <Count>sample string 3</Count>
  <Message>sample string 2</Message>
  <SalesOrderDiscountDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/SSI">
    <d2p1:ClsQuickOrderDoNotUseForOldApiOnly.ClsQuickOrderDiscount>
      <d2p1:DiscountName>sample string 3</d2p1:DiscountName>
      <d2p1:DiscountType>sample string 8</d2p1:DiscountType>
      <d2p1:LineItem>2</d2p1:LineItem>
      <d2p1:Manual>6.1</d2p1:Manual>
      <d2p1:OrderNum>1</d2p1:OrderNum>
      <d2p1:Quantity>4.1</d2p1:Quantity>
      <d2p1:Rate>7.1</d2p1:Rate>
      <d2p1:SoDiscountKey>9</d2p1:SoDiscountKey>
      <d2p1:Total>5.1</d2p1:Total>
    </d2p1:ClsQuickOrderDoNotUseForOldApiOnly.ClsQuickOrderDiscount>
    <d2p1:ClsQuickOrderDoNotUseForOldApiOnly.ClsQuickOrderDiscount>
      <d2p1:DiscountName>sample string 3</d2p1:DiscountName>
      <d2p1:DiscountType>sample string 8</d2p1:DiscountType>
      <d2p1:LineItem>2</d2p1:LineItem>
      <d2p1:Manual>6.1</d2p1:Manual>
      <d2p1:OrderNum>1</d2p1:OrderNum>
      <d2p1:Quantity>4.1</d2p1:Quantity>
      <d2p1:Rate>7.1</d2p1:Rate>
      <d2p1:SoDiscountKey>9</d2p1:SoDiscountKey>
      <d2p1:Total>5.1</d2p1:Total>
    </d2p1:ClsQuickOrderDoNotUseForOldApiOnly.ClsQuickOrderDiscount>
  </SalesOrderDiscountDetails>
  <Status>sample string 1</Status>
</AgvSaleOrderDiscountDetails>