GET api/Vats/GetVatsInUse
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
VAT| Name | Description | Type | Additional information |
|---|---|---|---|
| VATId | integer |
None. |
|
| VATcode | string |
Required String length: inclusive between 0 and 20 |
|
| VATpercentage | decimal number |
Required |
|
| IsInUse | boolean |
Required |
|
| VatPrintTextLanguage01 | string |
None. |
|
| VatPrintTextLanguage02 | string |
None. |
|
| VatPrintTextLanguage03 | string |
None. |
|
| VatPrintTextLanguage04 | string |
None. |
|
| VatPrintTextLanguage05 | string |
None. |
|
| VatPrintTextLanguage06 | string |
None. |
|
| ObjectState | ObjectState |
None. |
Response Formats
application/json, text/json
Sample:
{
"vatId": 1,
"vaTcode": "sample string 2",
"vaTpercentage": 3.0,
"isInUse": true,
"vatPrintTextLanguage01": "sample string 5",
"vatPrintTextLanguage02": "sample string 6",
"vatPrintTextLanguage03": "sample string 7",
"vatPrintTextLanguage04": "sample string 8",
"vatPrintTextLanguage05": "sample string 9",
"vatPrintTextLanguage06": "sample string 10",
"objectState": 0
}
application/xml, text/xml
Sample:
<VAT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gruo.Core.Models"> <ObjectState xmlns="http://schemas.datacontract.org/2004/07/Gruo.Core.Repository">Unchanged</ObjectState> <IsInUse>true</IsInUse> <VATId>1</VATId> <VATcode>sample string 2</VATcode> <VATpercentage>3</VATpercentage> <VatPrintTextLanguage01>sample string 5</VatPrintTextLanguage01> <VatPrintTextLanguage02>sample string 6</VatPrintTextLanguage02> <VatPrintTextLanguage03>sample string 7</VatPrintTextLanguage03> <VatPrintTextLanguage04>sample string 8</VatPrintTextLanguage04> <VatPrintTextLanguage05>sample string 9</VatPrintTextLanguage05> <VatPrintTextLanguage06>sample string 10</VatPrintTextLanguage06> </VAT>