Gofive OpenAPI
empeoVenioeTaxGo
empeoVenioeTaxGo
  1. Time
  • 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
    • Get Loan (Draft)
    • Get Cost Center
    • Get Financial Transactions
    • Update Financial Transactions
  • Attendance
    • Get Time Attendance
    • Get Time Attendances Lite
  • Welfare
    • Get Shuttle Buses
    • Get Passengers
  • Time
    • Workin
      POST
    • Get Employee WorkIn Site
      GET
    • Get Timestamps
      GET
    • Get TimeStamp Attachments
      GET
    • Get Workin Sites
      GET
    • Get IOMO Logs
      GET
    • Add Timestamps
      POST
  • AppMan
    • Update status criminal checker
    • Send Email Notification when completed
  • Asset
    • Get Asset list
    • Update Asset
    • Get Employee Assets
  • Recruitment
    • Get Candidate
  1. Time

Get Workin Sites

Developing
GET
https://api.gofive.co.th/empeo/api/v1/workin-sites

Request

Query Params
companyName
string 
optional
ชื่อบริษัท ถ้าไม่ใส่ช้อมูลจะได้ข้อมูลบริษัททั้งเครือ
Example:
โกไฟว์ จำกัด
take
number 
optional
จำนวนข้อมูลที่ต้องการดึง ถ้าใส่ 0 จะได้ข้อมูลทั้งหมด
Example:
10
skip
number 
optional
จำนวนข้อมูลที่ต้องการข้าม
Example:
0
workinType
number 
optional
ประเภทการ workin GPS = 1, Beacon = 2, BiometricScanner = 3, EmStation = 4
Example:
0
keyword
string 
optional
สำหรับค้นหาชื่อสถานที่
Example:
tester
Header Params
Ocp-Apim-Subscription-Key
string 
required
Api subscription key get from the OpenAPI integration setting page
Example:
WPe123a9RKbcfLQNSztr45
Authorization
string 
required
Authorization credential utilized in API requests
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/workin-sites?companyName=โกไฟว์ จำกัด&take=10&skip=0&workinType=0&keyword=tester' \
--header 'Ocp-Apim-Subscription-Key: WPe123a9RKbcfLQNSztr45' \
--header 'Authorization: bearer {token}'

Responses

🟢200Success
application/json
Body
object {0}
Example
{
    "status": {
        "code": "1000",
        "description": "Success"
    },
    "data": [
        {
            "siteId": null,
            "deviceId": 889,
            "name": "tester",
            "name_EN": "tester",
            "latitude": null,
            "longitude": null,
            "locationName": null,
            "uuid": null,
            "majorId": null,
            "minorId": null,
            "isGPS": false,
            "isiBeacon": false,
            "isBiometricScanner": true,
            "isAllSite": true,
            "isIOMO": true,
            "radius": null,
            "radiusiBeacon": null,
            "ipAddress": "",
            "port": 1245,
            "dateLastTransfered": "2022-04-08T10:25:27.933",
            "serialNo": "123",
            "isOnline": false,
            "isFaceScan": false,
            "isTimeLock": false,
            "isStation": false,
            "stationKey": null,
            "isActive": true,
            "createdByName": "[email protected]",
            "dateCreated": "2021-03-09T10:55:04.247",
            "modifiedByName": "[email protected]",
            "dateModified": "2022-03-17T09:49:19.913",
            "companyName": "ใช้กับทุกบริษัท",
            "companyName_EN": "All companies",
            "workinType": 3
        }
    ]
}
Previous
Get TimeStamp Attachments
Next
Get IOMO Logs
Built with