Authorization: Bearer ********************
curl --location --request GET 'https://mock.apidog.com/m1/463678-0-default/customers/headers'
{
"id": 1,
"label": "customers",
"active": true,
"permissions": {
"VIEW": "ALL",
"CREATE": "ALL",
"EDIT": "ALL",
"DELETE": "ALL"
},
"fields": [
{
"id": 1,
"label": "id",
"type": "hidden",
"isRequired": false,
"permissions": {
"VIEW": true,
"EDIT": false
}
},
{
"id": 2,
"label": "code",
"type": "text",
"isRequired": true,
"permissions": {
"VIEW": true,
"EDIT": true
}
},
{
"id": 3,
"label": "serviceAssigned",
"type": "multiselect",
"isRequired": true,
"permissions": {
"VIEW": true,
"EDIT": true
}
},
{
"id": 4,
"label": "firstname",
"type": "text",
"isRequired": true,
"permissions": {
"VIEW": true,
"EDIT": true
}
},
{
"id": 5,
"label": "surname",
"type": "text",
"isRequired": true,
"permissions": {
"VIEW": true,
"EDIT": true
}
},
{
"id": 6,
"label": "middlename",
"type": "text",
"isRequired": false,
"permissions": {
"VIEW": true,
"EDIT": true
}
},
{
"id": 7,
"label": "birthdate",
"type": "date",
"isRequired": false,
"permissions": {
"VIEW": true,
"EDIT": true
}
},
{
"id": 8,
"label": "phones",
"type": "multiselect",
"isRequired": true,
"permissions": {
"VIEW": true,
"EDIT": true
}
},
{
"id": 9,
"label": "emails",
"type": "multiselect",
"isRequired": true,
"permissions": {
"VIEW": true,
"EDIT": true
}
},
{
"id": 10,
"label": "companyUrl",
"type": "text",
"isRequired": false,
"permissions": {
"VIEW": true,
"EDIT": true
}
},
{
"id": 11,
"label": "company",
"type": "text",
"isRequired": true,
"permissions": {
"VIEW": true,
"EDIT": true
}
},
{
"id": 12,
"label": "comment",
"type": "text",
"isRequired": false,
"permissions": {
"VIEW": true,
"EDIT": true
}
},
{
"id": 13,
"label": "isSeason",
"type": "checkbox",
"isRequired": false,
"permissions": {
"VIEW": true,
"EDIT": true
}
},
{
"id": 14,
"label": "isManagement",
"type": "checkbox",
"isRequired": false,
"permissions": {
"VIEW": true,
"EDIT": true
}
},
{
"id": 15,
"label": "isBonus",
"type": "checkbox",
"isRequired": false,
"permissions": {
"VIEW": true,
"EDIT": true
}
},
{
"id": 16,
"label": "bonus",
"type": "float",
"isRequired": false,
"permissions": {
"VIEW": true,
"EDIT": true
}
},
{
"id": 17,
"label": "payers",
"type": "hidden",
"isRequired": false,
"permissions": {
"VIEW": true,
"EDIT": false
}
},
{
"id": 18,
"label": "recipients",
"type": "hidden",
"isRequired": false,
"permissions": {
"VIEW": true,
"EDIT": false
}
},
{
"id": 19,
"label": "leads",
"type": "hidden",
"isRequired": false,
"permissions": {
"VIEW": true,
"EDIT": false
}
}
]
}