Gofive OpenAPI
empeoVenioeTaxGo
empeoVenioeTaxGo
  1. Employee
  • 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
      POST
  • Master
    • Get Organizations
      GET
    • Get CustomField
      GET
    • Get Holiday
      GET
    • Get MasterSetup
      GET
    • Get Shift Details
      GET
  • 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
    • 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. Employee

Update Employee Information

POST
https://api.gofive.co.th/empeo/api/v1/employees/Information
All fields that have tag 'Required' and 'Nullable' is mean that field required only when adding data, If update data that field is nullable

Request

Header Params
Content-Type
string 
required
Accepted value: application/json
Example:
application/json
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}
Body Params application/json
employeeRefId
string 
required
Unique identifier for referring to employees (Employee No.)
companyName
string 
required
Employee company name
GenderId
integer  | null 
required
Gender ID (1 = Male, 2 = Female, 3 = Other)
TitleId
integer  | null 
required
Title ID of the employee (can view in Get name prefixes API)
ReligionId
integer  | null 
optional
Religion ID (can view in Get mastertypes API)
NationalityId
integer  | null 
optional
Nationality ID (can view in Get mastertypes API)
raceId
integer  | null 
optional
Race ID (can view in Get mastertypes API)
Height
integer  | null 
optional
Employee height
Weight
integer  | null 
optional
Employee weight
BloodTypeId
integer  | null 
optional
Blood type (can view in Get mastertypes API)
MilitaryStatusId
integer  | null 
optional
Military status ID (can view in Get mastertypes API)
MaritalStatusId
integer  | null 
optional
Marital status ID (can view in Get mastertypes API)
emailAddress
string  | null 
optional
Email address of the employee (Work)
telephoneNo
string  | null 
optional
Contact number of the employee (work)
employmentTypeId
integer  | null 
required
Employee employment type (1 = Part Time, 2 = Apprentice, 3 = Temporary, 4 = Daily, 5 = Permanent)
employmentStatusId
integer  | null 
required
Employee work status (1 = Probation, 2 = Permanent, 3 = Resign, 4 = Waiting to start work)
organizationName
string  | null 
required
Name of the department of the employee. Ex. Org chart is "Chief Executive Officer (1)> Human Resources Department (2)> HR Team (3)> HR Manager (4)" if organizationName is HR Team, organizationLevel is 3
organizationLevels
integer  | null 
required
Employee department levels. Ex. Org chart is "Chief Executive Officer (1)> Human Resources Department (2)> HR Team (3)> HR Manager (4)" if organizationName is HR Team, organizationLevel is 3
Example
{
    "employeeRefId": "23003",
    "companyName": "empeo Dev Test",
    "GenderId": 1,
    "ReligionId": 200001,
    "Height": 175,
    "MaritalStatusId": 900001
}

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/employees/Information' \
--header 'Ocp-Apim-Subscription-Key: WPe123a9RKbcfLQNSztr45' \
--header 'Authorization: bearer {token}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "employeeRefId": "23003",
    "companyName": "empeo Dev Test",
    "GenderId": 1,
    "ReligionId": 200001,
    "Height": 175,
    "MaritalStatusId": 900001
}'

Responses

🟢200Success
application/json
Body
object {0}
Example
{
    "statusCode": 200,
    "message": "OK",
    "data": {
        "message": "Update successfully",
        "result": true
    }
}
Previous
Update Employee Family
Next
Update Employee Shifts
Built with