Support Ticket

A support ticket, often referred to simply as a "ticket," is a formal record or request made by a customer or user to a company or organization's support team or customer service department.

Ticket Category

Ticket Category

GET {{BASE_URL}}/api/ticket_type/get

Here user select the category which is related to complain.

Headers

NameTypeDescription

Authorization*

String

jwt token

{
    "status_code": "Integer", // 1
    "status_text": "String", // Success
    "message": "String",
    "data":"Array"
}

All Ticket

GET {{BASE_URL}}/api/ticket/get

With the help of this API we show the data of all ticket which is created by user.

{
    "status_code": "Integer", // 1
    "status_text": "String", // Success
    "message": "String",
    "data":"Object"
}

Create Ticket

Create Ticket

POST {{BASE_URL}}/api/ticket/create

After the selection of type of complain here user create the ticket.

Headers

NameTypeDescription

Authorization*

String

jwt token

Request Body

NameTypeDescription

author_email*

String

author_name*

String

category_id*

String

1 , 2 or 3

content*

String

title*

String

{
    "status_code": "Integer", // 1
    "status_text": "String", // Success
    "message": "String"
}

Get Single Ticket Data

Single Ticket Data

GET {{BASE_URL}}/api/ticket/get/815

Here we add ticket id in API path. It gives us single ticket data which is selected by user.

{
    "status_code": "Integer", // 1
    "status_text": "String", // Success
    "message": "String",
    "data":"Object"
}

Create Comment On Ticket

Create Comment on Spot Ticket

POST {{BASE_URL}}/api/ticket_comment/create

With the help of this API we create a comment on selected ticket.

Headers

NameTypeDescription

Authorization *

String

jwt token

Request Body

NameTypeDescription

category_id*

String

comment*

String

ticket_id*

String

{
    "status_code": "Integer", // 1
    "status_text": "String", // Success
    "message": "String"
}

Last updated