GET api/VAT
Gets all VAT's
Request Information
URI Parameters
None.
Body Parameters
None.
Remarks
None.
Example
None.
Response Information
Resource Description
Collection of VATResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Id of VAT |
integer |
None. |
| Name |
Name of VAT |
string |
Required Max length: 256 |
| Percent |
Percent (9,4) |
decimal number |
None. |
| AccountId |
Id for account |
integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Name": "sample string 2",
"Percent": 3.0,
"AccountId": 1
},
{
"Id": 1,
"Name": "sample string 2",
"Percent": 3.0,
"AccountId": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfVATResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.Business">
<VATResponse>
<AccountId>1</AccountId>
<Id>1</Id>
<Name>sample string 2</Name>
<Percent>3</Percent>
</VATResponse>
<VATResponse>
<AccountId>1</AccountId>
<Id>1</Id>
<Name>sample string 2</Name>
<Percent>3</Percent>
</VATResponse>
</ArrayOfVATResponse>