person
Get details of an insured person
Changed onProvides the details of the insured person, including name, address and additional data relevant in the Swiss social security system (birth date, sex etc.)
get/insured-persons/{personId}
Request
- Base URLhttps://pension.common-api.ch
- URLhttps://pension.common-api.ch/insured-persons/{personId}
- AuthOAuth 2Authorization code: https://example.com/oauth/authorizeToken URL: https://example.com/oauth/token scopes: read:basic_pension_data
Path parameters
personIdstring required
Technical ID of insured person used in API calls.
Example:JohnDoe_1234
Technical person ID.
Response
Details of insured person.
Example response
{
"birthDate": "2018-04-13",
"firstName": "John",
"lastName": "Doe",
"maritalStatus": "married",
"personId": "JohnDoe_1234",
"policyIds": [
"Pol_56789-2024"
],
"sex": "male",
"ssn": 7561234567890,
"address": {
"countryCode": "CH",
"postalCode": "3944",
"street": "Brandstrasse 2",
"town": "Unterbäch",
"poBox": "PO Box 42"
},
"marriageDate": "2018-04-13"
}Changes
- info
the response property
became required for the status
- info
- info
added the non-success response with the status
- info