GET api/Deal/GetStateTaxes?DealershipID={DealershipID}
Get list of State Taxes
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| DealershipID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Tax| Name | Description | Type | Additional information |
|---|---|---|---|
| DealTaxID | integer |
None. |
|
| TaxCategoryID | byte |
None. |
|
| Description | string |
None. |
|
| Rate | decimal number |
None. |
|
| Amount | decimal number |
None. |
|
| TaxVariableID | TaxVariableEnum |
None. |
|
| Fixed | boolean |
None. |
|
| RangeStart | decimal number |
None. |
|
| RangeEnd | decimal number |
None. |
|
| DealID | integer |
None. |
|
| TransactionID | integer |
None. |
|
| OperatorID | integer |
None. |
|
| RecordState | AddEditDeleteEnum |
None. |
|
| Included | boolean |
None. |
|
| SoldAtID | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"DealTaxID": 1,
"TaxCategoryID": 64,
"Description": "sample string 3",
"Rate": 4.0,
"Amount": 5.0,
"TaxVariableID": 1,
"Fixed": true,
"RangeStart": 7.0,
"RangeEnd": 8.0,
"DealID": 9,
"TransactionID": 1,
"OperatorID": 1,
"RecordState": 3,
"Included": true,
"SoldAtID": 1
},
{
"DealTaxID": 1,
"TaxCategoryID": 64,
"Description": "sample string 3",
"Rate": 4.0,
"Amount": 5.0,
"TaxVariableID": 1,
"Fixed": true,
"RangeStart": 7.0,
"RangeEnd": 8.0,
"DealID": 9,
"TransactionID": 1,
"OperatorID": 1,
"RecordState": 3,
"Included": true,
"SoldAtID": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfTax xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DC.Core.Model">
<Tax>
<Amount>5</Amount>
<DealID>9</DealID>
<DealTaxID>1</DealTaxID>
<Description>sample string 3</Description>
<Fixed>true</Fixed>
<Included>true</Included>
<OperatorID>1</OperatorID>
<RangeEnd>8</RangeEnd>
<RangeStart>7</RangeStart>
<Rate>4</Rate>
<SoldAtID>1</SoldAtID>
<TaxCategoryID>64</TaxCategoryID>
<TaxVariableID>FlatTaxIncludesAll</TaxVariableID>
<TransactionID>1</TransactionID>
</Tax>
<Tax>
<Amount>5</Amount>
<DealID>9</DealID>
<DealTaxID>1</DealTaxID>
<Description>sample string 3</Description>
<Fixed>true</Fixed>
<Included>true</Included>
<OperatorID>1</OperatorID>
<RangeEnd>8</RangeEnd>
<RangeStart>7</RangeStart>
<Rate>4</Rate>
<SoldAtID>1</SoldAtID>
<TaxCategoryID>64</TaxCategoryID>
<TaxVariableID>FlatTaxIncludesAll</TaxVariableID>
<TransactionID>1</TransactionID>
</Tax>
</ArrayOfTax>