This v1 API  will be deprecated from 15th March 2020

Description:

This API we are using to assign a particular ticket to an agent in Faveo.To do so we need to pass the id of the ticket and also the agent id.

URL :  api/v1/helpdesk/assign

           (Replace this URL with you helpdesk URL)

 Parameters :

Name Data Type Required / Optional Description
api_key String Optional An alphanumeric code that can be used to authenticate your API calls
ip String Optional IP address of the Customer/location where API call is being made from
token String Required token generated for a user
ticket_id integer Required Id of the ticket
user_id integer Required Id of assignee

HTTP Method : POST         

  •   URL Request Example:

https://www.stablehelpdesk.faveodemo.com/api/v1/helpdesk/assign?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEsImlzcyI6Imh0dHA6Ly9wcm9kdWN0ZGVtb3VybC5jb20vc2FyZnJhei9wdWJsaWMvYXBpL3YxL2F1dGhlbnRpY2F0ZSIsImlhdCI6MTUzNDc1OTg5MiwiZXhwIjoxNTM0NzYwMTMyLCJuYmYiOjE1MzQ3NTk4OTIsImp0aSI6IlhBdzNrNGhwZXNUVWNFeVQifQ.TpuZ6Vwo9oMlt_LKRZYv2cU5UY8YBKqe06-66ioZA24&ticket_id=13&user_id=9

Response

  •   Response Format: JSON
  •   Returns JSON which contains below response

Sample JSON Success Response :

  {

           "success": true,

          "message": "Assigned successfully"

  }

Response Description:

Parameter Description
success It will give a boolean value like true or false. If the ticket is assigned successfully then it will give true value else it will give false value
message It will give a message that assigned successfully.

Possible Errors/Failures:

   *Please check the responses for some common errors

Leave a Reply

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