Description:

To edit a particular ticket in Faveo.

URL : api/v1/helpdesk/edit     

           (Replace this URL with you helpdesk URL)

Parameters :

Name Data Type Required / Optional Description
api_key String Required if in-app made it mandatory An alphanumeric code that can be used to authenticate your API calls
ip String Optional The IP address of the Customer/location where API call is being made from
ticket_id Integer Required The id of the ticket to reply
subject String Required A body of your reply
help_topic Integer Required An id of the Help topic
ticket_source Integer Required An id of the ticket source
ticket_priority Integer Required An id of the ticket priority
token String Required Token generated for a user
ticket_type Integer Required An id of the ticket types
assigned Integer Optional An id of the assignee

HTTP Method : POST         

  •   URL Request Example:

https://www.stablehelpdesk.faveodemo.com/api/v1/helpdesk/edit?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEsImlzcyI6Imh0dHA6Ly9wcm9kdWN0ZGVtb3VybC5jb20vc2FyZnJhei9wdWJsaWMvYXBpL3YxL2F1dGhlbnRpY2F0ZSIsImlhdCI6MTUzNDc1OTg5MiwiZXhwIjoxNTM0NzYwMTMyLCJuYmYiOjE1MzQ3NTk4OTIsImp0aSI6IlhBdzNrNGhwZXNUVWNFeVQifQ.TpuZ6Vwo9oMlt_LKRZYv2cU5UY8YBKqe06-66ioZA24&ticket_id=53&subject=This is sample subject&help_topic=2&ticket_source=3&ticket_priority=1&ticket_type=2&assigned=14

Response

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

Sample JSON Success Response :

{

      result =     {

                             success = "Edited successfully";

                        };

 }

Response Description:

Parameter                                              Description
result It will return a JSON which contains the success message that, ticket edited successfully.

  success: It contains below success message.

Parameter                                              Description
success It contains a message that, ticket edited successfully.

 Possible Errors/Failures:

  If provided ticket id is not found

{

   "success": false,

   "message":{

           "id": [

               "The selected ticket id is invalid"

           ]

   }

}

 

 

 

Leave a Reply

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