Support Ticket Category List
GET ‎https://<domain>/<api prefix>/<version>/support/get/category-list/
This API endpoint will give a list of Category which was chosen when creating a support ticket.
Copy HTTP/1.1 200 OK
Content-Type: application/json
Body:
{
"status_code": 200,
"errors": {},
"data": {
"CategoryList": [
{
"id": <Category-id>,
"category": "<Category-name>",
"description": "<Description>"
},
...
]
}
} Node
PHP
Create Support Ticket
POST ‎https://<domain>/<api prefix>/<version>/support/create/ticket/
This API endpoint will create a support ticket.
priority id - Possible values are 1(Low), 2(Medium),or 3(High)
attachment file - Upload a attachment file (maximum size 2Mib).
Node
PHP
Error Responses
Ensure this field has no more than 500 characters.
"\"priority\" is not a valid choice.
Invalid pk"\"category\" - object does not exist.
File is too big. Max filesize: 2MiB.
Currenly Open Ticket Limit Exceed.
Support Ticket History
GET ‎https://<domain>/<api prefix>/<version>/support/get/ticket/history/
This API endpoint will provide a history of support tickets. A request without query params provides details of last created 50 tickets.
To get a range of ticket history provide offset and limit values in query params.
Also provides filtered details of ticket history when a request with a possible query params. Ticket subject, ticket category, and ticket status are the possible query params.
Query Parameters
category id - Get possible values through Support Ticket Category List API endpoint.
status id - Possible values are 1(Open), 2(Processing),or 3(Closed)
Node
PHP
Error Responses
Catogory id is not valid numeric
Status id is not valid numeric
Support Ticket Tag List
GET ‎https://<domain>/<api prefix>/<version>/support/get/ticket/tags/
This API endpoint will give a list of Tags which was chosen when updating a support ticket.
Node
PHP
Update Support Ticket
POST ‎https://<domain>/<api prefix>/<version>/support/update/ticket/
This API endpoint will update a support ticket.
Id of ticket which wants to update
priority id - Possible values are 1(Low), 2(Medium),or 3(High)
Node
PHP
Error Responses
You are not the owner of the requested ticket,
Ticket id is not valid,
Ticket id is required and this may not be blank.
"\"priority\" is not a valid choice.
This list may not be empty.
Incorrect type. Expected pk value, received str.
Invalid pk \"tags\" - object does not exist.
Get Ticket Detailed View
GET ‎https://<domain>/<api prefix>/<version>/support/ticket/detailed-view/
This API endpoint will provide a detailed view of support ticket.
Node
PHP
Error Responses
You are not the owner of the requested ticket,
Ticket id is not valid.
Ticket id is required and this may not be blank.
GET ‎https://<domain>/<api prefix>/<version>/support/ticket/download/<attachment_id>/
This API endpoint will return an HTTP Response of the attachment file.
Node
Ticket Add Conversation
POST ‎https://<domain>/<api prefix>/<version>/support/ticket/conversation/
This API endpoint will add a conversation to support ticket.
Upload a attachment file (maximum size 2Mib).
PHP
Error Responses
This field is required.
You are not the owner of the requested ticket.
Incorrect type. Expected pk value, received str.
Invalid pk \"ticket\" - object does not exist.
This field may not be null.
This field is required.
This field may not be blank.
File is too big. Max filesize: 2MiB.
Change Ticket Status
POST ‎https://<domain>/<api prefix>/<version>/‎support/ticket/status/
This API endpoint will change status of support ticket.
status id - Possible values are 2(to open) and 3(to close)
Node
Error Responses
You Can't open or close this Ticket,
Ticket id is not valid
Ticket is already closed,
Ticket is already processing,
Ticket is already open,
Ticket id is required and this may not be blank.
"\"status\" is not a valid choice.
Status id is required and this may not be blank.