agent.all
GET
https://outbox.clientdeck.com.ar/api/v0/agents
Obtiene todos los agentes
Headers
Name | Type | Description |
---|---|---|
Authorization* | Bearer the_api_token |
{
"error": false,
"total": 14,
"payload": [
{
"staff_id": 1,
"dept_id": 1,
"role_id": 5,
"username": "ostadmin",
"firstname": "Admin",
"lastname": "User",
"passwd": "$2a$08$ySfuwZdjm2\/i2YUuI6eYi.hZ0\/jxFPR0krUsH0y0zuzs\/\/fB0DjLa",
"backend": null,
"email": "[email protected]",
"phone": "",
"phone_ext": null,
"mobile": "",
"signature": "",
"lang": null,
"timezone": null,
"locale": null,
"notes": null,
"isactive": 1,
"isadmin": 1,
"isvisible": 0,
"onvacation": 0,
"assigned_only": 0,
"show_assigned_tickets": 0,
"change_passwd": 0,
"max_page_size": 25,
"auto_refresh_rate": 0,
"default_signature_type": "none",
"default_paper_size": "Letter",
"extra": "{\"browser_lang\":\"en_US\"}",
"permissions": "{\"user.create\":1,\"user.delete\":1,\"user.edit\":1,\"user.manage\":1,\"user.dir\":1,\"org.create\":1,\"org.delete\":1,\"org.edit\":1,\"faq.manage\":1,\"visibility.agents\":1,\"emails.banlist\":1,\"visibility.departments\":1}",
"created": "2021-02-22 19:25:27",
"lastlogin": "2022-03-02 18:24:44",
"passwdreset": "2022-01-17 15:36:02",
"updated": "2022-03-02 18:24:44"
},
{
"staff_id": 2,
"dept_id": 1,
"role_id": 1,
"username": "jose.meza",
"firstname": "Jose Gerardo",
"lastname": "Meza",
"passwd": "$2a$08$Xn7Os9Lf9G9Y.FfbPbUtVep..lfCuLqYmRXQck34rVBotL5MREz\/q",
"backend": null,
"email": "[email protected]",
"phone": "",
"phone_ext": null,
"mobile": "",
"signature": "",
"lang": null,
"timezone": null,
"locale": null,
"notes": null,
"isactive": 1,
"isadmin": 0,
"isvisible": 0,
"onvacation": 0,
"assigned_only": 0,
"show_assigned_tickets": 0,
"change_passwd": 1,
"max_page_size": 0,
"auto_refresh_rate": 0,
"default_signature_type": "none",
"default_paper_size": "Letter",
"extra": null,
"permissions": "{\"faq.manage\":1,\"visibility.agents\":1,\"visibility.departments\":1}",
"created": "2021-10-25 15:12:47",
"lastlogin": null,
"passwdreset": "2021-10-25 15:12:47",
"updated": "2021-10-27 15:52:21"
}
]
}
{
"error": true,
"code": 401,
"message": "Unauthorized."
}
{
// Response
}
Última actualización