Skip to content

Get All Teams

Sayar Samanta edited this page Aug 28, 2018 · 3 revisions

Description : To fetch all teams in FAVEO

  1. URL : api/v1/helpdesk/teams

Parameters :

Name Data Type Required/Optional Description
token String Required token generated for a user
api_key String Optional An alphanumeric code that can be used to authenticate your API calls

HTTP Method : GET

Response Format : JSON

Response : Returns the list of agents in FAVEO

http://www.stablehelpdeskc.faveodemo.com/community/public/api/v1/helpdesk/teams?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wcm9kdWN0ZGVtb3VybC5jb21cL2NvbW11bml0eVwvcHVibGljXC9hcGlcL3YxXC9hdXRoZW50aWNhdGUiLCJpYXQiOjE1MzUwMTE0MDgsImV4cCI6MTUzNTAxMTY0OCwibmJmIjoxNTM1MDExNDA4LCJqdGkiOiJibUtuRzVwUjFxb1RyUlpWIiwic3ViIjoxLCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIn0.wu3IaVE0v5mox4xvl_t-a-eFeOpy9FKlyyqG-_615V4

JSON Response Example :

Success Response :

{
    "result": [
        {
            "id": 1,
            "name": "Level 1 Support",
            "status": 1,
            "team_lead": null,
            "assign_alert": 0,
            "admin_notes": "",
            "created_at": "2018-08-13 14:22:49",
            "updated_at": "2018-08-13 14:22:49"
        }
    ]
}

Some Common Error :

Error Response : If the token is expired

{
“error":"Token has expired"
}

If the token is not provided

 {
  "error": "token_not_provided"
}

Response Description :

Parameter Description
id id of the team
name name of the team
status status of the team
team_lead name of the team lead
assign_alert user name of the agent
admin_notes any note by the admin for this team
created_at team created date
updated_at last update date of the team

Installation and Upgrade Guide

Administrator's Guide

Agent's Guide

Email Integration

Release & Upgrade Notes

Known Issues

Contribute & Feedback

Knowledge Base

Third Party Integration

Plugins

API

Clone this wiki locally