statement
Get the pension statement document for the specified id
Changed onProvides the pension statement for the specified id as a PDF document in the insured person's preferred language. If the pension fund is unable to provide a document for the request id, the error code 400 should be returned.
get/statements/{pensionStatementId}/documents
Request
- Base URLhttps://pension.common-api.ch
- URLhttps://pension.common-api.ch/statements/{pensionStatementId}/documents
- AuthOAuth 2Authorization code: https://example.com/oauth/authorizeToken URL: https://example.com/oauth/token scopes: read:basic_pension_data
Path parameters
pensionStatementIdstring required
Technical ID of pension statement used in API calls.
Example:550e8450-e59b-21d4-a346-442215440560
Technical pension statement ID.
Response
Binary PDF data of the pension statement.
Changes
- breaking
the response body contentEncoding changed from
binarytofor the status - info
added the non-success response with the status
- breaking
- info
the endpoint scheme security
OAuth2was added to the API
- info