GET v1/Shops/{shopId}/VATTariffs

Get a list with all VAT tariffs which are available for given Shop.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
shopId

The shop identifier.

integer

Required.

Body Parameters

None.

Response Information

Resource Description

A list of the VATTariff objects.

Collection of VATTariff
NameDescriptionTypeAdditional information
Id

Gets or sets the identifier.

integer

Required

Code

Gets or sets the code.

string

Required

Max length: 10

Name

Gets or sets the name.

string

Required

Max length: 50

Percentage

Gets or sets the percentage.

decimal number

Required

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Code": "sample string 2",
    "Name": "sample string 3",
    "Percentage": 4.0
  },
  {
    "Id": 1,
    "Code": "sample string 2",
    "Name": "sample string 3",
    "Percentage": 4.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfVATTariff xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <VATTariff>
    <Id>1</Id>
    <Code>sample string 2</Code>
    <Name>sample string 3</Name>
    <Percentage>4</Percentage>
  </VATTariff>
  <VATTariff>
    <Id>1</Id>
    <Code>sample string 2</Code>
    <Name>sample string 3</Name>
    <Percentage>4</Percentage>
  </VATTariff>
</ArrayOfVATTariff>