Gofive OpenAPI
empeoVenioeTaxGo
empeoVenioeTaxGo
  1. Attendance
  • 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 Contact
      POST
    • Update Employee Education
      POST
    • Update Employee Experience
      POST
    • Update Employee CustomField
      POST
    • Delete Employee
      POST
    • Get Employee Role
      GET
    • Get Employee Movement Lists
      GET
  • Master
    • Get Organizations
      GET
    • Get CustomField
      GET
    • Get Holiday
      GET
    • Get MasterSetup
      GET
  • Shifts
    • Get Shift Details
      GET
    • Update Employee Shifts
      POST
    • Get Employee Shifts
      GET
    • Swap Employee Shifts
      POST
  • Authentication API
    • Authorization
  • Leave
    • Get Employee Documents
  • Payroll
    • Create Loan
    • Get Loan (Draft)
    • Get Cost Center
    • Get Financial Transactions
    • Update Financial Transactions
  • Attendance
    • Get Time Attendance
      GET
    • Get Time Attendances Lite
      GET
  • 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. Attendance

Get Time Attendance

Developing
GET
https://api.gofive.co.th/empeo/api/v1/time-attendances

Request

Query Params
EmployeeRefId
string 
optional
Example:
63000
CompanyName
string 
required
Example:
เอมพริโอ้ จำกัด
DateStart
string 
required
Example:
2024-01-01
DateEnd
array[string]
required
Example:
["2024-03-31","2024-05-03"]
Header Params
Content-Type
string 
required
Example:
application/json
Ocp-Apim-Subscription-Key
string 
required
Example:
d4e1bcfbb8bb4c1585fd86eb5d3957d8
Cookie
string 
required
Example:
x-DeviceId=D5AA13F9DA5CF5E025CA3A1A1343FE0A
Authorization
string 
optional
Example:
bearer {token}

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/time-attendances?EmployeeRefId=63000&CompanyName=เอมพริโอ้ จำกัด&DateStart=2024-01-01&DateEnd=2024-03-31&DateEnd=2024-05-03' \
--header 'Ocp-Apim-Subscription-Key: d4e1bcfbb8bb4c1585fd86eb5d3957d8' \
--header 'Authorization: bearer {token}' \
--header 'Cookie: x-DeviceId=D5AA13F9DA5CF5E025CA3A1A1343FE0A' \
--header 'Content-Type: application/json' \
--data-raw ''

Responses

🟢200Success
application/json
Body
status
object 
required
code
string 
required
description
string 
required
data
array [object {23}] 
required
userId
string 
required
date
string 
required
stampIn
string  | null 
required
stampOut
string  | null 
required
realStampIn
string  | null 
required
realStampOut
string  | null 
required
workTime
integer 
required
late
integer 
required
early
integer 
required
absence
integer 
required
employeeNo
string 
required
fullName
string 
required
fullName_EN
string 
required
shiftName
string 
required
shiftName_EN
string 
required
status
string 
required
status_EN
string 
required
leaveCodeString
string 
required
totalMinuteOfOT
integer 
required
minuteOfOT1
integer 
required
minuteOfOT2
integer 
required
minuteOfOT3
integer 
required
minuteOfOT4
integer 
required
Example
{
    "status": {
        "code": "1000",
        "description": "Success"
    },
    "data": [
        {
            "userId": "{EEA2CD94-05B2-448B-9829-8A9300F9CDDA}",
            "date": "2024-01-01T00:00:00",
            "stampIn": null,
            "stampOut": null,
            "realStampIn": null,
            "realStampOut": null,
            "workTime": 0,
            "late": 0,
            "early": 0,
            "absence": 480,
            "employeeNo": "63000",
            "fullName": "อมรพงศ์ จีรทวีกิจ",
            "fullName_EN": "Amornporn Jeerataveekij",
            "shiftName": "1111",
            "shiftName_EN": "1111",
            "status": "ขาดงาน",
            "status_EN": "Absent",
            "leaveCodeString": "",
            "totalMinuteOfOT": 0,
            "minuteOfOT1": 0.0,
            "minuteOfOT2": 0.0,
            "minuteOfOT3": 0.0,
            "minuteOfOT4": 0.0
        },
        {
            "userId": "{EEA2CD94-05B2-448B-9829-8A9300F9CDDA}",
            "date": "2024-01-02T00:00:00",
            "stampIn": null,
            "stampOut": null,
            "realStampIn": null,
            "realStampOut": null,
            "workTime": 0,
            "late": 0,
            "early": 0,
            "absence": 480,
            "employeeNo": "63000",
            "fullName": "อมรพงศ์ จีรทวีกิจ",
            "fullName_EN": "Amornporn Jeerataveekij",
            "shiftName": "1111",
            "shiftName_EN": "1111",
            "status": "ขาดงาน",
            "status_EN": "Absent",
            "leaveCodeString": "",
            "totalMinuteOfOT": 0,
            "minuteOfOT1": 0.0,
            "minuteOfOT2": 0.0,
            "minuteOfOT3": 0.0,
            "minuteOfOT4": 0.0
        },
        {
            "userId": "{EEA2CD94-05B2-448B-9829-8A9300F9CDDA}",
            "date": "2024-01-03T00:00:00",
            "stampIn": null,
            "stampOut": null,
            "realStampIn": null,
            "realStampOut": null,
            "workTime": 0,
            "late": 0,
            "early": 0,
            "absence": 480,
            "employeeNo": "63000",
            "fullName": "อมรพงศ์ จีรทวีกิจ",
            "fullName_EN": "Amornporn Jeerataveekij",
            "shiftName": "1111",
            "shiftName_EN": "1111",
            "status": "ขาดงาน",
            "status_EN": "Absent",
            "leaveCodeString": "",
            "totalMinuteOfOT": 0,
            "minuteOfOT1": 0.0,
            "minuteOfOT2": 0.0,
            "minuteOfOT3": 0.0,
            "minuteOfOT4": 0.0
        },
        {
            "userId": "{EEA2CD94-05B2-448B-9829-8A9300F9CDDA}",
            "date": "2024-01-04T00:00:00",
            "stampIn": null,
            "stampOut": null,
            "realStampIn": null,
            "realStampOut": null,
            "workTime": 0,
            "late": 0,
            "early": 0,
            "absence": 480,
            "employeeNo": "63000",
            "fullName": "อมรพงศ์ จีรทวีกิจ",
            "fullName_EN": "Amornporn Jeerataveekij",
            "shiftName": "1111",
            "shiftName_EN": "1111",
            "status": "ขาดงาน",
            "status_EN": "Absent",
            "leaveCodeString": "",
            "totalMinuteOfOT": 0,
            "minuteOfOT1": 0.0,
            "minuteOfOT2": 0.0,
            "minuteOfOT3": 0.0,
            "minuteOfOT4": 0.0
        },
        {
            "userId": "{EEA2CD94-05B2-448B-9829-8A9300F9CDDA}",
            "date": "2024-01-05T00:00:00",
            "stampIn": null,
            "stampOut": null,
            "realStampIn": null,
            "realStampOut": null,
            "workTime": 0,
            "late": 0,
            "early": 0,
            "absence": 480,
            "employeeNo": "63000",
            "fullName": "อมรพงศ์ จีรทวีกิจ",
            "fullName_EN": "Amornporn Jeerataveekij",
            "shiftName": "1111",
            "shiftName_EN": "1111",
            "status": "ขาดงาน",
            "status_EN": "Absent",
            "leaveCodeString": "",
            "totalMinuteOfOT": 0,
            "minuteOfOT1": 0.0,
            "minuteOfOT2": 0.0,
            "minuteOfOT3": 0.0,
            "minuteOfOT4": 0.0
        },
        {
            "userId": "{EEA2CD94-05B2-448B-9829-8A9300F9CDDA}",
            "date": "2024-01-06T00:00:00",
            "stampIn": null,
            "stampOut": null,
            "realStampIn": null,
            "realStampOut": null,
            "workTime": 0,
            "late": 0,
            "early": 0,
            "absence": 0,
            "employeeNo": "63000",
            "fullName": "อมรพงศ์ จีรทวีกิจ",
            "fullName_EN": "Amornporn Jeerataveekij",
            "shiftName": "1111",
            "shiftName_EN": "1111",
            "status": "วันหยุด",
            "status_EN": "Holiday",
            "leaveCodeString":
🟠401User authentication required V2.
Modified at 2024-05-29 08:13:50
Previous
Update Financial Transactions
Next
Get Time Attendances Lite
Built with