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
Fields: userId, grievanceType, description, status, createdAt, updatedAt.
Relationships: Links to user and optionally to rental property.
API Endpoints:
Submit Grievance (POST /api/grievances): Submits a grievance with type and description. Response includes success message and grievance ID.
Get Grievance List (Admin) (GET /api/grievances): Lists all grievances with pagination and filters. Response includes grievance metadata.
Get Grievance by ID (GET /api/grievances/{grievanceId}): Fetches details of a specific grievance.
Update Grievance Status (Admin) (PUT /api/grievances/{grievanceId}): Updates the status of a grievance. Response includes updated grievance.
Delete Grievance (Admin) (DELETE /api/grievances/{grievanceId}): Deletes a specific grievance.
Get Grievance Statistics (Admin) (GET /api/grievances/statistics): Returns statistics on grievances (open, resolved, etc.).
Use Case
Grievance addressal.
Benefits
No response
Add ScreenShots
No response
Priority
High
Record
I have read the Contributing Guidelines
I'm a GSSOC'24 contributor
I have starred the repository
The text was updated successfully, but these errors were encountered:
Thank you for creating this issue! 🎉 We'll look into it as soon as possible. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊
You can also check our CONTRIBUTING.md for guidelines on contributing to this project.
Is there an existing issue for this?
Feature Description
Grievance Model:
Fields: userId, grievanceType, description, status, createdAt, updatedAt.
Relationships: Links to user and optionally to rental property.
API Endpoints:
Submit Grievance (POST /api/grievances): Submits a grievance with type and description. Response includes success message and grievance ID.
Get Grievance List (Admin) (GET /api/grievances): Lists all grievances with pagination and filters. Response includes grievance metadata.
Get Grievance by ID (GET /api/grievances/{grievanceId}): Fetches details of a specific grievance.
Update Grievance Status (Admin) (PUT /api/grievances/{grievanceId}): Updates the status of a grievance. Response includes updated grievance.
Delete Grievance (Admin) (DELETE /api/grievances/{grievanceId}): Deletes a specific grievance.
Get Grievance Statistics (Admin) (GET /api/grievances/statistics): Returns statistics on grievances (open, resolved, etc.).
Use Case
Grievance addressal.
Benefits
No response
Add ScreenShots
No response
Priority
High
Record
The text was updated successfully, but these errors were encountered: