POST /CantonList

Returns the list of cantons of Switzerland in a two-letter abbriviated form.

Resource URL

https://api.drtax.ch/TaxCalculator/CantonList

Resource Information

  • Response formats

    JSON

  • Requires authentication?

    No

  • Rate limited?

    No

  • Used in

    Tax calculator for Natural persons, Tax calculator for Legal persons, Tax calculator for Property gain

Parameters

No input parameters are needed.

Example Request

POST
https://api.drtax.ch/TaxCalculator/CantonList

{}

Example Result

{
  "data": {
    "id": "af05012e-e86a-4918-becf-6ac6cfa223c4",
    "request-date-time": "2015-08-18T10:28:32.508+0200",
    "attributes": {
      "cantons": ["AG",
      "AI",
      "AR",
      "BE",
      "BL",
      "BS",
      "FR",
      "GE",
      "GL",
      "GR",
      "JU",
      "LU",
      "NE",
      "NW",
      "OW",
      "SG",
      "SH",
      "SO",
      "SZ",
      "TG",
      "TI",
      "UR",
      "VD",
      "VS",
      "ZG",
      "ZH"]
    },
    "type": "canton-list"
  }
}