Ticket
APIs related to Getfly's Support ticket feature.
📄️ Support Categories
Get a list of topics that need support, used in creating tickets
📄️ Create new ticketCreate a new ticket### HTTP Request[POST] /api/v6/tickets### Body Parameters| Parameter | Type | Require | Description ||:----------------|:---------:|:-------:|:------------------------------|| 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 | timestamp | | Desired completion date |\| emergency_phone | numeric | | Phone number |\### ExampleHTTP RequesthttpPOST api/v6/tickets HTTP/1.1Host: example.getflycrm.comContent-Type: application/json{ "ticket_title": "TEST PUBLIC API", "cate_id": 1, "account_id": 1, "status_id": 1, "custom_fields": { "field_1": 111 // field_1 is the field_name in the data definition }}Status200 OKResponsejson{ "message": "Successfully added", "id": 4}
HTTP Request[POST] /api/v6/tickets### Body Parameters| Parameter | Type | Require | Description ||----------------------------------------------|| tickettitle | string | yes | Title of the support request || ticketcontent | string | | Content of the support request || cateid | integer | yes | Support category || contactid | integer | | Support contact || accountid | integer | yes | Supporter || statusid | integer | yes | Ticket status || expectedat | timestamp | | Desired completion date |\| emergencyphone | numeric | | Phone number |\### ExampleHTTP Request`httpPOST api/v6/tickets HTTP/1.1Host application/json{ "tickettitle" 1, "accountid" 1, "customfields" 111 // field1 is the fieldname in the data definition }}`Status`200 OK`Response`json{ "message" 4}`
📄️ Edit ticket
Edit ticket by code