You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to implement a Ticketing System API that allows customers to raise, manage, and track their support tickets. The API should support the following operations:
Create a Ticket: Allows customers to create a new support ticket with a title and description of the issue.
Get Customer Tickets: Retrieves a list of all tickets raised by a specific customer.
Update Ticket Status: Allows updating the status of a ticket (e.g., "PENDING", "IN_PROGRESS", "RESOLVED", "CLOSED").
Delete a Ticket: Enables customers or support agents to delete a ticket.
API Requirements:
POST/api/ticket: Raise a new ticket.
GET/api/ticket/{customerId}: Fetch all tickets for a given customer.
PATCH/api/ticket/{ticketId}: Update the status of a ticket.
DELETE/api/ticket/{ticketId}: Delete a specific ticket.
Response Format:
Success response should be in the format:
{
"success": true
}
Error response should be in the format:
{
"success": false,
"error": "Error message describing the issue"
}
Error Handling:
Handle any errors appropriately, returning useful messages for debugging (e.g., invalid ticket ID, customer not found, etc.).
Notes:
Ensure that proper validation is in place for inputs like customerId, ticketId, and status.
Provide clear and concise error messages for easy debugging and better customer support experience.
This API will enable customers to interact with the support team more effectively and track their issues.
The text was updated successfully, but these errors were encountered:
🎉 Thank you for your interest in contributing to this repository! Please wait while we review and assign this issue to you. In the meantime, feel free to ⭐ the repo to stay updated on future developments.
We need to implement a Ticketing System API that allows customers to raise, manage, and track their support tickets. The API should support the following operations:
API Requirements:
/api/ticket
: Raise a new ticket./api/ticket/{customerId}
: Fetch all tickets for a given customer./api/ticket/{ticketId}
: Update the status of a ticket./api/ticket/{ticketId}
: Delete a specific ticket.Response Format:
Success response should be in the format:
Error response should be in the format:
Error Handling:
Notes:
customerId
,ticketId
, andstatus
.This API will enable customers to interact with the support team more effectively and track their issues.
The text was updated successfully, but these errors were encountered: