GET api/VATRate/{id}?systemName={systemName}&username={username}&password={password}

Gets a specific VAT rate

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

systemName

string

Required

username

string

Required

password

string

Required

Body Parameters

None.

Response Information

Resource Description

APIVATRate
NameDescriptionTypeAdditional information
Id

Unique identifier

integer

None.

Code

Textual identifier

string

None.

Rate

VAT rate

decimal number

None.

Description

Description

string

None.

Default

Denotes default VAT rate

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "code": "sample string 2",
  "rate": 1.1,
  "description": "sample string 3",
  "default": true
}

application/xml, text/xml

Sample:
<APIVATRate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rochester.Models">
  <Code>sample string 2</Code>
  <Default>true</Default>
  <Description>sample string 3</Description>
  <Id>1</Id>
  <Rate>1.1</Rate>
</APIVATRate>