Gofive OpenAPI
empeoVenioeTaxGo
empeoVenioeTaxGo
  1. Payroll
  • Authentication API
    • Authorization
      POST
  • Employee
    • Get Employee
      GET
    • Update Employee
      PUT
    • Get List Employees
      GET
    • Get Employees List
      GET
    • Get Mastertypes List
      GET
    • Get Name Prefixes
      GET
    • Get Document Types
      GET
    • Update Employee
      POST
    • Add Employee Attachment
      POST
    • Update Employee Address
      POST
    • Update Employee Family
      POST
    • Update Employee Information
      POST
    • Update Employee Shifts
      POST
    • Update Employee Contact
      POST
    • Update Employee Education
      POST
    • Update Employee Experience
      POST
    • Update Employee CustomField
      POST
    • Delete Employee
      POST
    • Get Employee Shifts
      GET
    • Get Employee Role
      GET
    • Get Employee Movement Lists
      GET
  • Leave
    • Get Employee Documents
  • Master
    • Get Organizations
    • Get CustomField
    • Get Holiday
    • Get MasterSetup
    • Get Shift Details
  • Payroll
    • Create Loan
      POST
    • Get Loan (Draft)
      GET
    • Get Cost Center
      POST
    • Get Financial Transactions
      POST
    • Update Financial Transactions
      PUT
  • Attendance
    • Get Time Attendance
    • Get Time Attendances Lite
  • Welfare
    • Get Shuttle Buses
    • Get Passengers
  • Time
    • Workin
    • Get Employee WorkIn Site
    • Get Timestamps
    • Get TimeStamp Attachments
    • Get Workin Sites
    • Get IOMO Logs
    • Add Timestamps
  • AppMan
    • Update status criminal checker
    • Send Email Notification when completed
  • Asset
    • Get Asset list
    • Update Asset
    • Get Employee Assets
  • Recruitment
    • Get Candidate
  1. Payroll

Get Loan (Draft)

Developing
GET
https://api.gofive.co.th/empeo/api/v1.0/Payroll/Loan

Request

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

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 GET 'https://api.gofive.co.th/empeo/api/v1.0/Payroll/Loan?CompanyName=Gofive&EmployeeRefId=DR1STM2' \
--header 'Authorization: Bearer {Bearer}' \
--header 'Content-Type: application/json' \
--data-raw '{
      "CompanyName": "โกไฟว์",
      "EmployeeRefId": "DR1STM2"
}'

Responses

🟢200Success
application/json
Body
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
        }
    ]
}
Previous
Create Loan
Next
Get Cost Center
Built with