- 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
Get Mastertypes List
GET
https://api.gofive.co.th/empeo/api/v1/masters/mastertypes
Request
Header Params
Content-Type
string
required
Example:
application/json
Ocp-Apim-Subscription-Key
string
required
Example:
WPe123a9RKbcfLQNSztr45
Authorization
string
required
Example:
bearer {your 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/masters/mastertypes' \
--header 'Ocp-Apim-Subscription-Key: WPe123a9RKbcfLQNSztr45' \
--header 'Authorization: bearer {your token}' \
--header 'Content-Type: application/json'
Responses
🟢200Success
application/json
Body
statusCode
integer
optional
message
string
optional
error
string
optional
totals
integer
optional
data
array [object {3}]
optional
typeName
string
optional
typeNameEN
string
optional
masterTypes
array [object {3}]
optional
Example
{
"statusCode": 200,
"message": "OK",
"totals": 2,
"data": [
{
"typeName": "วุฒิการศึกษา",
"typeNameEN": "Education",
"masterTypes": [
{
"typeId": 100001,
"typeName": "ประถมศึกษา",
"typeNameEN": "Elementary School"
},
{
"typeId": 100002,
"typeName": "มัธยมศึกษาตอนต้น",
"typeNameEN": "Junior High School"
},
{
"typeId": 100003,
"typeName": "มัธยมศึกษาตอนปลาย",
"typeNameEN": "Senior High School"
}
]
},
{
"typeName": "สัญชาติ/เชื้อชาติ",
"typeNameEN": "Nationality",
"masterTypes": [
{
"typeId": 500001,
"typeName": "อัฟกานิสถาน",
"typeNameEN": "Afghanistan"
},
{
"typeId": 500002,
"typeName": "หมู่เกาะโอลันด์",
"typeNameEN": "Aland Islands"
},
{
"typeId": 500003,
"typeName": "แอลเบเนีย",
"typeNameEN": "Albania"
},
{
"typeId": 500004,
"typeName": "แอลจีเรีย",
"typeNameEN": "Algeria"
}
]
}
]
}