Closed emarc99 closed 1 month ago
When a support ticket that is already opened and acknowledged on the website is resolved, the user should be informed.
The purpose of the support ticket resolution notification feature is to:
{ "message": "Support ticket resolved successfully." }
{ "error": "Invalid or unresolved ticket." }
{ "error": "Ticket already resolved." }
We are not building a ticketing system
Description
When a support ticket that is already opened and acknowledged on the website is resolved, the user should be informed.
Acceptance Criteria
Support Ticket Acknowledgment:
Ticket Resolution:
Notifications:
Purpose
The purpose of the support ticket resolution notification feature is to:
Requirements
Ticket Model:
Database:
Expected Outcome
Endpoint: GET API/v1/resolve-ticket
Description: Marks the user's support ticket as resolved using the ticket ID provided.
Response:
Status code: 200 OK
Status code: 400 Bad Request
Status Code: 409 Conflict