Edit ticket
Edit ticket by code
HTTP Request
[PUT] /api/v6/tickets
Body Parameters
Parameter | Type | Require | Description |
---|---|---|---|
ticket_code | string | yes | Ticket code |
ticket_title | string | yes | Title of the support request |
ticket_content | string | Content of the support request | |
cate_id | integer | yes | Support category |
contact_id | integer | Support contact | |
account_id | integer | yes | Supporter |
status_id | integer | yes | Ticket status |
expected_at | string | Desired completion date in (Y-m-d H:i:s) format | |
emergency_phone | numeric | Phone number |
Example
HTTP Request
PUT api/v6/tickets HTTP/1.1
Host: example.getflycrm.com
Content-Type: application/json
{
"ticket_code": "FSWKAY5WQ0",
"ticket_title": "TEST PUBLIC",
"cate_id": 1,
"account_id": 1,
"status_id": 1
}
Status
200 OK
Response
{
"message": "Successfully updated",
"id": 4
}