CreateNextOfKinInformationCommand
Overview​
Adds a next-of-kin record to a loan application, linked to both the loan quote and the authenticated user.
Command Structure​
{
"cmd": "CreateNextOfKinInformationCommand",
"data": "{\"loanQuoteId\":110,\"name\":\"Chioma Okafor\",\"emailAddress\":\"chioma@example.com\",\"mobileNumber\":\"08033445566\",\"relationship\":\"Spouse\",\"address\":\"7 Broad Street, Lagos\"}"
}
Parameters​
| Parameter | Type | Required | Description |
|---|---|---|---|
loanQuoteId | long | Yes | Loan application ID |
name | string | Yes | Full name of the next of kin |
emailAddress | string | Yes | Email address |
mobileNumber | string | Yes | Phone number |
relationship | string | Yes | Relationship to applicant (e.g. Spouse, Parent, Sibling) |
address | string | Yes | Residential address |
Response​
{
"ok": true,
"statusCode": "00",
"message": "Next of kin information created successfully.",
"outData": {
"NextOfKinId": 33,
"Name": "Chioma Okafor"
}
}