POST /ChurchCommunityList

Returns the list of church communities based on the domicile in canton Appenzell Innerrhoden. Returns a string describing the failure condition when unsuccessful.

Sending an empty request will return an HTTP 415 error (Unsupported Media Type). Failure to provide both zip and domicile parameters will return an HTTP 400 error (Bad Request). Sending the request with zip and domicile parameters which do not belong to canton Appenzell Innerrhoden will return an empty church community list.

Resource URL

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

Resource Information

  • Response formats

    JSON

  • Requires authentication?

    No

  • Rate limited?

    No

  • Used in

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

Parameters

Either zip or domicile must be provided.

  • tax-year Optional

    Tax year for which the request is issued. If not provided, a year preeceding the current calendar year will be used.Example Value: 2014

  • zip Semi-optional

    Postal code of the taxable person's residence.Example Value: 9413

  • domicile Semi-optional

    Place of the taxable person's residence.Example Value: Oberegg

Example Request

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

{
  "zip": 9413,
  "tax-year": 2014,
  "domicile": "Oberegg"
}

Example Result

{
  "data": {
    "id": "abf33c1e-2e7e-4844-95ed-57c42ae5cbc0",
    "request-date-time": "2015-08-18T10:57:42.572+0200",
    "attributes": {
      "church-communities": ["Kath. Berneck",
      "Kath. Marbach",
      "Kath. Oberegg",
      "Prot. Trogen",
      "Prot. Reute",
      "Prot. Wald"]
    },
    "type": "church-community-list"
  }
}