Mortgage Application
Add documents for the specific application
Changed onDocuments can be assigned to a specific application ID.
post/mortgages/applications/{applicationId}/documents
Request
- Base URLhttps://mortgage.common-api.ch
- URLhttps://mortgage.common-api.ch/mortgages/applications/{applicationId}/documents
- Auth
- API key in header X-API-Key
- or OAuth 2Authorization code: https://example.com/oauth/authorizeToken URL: https://example.com/oauth/token scopes: read, write
Path parameters
applicationIdstring uuid required
The application identifier (UUID v4) defined by FI.
Example:4bf92636-14a0-4511-98e2-acfde576e644
Uuid v4 of the application request.
Headers
X-CorAPI-Client-IDstring required
ID of the client forwarded to the provider.
X-Correlation-IDstring required
Unique ID (defined by the caller) which will be reflected back in the response.
User-Agentstring required
Name and version of the of the Client software.
Request body multipart/form-data
Example request
{
"documentType": "tax_statement",
"name": "my-property-flyer",
"size": 21543,
"type": "application/pdf",
"applicantId": "576f8de3-6b30-4882-a7af-da2132a456cf"
}Response
created.
Example response
{
"id": "4bf92636-14a0-4511-98e2-acfde576e644"
}Changes
- info
api operation id
addApplicationDocumentwas added
- info
- breaking
added the new path request parameter
applicationId - warning
deleted the
pathrequest parameterApplication ID
- breaking