Hello, i tried to use both Agent Apis:
GET: /api/v2/agents//id] and GET: /api/v2/agent_fields
but results are not matching, for example, agent_fields api returns this field:
{
"default_field": true,
"editable_by_admins": false,
"editable_by_agents": true,
"label_for_admins": "Full Name",
"label_for_agents": "Full Name",
"mandatory_for_admins": true,
"mandatory_for_agents": true,
"name": "name",
"type": "name",
"visible_to_agents": true
}
and when i get the agent by it’s id, i don’t see that field in the response but i get a “first_name” and “last_name” attributes.
Am i doing something wrong or the Api docs are not updated ?
Thank you !