Description:

To give reply for a particular ticket in Faveo.

URL :   api/v1/helpdesk/reply   

             (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 An IP address of the Customer/location where API call is being made from
ticket_id Integer Required An id of the ticket to reply
reply_content String Required The body of your reply
token String Required Token generated for a user
media_attachment[] file Optional Media attachment
inline file Optional Inline image attachments

HTTP Method : POST      

  •   URL Request Example:

        https://www.stablehelpdesk.faveodemo.com/api/v1/helpdesk/reply?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEsImlzcyI6Imh0dHA6Ly9wcm9kdWN0ZGVtb3VybC5jb20vc2FyZnJhei9wdWJsaWMvYXBpL3YxL2F1dGhlbnRpY2F0ZSIsImlhdCI6MTUzNDc0NzMzMSwiZXhwIjoxNTM0NzQ3NTcxLCJuYmYiOjE1MzQ3NDczMzEsImp0aSI6IlBlQWdFSEt6Y3Rpc0h3dXkifQ.5CTfqjh26q1s9iYuIC5G4_fwIGPP&ticket_id=45&reply_content=This is the sample reply for the ticket.

Response

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

Sample JSON Success Response :

                {

                     "success": true,

                     "message": "Successfully replied"

                }

Response Description:

Parameter                                              Description
success It will give a boolean value like true or false. If replied successfully then it will give true value else it will give a false value.
message It will gives an message which contain replied successfully or not.

Possible Errors/Failures:

 If invalid ticket id is provided in the request

 {

   "success": false,

   "message": {

           "ticket_id": [

               "The selected ticket id is invalid"

           ]

   }

}

OR

    *Please check the responses for some common errors

Leave a Reply

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