- Authentication API
- Employee
- Get EmployeeGET
- Update EmployeePUT
- Get List EmployeesGET
- Get Employees List GET
- Get Mastertypes ListGET
- Get Name PrefixesGET
- Get Document TypesGET
- Update EmployeePOST
- Add Employee AttachmentPOST
- Update Employee AddressPOST
- Update Employee FamilyPOST
- Update Employee InformationPOST
- Update Employee ShiftsPOST
- Update Employee ContactPOST
- Update Employee EducationPOST
- Update Employee ExperiencePOST
- Update Employee CustomFieldPOST
- Delete EmployeePOST
- Get Employee ShiftsGET
- Get Employee RoleGET
- Get Employee Movement ListsGET
- Leave
- Master
- Payroll
- Attendance
- Welfare
- Time
- AppMan
- Asset
- Recruitment
Create Loan
Developing
POST
https://api.gofive.co.th/empeo/api/v1/Payroll/Loan
Request
Header Params
Authorization
string
required
Example:
Bearer {Bearer}
Content-Type
string
required
Example:
application/json
Body Params application/json
EmployeeRefId
string
required
CompanyName
string
required
DocumentNo
string
optional
FinancialItemName
string
required
DateOfPayment
string
required
Amount
number
required
TotalPeriod
number
required
Remark
string
required
InterestType
number
required
InterestRatePerYear
number
required
Example
{
"EmployeeRefId": "4F603520-4FCD-4973-8388-B5B0EE84CBB1",
"CompanyName": "empeo Dev Test",
"DocumentNo": "EPP220400171",
"FinancialItemName": "Advance Payment",
"DateOfPayment": "2023-07-31",
"Amount": 19807.45,
"TotalPeriod": 12,
"Remark": "IPA4-MYFQ2TH/A",
"InterestType": 1,
"InterestRatePerYear": 3
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.gofive.co.th/empeo/api/v1/Payroll/Loan' \
--header 'Authorization: Bearer {Bearer}' \
--header 'Content-Type: application/json' \
--data-raw '{
"EmployeeRefId": "4F603520-4FCD-4973-8388-B5B0EE84CBB1",
"CompanyName": "empeo Dev Test",
"DocumentNo": "EPP220400171",
"FinancialItemName": "Advance Payment",
"DateOfPayment": "2023-07-31",
"Amount":19807.45,
"TotalPeriod":12,
"Remark": "IPA4-MYFQ2TH/A",
"InterestType" : 1,
"InterestRatePerYear" : 3
}'
Responses
🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2024-01-25 03:45:54