POST api/C_ServiceItemMaster/CalculateAggTax?ItemCode={ItemCode}&Amount={Amount}&AtaxCode={AtaxCode}&EffectiveDate={EffectiveDate}&LineNo={LineNo}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ItemCode | string |
Required |
|
| Amount | decimal number |
Required |
|
| AtaxCode | string |
Required |
|
| EffectiveDate | date |
Required |
|
| LineNo | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CalculateTaxView| Name | Description | Type | Additional information |
|---|---|---|---|
| ItemCode | string |
None. |
|
| TaxCode | string |
None. |
|
| TaxRate | decimal number |
None. |
|
| TaxAmount | decimal number |
None. |
|
| TaxLine | integer |
None. |
|
| ItemLineNo | integer |
None. |
|
| ATaxCode | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ItemCode": "sample string 1",
"TaxCode": "sample string 2",
"TaxRate": 3.0,
"TaxAmount": 4.0,
"TaxLine": 5,
"ItemLineNo": 6,
"ATaxCode": "sample string 7"
},
{
"ItemCode": "sample string 1",
"TaxCode": "sample string 2",
"TaxRate": 3.0,
"TaxAmount": 4.0,
"TaxLine": 5,
"ItemLineNo": 6,
"ATaxCode": "sample string 7"
}
]
application/xml, text/xml
Sample:
<ArrayOfCalculateTaxView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models">
<CalculateTaxView>
<ATaxCode>sample string 7</ATaxCode>
<ItemCode>sample string 1</ItemCode>
<ItemLineNo>6</ItemLineNo>
<TaxAmount>4</TaxAmount>
<TaxCode>sample string 2</TaxCode>
<TaxLine>5</TaxLine>
<TaxRate>3</TaxRate>
</CalculateTaxView>
<CalculateTaxView>
<ATaxCode>sample string 7</ATaxCode>
<ItemCode>sample string 1</ItemCode>
<ItemLineNo>6</ItemLineNo>
<TaxAmount>4</TaxAmount>
<TaxCode>sample string 2</TaxCode>
<TaxLine>5</TaxLine>
<TaxRate>3</TaxRate>
</CalculateTaxView>
</ArrayOfCalculateTaxView>