Support-Category
This API retrieves a list of support ticket categories based on the query parameters.
Limit the number of results.
10
The offset from where to start the results.
0
Search keyword for filtering categories.
shipping
Filter by parent category ID.
1
Filter by category status.
1
Bearer token for authentication.
Successfully retrieved the ticket categories
Failed to retrieve ticket categories
GET /backend/api/support-ticket/ticket-category HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
{
"status": "1",
"message": "Ticket categories retrieved successfully",
"data": [
{
"createdBy": "admin",
"createdDate": "2025-04-01T10:00:00Z",
"modifiedBy": "admin",
"modifiedDate": "2025-04-01T10:30:00Z",
"id": 123,
"categoryName": "Shipping Issues",
"parentCategoryId": 1,
"isActive": true,
"isDelete": false
}
]
}
This API creates a new support ticket category.
Bearer token for authentication.
Shipping Issues
1
true
false
Ticket category created successfully
Invalid request data
Failed to create ticket category
POST /backend/api/support-ticket/ticket-category HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 88
{
"categoryName": "Shipping Issues",
"parentCategoryId": 1,
"isActive": true,
"isDelete": false
}
{
"status": "1",
"message": "Ticket category created successfully",
"data": {
"id": 124,
"categoryName": "Shipping Issues",
"parentCategoryId": 1,
"isActive": true,
"isDelete": false
}
}
This API retrieves a specific support ticket category based on the provided category ID.
The unique ID of the ticket category.
Bearer token for authentication.
Successfully retrieved the ticket category
Failed to retrieve ticket category
GET /backend/api/support-ticket/ticket-category/{id} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
{
"status": "1",
"message": "Ticket category retrieved successfully",
"data": {
"createdBy": "admin",
"createdDate": "2025-04-01T10:00:00Z",
"modifiedBy": "admin",
"modifiedDate": "2025-04-01T10:30:00Z",
"id": 123,
"categoryName": "Shipping Issues",
"parentCategoryId": 1,
"isActive": true,
"isDelete": false
}
}
This API allows users to update a specific support ticket category based on the provided category ID.
The unique ID of the ticket category to be updated.
Bearer token for authentication.
Updated Category Name
1
1
Successfully updated the ticket category
Failed to update ticket category
PUT /backend/api/support-ticket/ticket-category/{id} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 72
{
"categoryName": "Updated Category Name",
"status": 1,
"parentCategoryId": 1
}
{
"status": 1,
"message": "Ticket category updated successfully",
"data": {
"createdBy": "admin",
"createdDate": "2025-04-01T10:00:00Z",
"modifiedBy": "admin",
"modifiedDate": "2025-04-01T10:30:00Z",
"id": 123,
"categoryName": "Updated Category Name",
"parentCategoryId": 1,
"isActive": true,
"isDelete": false,
"categoryType": "general"
}
}
This API allows users to delete a specific support ticket category based on the provided category ID.
The unique ID of the ticket category to be deleted.
Bearer token for authentication.
Successfully deleted the ticket category
Failed to delete ticket category
DELETE /backend/api/support-ticket/ticket-category/{id} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
{
"status": "1",
"message": "Ticket category deleted successfully"
}
Last updated