Get a list of submitted documents for a specifically placed application
Changed onAll documents that have been shared against the Application ID can be retrieved here.
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
The application identifier (UUID v4) defined by FI.
Uuid v4 of the application request.
Query parameters
Optional parameter for pagination. An opaque string value used for pagination.
Optional parameter for pagination. Maximum number of entries to be returned.
Headers
ID of the client forwarded to the provider.
Unique ID (defined by the caller) which will be reflected back in the response.
Name and version of the of the Client software.
Response
OK.
Example response
{
"documentList": [
{
"filename": "customer_id.pdf",
"filetype": "pdf",
"documentId": "7f648f12-fd45-4930-6543-456ef5671c37",
"filesize": 1024,
"uploaddate": "2018-04-13",
"statusInfo": {
"status": "pending",
"statusReason": "Additional information that can be shared with the status."
}
}
]
}Changes
- info
api operation id
getApplicationDocumentswas added
- info
- breaking
the response's body type changed from
arraytoobjectfor status - info
added the new optional
queryrequest parametercursor - info
added the new optional
queryrequest parameterlimit - info
added the required property
to the response with the status
- breaking