Stage a boarding record
const url = 'http://localhost:8080/v1/loans/example/boarding/stage';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:8080/v1/loans/example/boarding/stagePhase one of two-phase boarding: maps and validates the package, stages it on the core adapter, records the full preview and moves the loan from approved to boarding_staged. Send an Idempotency-Key header to make retries safe; the same key for the same loan replays the original record (201 again) instead of staging twice. Requires a signed-in admin, manager or specialist (not an API key). 404 for an unknown loan, 409 unless the loan is approved, 400 with one error per core field when validation fails, 422 when the adapter refuses the staging or no active field map exists.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Header Parameters
Section titled “Header Parameters”Responses
Section titled “Responses”Created
The staged record with every core field and its provenance.
object
One core field ready to post: code, wire value and where it came from. string? CoreFieldValue.Value is null when the map found no source.
object
Where a boarded value came from ( “every core field + source provenance”).
object
Examplegenerated
{ "boardingId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "loanId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "loanRef": "example", "provider": "example", "fieldMapId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "fieldMapVersion": 1, "state": "example", "preview": [ { "coreField": "example", "canonical": "example", "transform": "example", "value": "example", "source": { "documentId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "documentName": "example", "docType": "example", "canonical": "example", "pageNo": 1, "x": 1, "y": 1, "w": 1, "h": 1 } } ], "requiredApprovalRole": "example", "stagedBy": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "stagedAt": "2026-04-15T12:00:00Z", "approvedBy": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "approvedAt": "2026-04-15T12:00:00Z", "committedAt": "2026-04-15T12:00:00Z", "coreReference": "example", "error": { "status": "example", "detail": "example", "rawResponse": "example", "at": "2026-04-15T12:00:00Z", "attempt": 1 }, "idempotencyKey": "example"}