Get Loan (Draft)
DevelopingGET
/empeo/api/v1.0/Payroll/LoanRequest
Query Params
CompanyName
string
required
Example:
Gofive
EmployeeRefId
string
required
Example:
DR1STM2
Header Params
Authorization
string
required
Example:
Bearer {Bearer}
Content-Type
string
required
Example:
application/json
Body Params application/json
userID
string
required
purchaseAmount
integer
required
Example
{
"CompanyName": "โกไฟว์",
"EmployeeRefId": "DR1STM2"
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{
"statusCode": 200,
"message": "OK",
"totals": 1,
"data": [
{
"employeeRefId": "99999",
"firstName": "เอบีซี",
"lastName": "ดีอีเอฟ",
"firstNameEN": "ABC",
"lastNameEN": "DEF",
"nickName": "จี",
"nickNameEN": "G",
"companyName": "Gofive",
"financialItemName": "กู้ซื้อบ้าน",
"documentNo": "INV0000001",
"dateOfPayment": "2023-07-31",
"amount": 10000,
"totalPeriod": 12,
"lastPaymentPeriod": 1000,
"paymentPaidAmount": 6000,
"remainAmount": 6000,
"status": 2,
"remark": "กู้ธนาคารกับบริษัท แบ่งจ่าย 12 งวด",
"interestType": 0,
"interestRatePerYear": 0
}
]
}
Last modified: a year ago