Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Ticketing System API for Customer Support #272

Closed
shubhagarwal1 opened this issue Nov 9, 2024 · 1 comment · Fixed by #271
Closed

Implement Ticketing System API for Customer Support #272

shubhagarwal1 opened this issue Nov 9, 2024 · 1 comment · Fixed by #271
Assignees

Comments

@shubhagarwal1
Copy link
Contributor

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:

  1. Create a Ticket: Allows customers to create a new support ticket with a title and description of the issue.
  2. Get Customer Tickets: Retrieves a list of all tickets raised by a specific customer.
  3. Update Ticket Status: Allows updating the status of a ticket (e.g., "PENDING", "IN_PROGRESS", "RESOLVED", "CLOSED").
  4. 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.

Copy link

github-actions bot commented Nov 9, 2024

🎉 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.

Stay awesome! 😎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant