Skip to content

Edit Ticket

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

Description : To edit a particular ticket in FAVEO

  1. URL : api/v1/helpdesk/edit

Parameters :

Name Data Type Required/Optional Description
api_key String Optional An alphanumeric code that can be used to authenticate your API calls
ticket_id String Required Id of the ticket to reply
subject String Required Body of your reply
sla_plan String Required Id of the SLA plan
help_topic String Required Id of the Help topic
ticket_type String Required Id of the ticket type
ticket_source String Required Id of the ticket source
ticket_priority String Required Id of the ticket priority
token String Required token generated for a user
status String Required Status of the ticket

HTTP Method : POST

Response Format : JSON

Response : Returns success message.In case of any errors, an error message will be returned.

URL Request Example : http://www.stablehelpdeskc.faveodemo.com/api/v1/helpdesk/edit?api_key=9p41T2XFZ34YRZJUNQAdmM7iV0Rr1CjN&ip=null&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9wcm9kdWN0ZGVtb3VybC5jb21cL2NvbW11bml0eVwvcHVibGljXC9hcGlcL3YxXC9hdXRoZW50aWNhdGUiLCJpYXQiOjE1MzUwMDk3NTYsImV4cCI6MTUzNTAwOTk5NiwibmJmIjoxNTM1MDA5NzU2LCJqdGkiOiJNcmRNUWcwRFhvUEt2bnZrIiwic3ViIjoxLCJwcnYiOiI4N2UwYWYxZWY5ZmQxNTgxMmZkZWM5NzE1M2ExNGUwYjA0NzU0NmFhIn0.Z7XRIsdyuXjwBBAv9F5CNjD5xkQjehQ3awMBxt-3C70&ticket_id=115&subject=Title+has+to+changed&sla_plan=1&help_topic=1&ticket_source=3&ticket_priority=1&status=1

JSON Response Example :

Success Response :

{
    "result": {
        "success": "Edited successfully"
    }
}

Some Common Error :

Error Response : if the token is expired

{
“error":"Token has expired"
}

If the token is not provided

{
  "error": "token_not_provided"
}

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