Retrieves loan account debtors by account code.
GET/Loans/accounts/:code/debtors
Retrieves loan account debtors by account code.
Request​
Path Parameters
code stringrequired
Query Parameters
api-version string
Header Parameters
X-Request-ID stringrequired
Responses​
- 200
- 404
- 500
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- DebtorType
- ]
sn int32required
Sequence number of the debtor for a specific loan.
customerCode stringnullablerequired
Customer code of the debtor.
firstName stringnullablerequired
First name.
lastName stringnullablerequired
Surname.
fathersName stringnullablerequired
Father's name.
fullName stringnullablerequired
Full customer name in this format "FirstName LastName / FathersName".
tin stringnullablerequired
Tax identification number.
debtorType object nullable
Debtor type (MainDebtor, CoDebtor or Guarantor).
oneOf
string
Possible values: [MainDebtor, CoDebtor, Guarantor, Heir, BenefitOfInventoryHeir, ThirdPartyParticipant]
[
{
"sn": 1,
"customerCode": 464,
"firstName": "John",
"lastName": "Smith",
"fathersName": "George",
"fullName": "John Smith / George",
"tin": 70449977,
"debtorType": "MainDebtor"
}
]
- application/json
- Schema
- Example (from schema)
Schema
type stringnullablerequired
title stringnullablerequired
status int32nullablerequired
detail stringnullablerequired
instance stringnullablerequired
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
type stringnullablerequired
title stringnullablerequired
status int32nullablerequired
detail stringnullablerequired
instance stringnullablerequired
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Loading...