Reprocess package documents
POST
/v1/loans/{ref}/reprocess
const url = 'http://localhost:8080/v1/loans/example/reprocess';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"documentId":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}'};
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/reprocess \ --header 'Content-Type: application/json' \ --data '{ "documentId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }'Runs every package document; or only documentId; through the pipeline again: earlier extractions are replaced, evidence is kept, and the loan returns to processing. Answers 202 with the pipeline status URL in Location. Admin, manager or specialist, or an API key with intake:write. 404 for an unknown reference, a document not in this package, or a package with no documents; 409 unless the loan is in intake, processing or review.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”ref
required
string
Request Body
Section titled “Request Body”Responses
Section titled “Responses”Accepted