GET api/v1/VatRate?token={token}&date={date}

Get a list of historical VAT rates
Usage: GET /api/v1/VatRate/?token=_TOKEN_

Request Information

URI Parameters

NameDescriptionType/Additional information
token

The access token

string
date

The date for VAT. If null then the date is today

date

Body Parameters

None.

Response Description

CaspitResponse

A generic object used to return information from Caspit

Response Formats

application/json, text/json

Sample:
{
  "CurrentPage": 1,
  "TotalCount": 2,
  "TotalPages": 3,
  "PrevPageUrl": "sample string 4",
  "NextPageUrl": "sample string 5",
  "Results": [
    {
      "DateCreated": "2024-11-23T10:14:46.7693481+02:00",
      "UserCreated": "sample string 1",
      "DateUpdated": "2024-11-23T10:14:46.7693481+02:00",
      "UserUpdated": "sample string 2"
    },
    {
      "DateCreated": "2024-11-23T10:14:46.7693481+02:00",
      "UserCreated": "sample string 1",
      "DateUpdated": "2024-11-23T10:14:46.7693481+02:00",
      "UserUpdated": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<CaspitResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.caspit.biz/2013/03">
  <CurrentPage>1</CurrentPage>
  <NextPageUrl>sample string 5</NextPageUrl>
  <PrevPageUrl>sample string 4</PrevPageUrl>
  <Results>
    <CaspitBase>
      <DateCreated>2024-11-23T10:14:46.7693481+02:00</DateCreated>
      <DateUpdated>2024-11-23T10:14:46.7693481+02:00</DateUpdated>
      <UserCreated>sample string 1</UserCreated>
      <UserUpdated>sample string 2</UserUpdated>
    </CaspitBase>
    <CaspitBase>
      <DateCreated>2024-11-23T10:14:46.7693481+02:00</DateCreated>
      <DateUpdated>2024-11-23T10:14:46.7693481+02:00</DateUpdated>
      <UserCreated>sample string 1</UserCreated>
      <UserUpdated>sample string 2</UserUpdated>
    </CaspitBase>
  </Results>
  <TotalCount>2</TotalCount>
  <TotalPages>3</TotalPages>
</CaspitResponse>