This v2 API  will be deprecated from 15th March 2020

Description:

If you want agents list which only belongs to one particular department then you can use the following API for getting agents according to the tickets department.

URL : api/v2/helpdesk/api/get/agentlist

         (Replace this URL with you helpdesk URL)

Parameters:

Name Data Type Required / Optional Description
token String Required Token generated for a user
ticket_id Integer Required Id of the ticket

 

HTTP Method : GET        

  •   URL Request Example:

https://www.stablehelpdesk.faveodemo.com/api/v2/helpdesk/api/get/agentlist?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEsImlzcyI6Imh0dHA6XC9cL2phbWJvcmVlYmxpc3MuY29tXC9zYXlhcm5ld1wvcHVibGljXC9hcGlcL3YxXC9hdXRoZW50aWNhdGUiLCJpYXQiOjE0OTgxMTYxMjIsImV4cCI6MTQ5ODExNjM2MiwibmJmIjoxNDk4MTE2MTIyLCJqdGkiOiIwOWYwNmQ4OGZiMzkyYmYyOTdjYzY2OTkzODc3MmU1MiJ9.qbqkJil6KMi8ojVlHN7c_HjPXjOcYBcKXcwCGf2MmaU&ticket_id=12

Response

  •   Response Format: JSON
{

   "success": true,

   "data": [

       {

           "id": 140,

           "name": "Dexter Jackson"

       },

       {

           "id": 142,

           "name": "Jack Ryan"

       },

       {

           "id": 141,

           "name": "Jamie Murray"

       },

       {

           "id": 1,

           "name": "Jim Carry"

       }

   ]

}

 

Leave a Reply

Your email address will not be published. Required fields are marked *