GET api/{module}/SalesOrderTotals/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required |
|
| module | string |
None. |
Body Parameters
None.
Response Information
Resource Description
SalesOrderTotals| Name | Description | Type | Additional information |
|---|---|---|---|
| TotalQuantity | decimal number |
None. |
|
| TotalPrice | decimal number |
None. |
|
| TotalPercentageDiscounts | decimal number |
None. |
|
| TotalPercentageIncreases | decimal number |
None. |
|
| TotalValueDiscounts | decimal number |
None. |
|
| TotalValueIncreases | decimal number |
None. |
|
| TotalVolumes | decimal number |
None. |
|
| TotalGrossWeight | decimal number |
None. |
|
| TotalNetWeight | decimal number |
None. |
|
| TotalGrossProduct | decimal number |
None. |
|
| TotalNetProduct | decimal number |
None. |
|
| TotalTaxes | decimal number |
None. |
|
| TotalTaxesWithheld | decimal number |
None. |
|
| TotalFreight | decimal number |
None. |
|
| TotalExpenses | decimal number |
None. |
|
| TotalCommission | decimal number |
None. |
|
| TotalCost | decimal number |
None. |
|
| TotalPercentageTaxes | decimal number |
None. |
|
| TotalPercentageFreight | decimal number |
None. |
|
| MarginDesc | string |
None. |
|
| Id | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"totalQuantity": 1.1,
"totalPrice": 2.1,
"totalPercentageDiscounts": 3.1,
"totalPercentageIncreases": 4.1,
"totalValueDiscounts": 5.1,
"totalValueIncreases": 6.1,
"totalVolumes": 7.1,
"totalGrossWeight": 8.1,
"totalNetWeight": 9.1,
"totalGrossProduct": 10.1,
"totalNetProduct": 11.1,
"totalTaxes": 12.1,
"totalTaxesWithheld": 13.1,
"totalFreight": 14.1,
"totalExpenses": 15.1,
"totalCommission": 16.1,
"totalCost": 17.1,
"totalPercentageTaxes": 18.1,
"totalPercentageFreight": 19.1,
"marginDesc": "sample string 20",
"id": "sample string 21"
}
application/xml, text/xml
Sample:
<SalesOrderTotals xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Avant.Plenus.WebApi.Models.Business.Sales"> <Id xmlns="http://schemas.datacontract.org/2004/07/Avant.Plenus.WebApi.Models.Business.Common">sample string 21</Id> <MarginDesc>sample string 20</MarginDesc> <TotalCommission>16.1</TotalCommission> <TotalCost>17.1</TotalCost> <TotalExpenses>15.1</TotalExpenses> <TotalFreight>14.1</TotalFreight> <TotalGrossProduct>10.1</TotalGrossProduct> <TotalGrossWeight>8.1</TotalGrossWeight> <TotalNetProduct>11.1</TotalNetProduct> <TotalNetWeight>9.1</TotalNetWeight> <TotalPercentageDiscounts>3.1</TotalPercentageDiscounts> <TotalPercentageFreight>19.1</TotalPercentageFreight> <TotalPercentageIncreases>4.1</TotalPercentageIncreases> <TotalPercentageTaxes>18.1</TotalPercentageTaxes> <TotalPrice>2.1</TotalPrice> <TotalQuantity>1.1</TotalQuantity> <TotalTaxes>12.1</TotalTaxes> <TotalTaxesWithheld>13.1</TotalTaxesWithheld> <TotalValueDiscounts>5.1</TotalValueDiscounts> <TotalValueIncreases>6.1</TotalValueIncreases> <TotalVolumes>7.1</TotalVolumes> </SalesOrderTotals>