Get Name Prefixes
GET
/empeo/api/v1/masters/prefixesRequest
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
data
array [object {3}]
optional
typeName
string
optional
Category name
typeNameEN
string
optional
Category name (in English)
masterTypes
array [object {3}]
optional
MasterType values
Example
{
"statusCode": 200,
"message": "OK",
"data": {
"typeName": "คำนำหน้าชื่อ",
"typeNameEN": "Title",
"masterTypes": [
{
"typeId": 2,
"typeName": "นาย",
"typeNameEN": "Mr."
},
{
"typeId": 3,
"typeName": "นางสาว",
"typeNameEN": "Miss"
},
{
"typeId": 4,
"typeName": "นาง",
"typeNameEN": "Mrs."
}
]
}
}
Last modified: a year ago