Get Document Types
GET
/empeo/api/v1/masters/mastersetup/document-typeRequest
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": "Document types",
"masterTypes": [
{
"typeId": 1785,
"typeName": "สำเนาวุฒิการศึกษา",
"typeNameEN": "สำเนาวุฒิการศึกษา"
},
{
"typeId": 1786,
"typeName": "เอกสารอบรม",
"typeNameEN": "Training "
},
{
"typeId": 1804,
"typeName": "สำเนาบัตรประชาชน",
"typeNameEN": "อ"
},
{
"typeId": 1805,
"typeName": "สำเนาทะเบียนบ้าน",
"typeNameEN": "สำเนาทะเบียนบ้าน"
}
]
}
}
Last modified: 7 months ago