POST /MaritalStatusList

Returns the list of possible marital statuses.

Resource URL

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

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

  • language Optional

    Language in which the list of marital statuses is returned. If not provided, the default language is set to English.Example Values: de, fr, it, en

Example Request

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

{
  "language": "en"
}

Example Result

{
  "data": {
    "id": "4c1aa566-59b4-4004-873c-1a1c376e3cc7",
    "request-date-time": "2015-08-18T12:19:32.885+0200",
    "attributes": {
      "marital-statuses": ["single",
      "married",
      "divorced",
      "separated",
      "widowed",
      "registered partnership",
      "surviving registered partner",
      "dissolved partnership",
      "separated partnership"]
    },
    "type": "marital-status-list"
  }
}