POST SalesOrderDiscount/GetSalesOrderNetPriceList?CustID={CustID}
Returns a list of sales order net prices.
Request Information
URI Parameters
Name | Description | Type | Additional Information |
---|---|---|---|
CustID |
The customer id to get the net prices for. |
string |
Required |
Body Parameters
Response Information
Resource Description
Returns a list of sales order net prices.
AgvSaleOrderNetPricesName | Description | Type | Additional Information |
---|---|---|---|
Status |
Status of the API call. |
string | |
Message |
Message of the API call. |
string | |
Count |
Count of how many SalesOrderNetPrices. |
string | |
SalesOrderNetPrices |
JSON dictionary list of Sales Order Net Prices. |
Collection of ClsSalesOrderNetPrice |
Response Formats
application/json, text/json
Sample:
{ "Status": "sample string 1", "Message": "sample string 2", "Count": "sample string 3", "SalesOrderNetPrices": [ { "OrderNumber": 1, "CustId": "sample string 2", "DeptId": "sample string 3", "ProdId": "sample string 4", "ProductName": "sample string 5", "CropCode": "sample string 6", "Discount": "sample string 7", "DiscountType": "sample string 8", "Quantity": 9.1, "Extension": 10.1, "TotalVolumeDiscount": 11.1, "TotalCashDiscount": 12.1, "BillingDivisor": 13.1, "NetPrice": 14.1, "AverageNetPrice": 15.1 }, { "OrderNumber": 1, "CustId": "sample string 2", "DeptId": "sample string 3", "ProdId": "sample string 4", "ProductName": "sample string 5", "CropCode": "sample string 6", "Discount": "sample string 7", "DiscountType": "sample string 8", "Quantity": 9.1, "Extension": 10.1, "TotalVolumeDiscount": 11.1, "TotalCashDiscount": 12.1, "BillingDivisor": 13.1, "NetPrice": 14.1, "AverageNetPrice": 15.1 } ] }
application/xml, text/xml
Sample:
<AgvSaleOrderNetPrices 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> <SalesOrderNetPrices xmlns:d2p1="http://schemas.datacontract.org/2004/07/SSI.plbl"> <d2p1:ClsSalesOrder.ClsSalesOrderNetPrice> <d2p1:AverageNetPrice>15.1</d2p1:AverageNetPrice> <d2p1:BillingDivisor>13.1</d2p1:BillingDivisor> <d2p1:CropCode>sample string 6</d2p1:CropCode> <d2p1:CustId>sample string 2</d2p1:CustId> <d2p1:DeptId>sample string 3</d2p1:DeptId> <d2p1:Discount>sample string 7</d2p1:Discount> <d2p1:DiscountType>sample string 8</d2p1:DiscountType> <d2p1:Extension>10.1</d2p1:Extension> <d2p1:NetPrice>14.1</d2p1:NetPrice> <d2p1:OrderNumber>1</d2p1:OrderNumber> <d2p1:ProdId>sample string 4</d2p1:ProdId> <d2p1:ProductName>sample string 5</d2p1:ProductName> <d2p1:Quantity>9.1</d2p1:Quantity> <d2p1:TotalCashDiscount>12.1</d2p1:TotalCashDiscount> <d2p1:TotalVolumeDiscount>11.1</d2p1:TotalVolumeDiscount> </d2p1:ClsSalesOrder.ClsSalesOrderNetPrice> <d2p1:ClsSalesOrder.ClsSalesOrderNetPrice> <d2p1:AverageNetPrice>15.1</d2p1:AverageNetPrice> <d2p1:BillingDivisor>13.1</d2p1:BillingDivisor> <d2p1:CropCode>sample string 6</d2p1:CropCode> <d2p1:CustId>sample string 2</d2p1:CustId> <d2p1:DeptId>sample string 3</d2p1:DeptId> <d2p1:Discount>sample string 7</d2p1:Discount> <d2p1:DiscountType>sample string 8</d2p1:DiscountType> <d2p1:Extension>10.1</d2p1:Extension> <d2p1:NetPrice>14.1</d2p1:NetPrice> <d2p1:OrderNumber>1</d2p1:OrderNumber> <d2p1:ProdId>sample string 4</d2p1:ProdId> <d2p1:ProductName>sample string 5</d2p1:ProductName> <d2p1:Quantity>9.1</d2p1:Quantity> <d2p1:TotalCashDiscount>12.1</d2p1:TotalCashDiscount> <d2p1:TotalVolumeDiscount>11.1</d2p1:TotalVolumeDiscount> </d2p1:ClsSalesOrder.ClsSalesOrderNetPrice> </SalesOrderNetPrices> <Status>sample string 1</Status> </AgvSaleOrderNetPrices>