post
https://bizcore-api.bizcorebeta.com.au/api/v1/lending/loan-documents/upload-loan-documents
Accepts a multipart/form-data request only — this endpoint does not accept application/json.
Array binding convention
Documents is bound from form-data as a list, so each item's fields must use an
indexed key format: Documents[i].PropertyName (zero-based index). A plain
Documents key without an index will not bind.
Example — uploading two documents for one loan:
| Key | Value |
|---|---|
LoanId | 3fa85f64-5717-4562-b3fc-2c963f66afa6 |
Documents[0].File | (binary file) |
Documents[0].DocumentTypeId | 8f14e45f-ceea-467a-9575-... |
Documents[0].DocumentName | Bank Statement.pdf |
Documents[1].File | (binary file) |
Documents[1].DocumentTypeId | ... |
Documents[1].DocumentName | Payslip.pdf |
Field notes
LoanId— internal GUID of the loan the documents belong to.Documents[i].File— binary content of the file for itemi.Documents[i].DocumentTypeId— GUID identifying the document type. Must be a valid ID for the caller's
workspace — call
GET /api/v1/core/resources/get-upload-document-types-by-workspacefirst to retrieve the allowed document type IDs
for the current workspace.
Passing an arbitrary or cross-workspace GUID will be rejected.Documents[i].DocumentName— display name shown to users; does not need to match the uploaded filename.
Common mistakes
- Sending
Documentsas a JSON string/array instead of individual indexed form fields. - Manually setting a
Content-Type: multipart/form-dataheader without a boundary — let your HTTP client generate
it. - Omitting the index (e.g.
Documents.Fileinstead ofDocuments[0].File) — the model binder can't map this to a
list item. - Hardcoding or reusing a
DocumentTypeIdfrom another workspace/environment instead of fetching it from
get-upload-document-types-by-workspace.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
401Unauthorized

