Skip to main content

Retrieve Loan Guarantor List

Overviewโ€‹

Retrieves the list of guarantors associated with a specific loan account.

Endpointโ€‹

POST /api/bpm/cmd

Request Headersโ€‹

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

Request Bodyโ€‹

{
"cmd": "RetrieveLoanGuarantorListQuery",
"data": {
"loanAccountId": 12345
}
}

Parametersโ€‹

ParameterTypeRequiredDescription
cmdstringYesMust be "RetrieveLoanGuarantorListQuery"
dataobjectYesQuery data
รขโ€ ยณ loanAccountIdintegerYesLoan account ID to retrieve guarantors for

Responseโ€‹

Success Response (200 OK)โ€‹

{
"success": true,
"message": "Loan guarantors retrieved successfully",
"data": {
"loanId": "LA-2024-00001",
"guarantors": [
{
"guarantorId": "CUST-67890",
"guarantorName": "Alice Johnson",
"guaranteeAmount": 25000.00,
"guaranteeType": "Partial",
"relationshipToBorrower": "Business Partner",
"status": "Active",
"acceptanceDate": "2024-01-12T00:00:00Z",
"addedAt": "2024-01-10T15:00:00Z"
},
{
"guarantorId": "CUST-98765",
"guarantorName": "Bob Wilson",
"guaranteeAmount": 25000.00,
"guaranteeType": "Partial",
"relationshipToBorrower": "Family Member",
"status": "Active",
"acceptanceDate": "2024-01-13T00:00:00Z",
"addedAt": "2024-01-10T15:05:00Z"
}
],
"summary": {
"totalGuarantors": 2,
"totalGuaranteeAmount": 50000.00,
"activeGuarantors": 2,
"pendingAcceptance": 0
}
}
}

Status Codesโ€‹

CodeDescription
200Guarantors retrieved successfully
401Unauthorized
404Loan not found
500Internal server error

Code Examplesโ€‹

C# Exampleโ€‹

Code Removed

Implementation details removed for security.

Contact support for implementation guidance.

TypeScript Exampleโ€‹

async function getLoanGuarantors(loanId: string): Promise<GuarantorList> {
const response = await fetch(`/api/administration/loan/${loanId}/guarantors`, {
headers: {
'Authorization': `Bearer ${accessToken}`,
'X-Tenant-Id': tenantId
}
});

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

Notesโ€‹

  • Returns all guarantors regardless of status
  • Summary provides total guarantee coverage
  • Status indicates whether guarantor has accepted
  • Use for compliance and risk assessment reporting