GET api/VATRate?sessionId={sessionId}&offset={offset}&limit={limit}

Gets all VAT rates

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sessionId

string

Required

offset

integer

Default value is 0

limit

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Collection of 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
  },
  {
    "id": 1,
    "code": "sample string 2",
    "rate": 1.1,
    "description": "sample string 3",
    "default": true
  }
]

application/xml, text/xml

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