Get Mastertypes List
GET
/empeo/api/v1/masters/mastertypesRequest
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 {your token}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
statusCode
integer
optional
message
string
optional
error
string
optional
totals
integer
optional
data
array [object {3}]
optional
typeName
string
optional
Categories name
typeNameEN
string
optional
Categories name (in English)
masterTypes
array [object {3}]
optional
MasterType values
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"
}
]
}
]
}
Last modified: a year ago