curl --location --request GET 'https://api.gofive.co.th/empeo/api/v1/masters/custom-fields'
{
"status": {
"code": "1000",
"description": "Success"
},
"data": [
{
"fieldName": "Paragraph",
"customFieldsType": 20006,
"textBoxType": 2
},
{
"fieldName": "Single Selection",
"customFieldsType": 20002,
"textBoxType": 1,
"options": [
{
"sequence": "1",
"option": "Option 1"
},
{
"sequence": "2",
"option": "Option 2"
},
{
"sequence": "3",
"option": "Option 3"
}
]
},
{
"fieldName": "Multi Selection",
"customFieldsType": 20003,
"textBoxType": 1,
"options": [
{
"sequence": "1",
"option": "Option 1"
},
{
"sequence": "2",
"option": "Option 2"
},
{
"sequence": "3",
"option": "Option 3"
}
]
},
{
"fieldName": "Drop down List",
"customFieldsType": 20004,
"textBoxType": 1,
"options": [
{
"sequence": "1",
"option": "Option 1"
},
{
"sequence": "2",
"option": "Option 2"
},
{
"sequence": "3",
"option": "Option 3"
},
{
"sequence": "4",
"option": "Option 4"
}
]
},
{
"fieldName": "Date Picker",
"customFieldsType": 20005,
"textBoxType": 1
},
{
"fieldName": "Text - none",
"customFieldsType": 20001,
"textBoxType": 1
},
{
"fieldName": "Text - Letter",
"customFieldsType": 20001,
"textBoxType": 2
},
{
"fieldName": "Text - Number",
"customFieldsType": 20001,
"textBoxType": 3
},
{
"fieldName": "Text - Email",
"customFieldsType": 20001,
"textBoxType": 4
},
{
"fieldName": "Text - Custom",
"customFieldsType": 20001,
"textBoxType": 5,
"regularExpression": "^[a-z]$"
}
]
}