List the documents for a specific end-user.
The documents will be downloaded with a dedicated endpoint.
OK
Bad Request
Unauthorized
Forbidden
{- "content": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "endUser": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "friendlyName": "string",
- "fileName": "string",
- "type": "ARTICLE_OF_ASSOCIATION",
- "status": "UPLOADED",
- "transactionId": "75906707-8c31-479c-b354-aa805c4cefbc",
- "beneficiaryId": "410e5c37-9603-4e5b-81b1-7cb895f362e8",
- "requested": true,
- "creationDate": "2019-08-24T14:15:22Z"
}
], - "totalElements": 1,
- "page": 0,
- "pageSize": 0
}
Upload a document for a specific end-user. To prevent abuse:
Created
Bad Request
Unauthorized
Forbidden
Conflict
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
Create a document request for an end-user so they can upload the required document.
Created
Bad Request
Unauthorized
Forbidden
{- "endUserId": "120e9d1f-8444-4b91-85e8-5b208615a3e5",
- "type": "ARTICLE_OF_ASSOCIATION",
- "note": "string",
- "transactionId": "75906707-8c31-479c-b354-aa805c4cefbc",
- "beneficiaryId": "410e5c37-9603-4e5b-81b1-7cb895f362e8"
}
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
Get a document with its download link.
OK
Bad Request
Unauthorized
Forbidden
Not Found
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "endUser": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "contentType": "string",
- "type": "ARTICLE_OF_ASSOCIATION",
- "friendlyName": "string",
- "fileName": "string",
- "status": "UPLOADED",
- "transactionId": "75906707-8c31-479c-b354-aa805c4cefbc",
- "beneficiaryId": "410e5c37-9603-4e5b-81b1-7cb895f362e8",
- "requested": true,
- "note": "string",
- "verificationDate": "2019-08-24T14:15:22Z",
- "uploadDate": "2019-08-24T14:15:22Z",
- "creationDate": "2019-08-24T14:15:22Z",
- "download": {
- "url": "string",
- "ttl": "PT8H6M12.345S"
}
}