Skip to main content

Set Loan Back to Partial Application

Overviewโ€‹

Reverts a loan application to partial application status to allow additional information collection.

Endpointโ€‹

POST /api/bpm/cmd

Request Headersโ€‹

HeaderTypeRequiredDescription
AuthorizationstringYesBearer token for authentication
Content-TypestringYesMust be application/json
X-Tenant-IdstringYesTenant identifier

Request Bodyโ€‹

{
"cmd": "SetLoanBackToPartialApplicationCommand",
"data": {
"accountEncodedKey": "LN-2024-001234",
"comment": "Additional documentation required - Income proof and bank statements needed"
}
}

Parametersโ€‹

ParameterTypeRequiredDescription
cmdstringYesMust be "SetLoanBackToPartialApplicationCommand"
dataobjectYesRevert data
รขโ€ ยณ accountEncodedKeystringYesLoan account identifier (EncodedKey or AccountNumber)
รขโ€ ยณ commentstringNoReason for reverting to partial application

Responseโ€‹

Success Response (200 OK)โ€‹

{
"success": true,
"message": "Loan set back to partial application successfully",
"data": {
"loanId": "LA-2024-00001",
"status": "PartialApplication",
"revertedAt": "2024-01-13T11:00:00Z",
"revertedBy": "officer@bank.com",
"reason": "Additional documentation required",
"missingInformation": [
"Proof of income",
"Guarantor acceptance letter"
]
}
}

Status Codesโ€‹

CodeDescription
200Loan reverted successfully
400Invalid request or loan not eligible
401Unauthorized
404Loan not found
409Loan in wrong status for revert
500Internal server error

Business Rulesโ€‹

  • Can only revert before approval
  • Used when incomplete information discovered
  • Allows loan officer to collect missing data
  • Customer notified of requirements
  • Loan can be resubmitted when complete

Code Examplesโ€‹

C# Exampleโ€‹

Code Removed

Implementation details removed for security.

Contact support for implementation guidance.

TypeScript Exampleโ€‹

async function setLoanBackToPartial(loanId: string, reason: string, missingInfo?: string[]): Promise<RevertResponse> {
const response = await fetch('/api/administration/loan/set-back-to-partial', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': `Bearer ${accessToken}`,
'X-Tenant-Id': tenantId
},
body: JSON.stringify({ loanId, reason, missingInformation: missingInfo })
});

const result = await response.json();
return result.data;
}

Notesโ€‹

  • Helps manage incomplete applications
  • Customer receives list of missing items
  • Tracked in loan application timeline
  • No penalty to customer for revert
  • Common during initial application review