curl --request GET \
--url https://grm-api.vercel.app/grievances/{grievance_id} \
--header 'Authorization: Bearer <token>'{
"status": "<string>",
"grievance": {
"title": "<string>",
"category": "<string>",
"description": "<string>",
"id": "<string>",
"user_id": "<string>",
"status": "Pending",
"created_at": "2023-11-07T05:31:56Z",
"priority": "medium",
"cpgrams_category": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"resolution_notes": "<string>",
"grievance_received_date": "2023-11-07T05:31:56Z",
"grievance_closing_date": "2023-11-07T05:31:56Z",
"organisation_closing_date": "2023-11-07T05:31:56Z",
"org_status_date": "2023-11-07T05:31:56Z",
"reported_as_covid19_case_date": "2023-11-07T05:31:56Z",
"covid19_category": "<string>",
"reformed_flag": false,
"reformed_top_level_category": "<string>",
"reformed_last_level_category": "<string>",
"forwarded_to_subordinate": false,
"forwarded_to_subordinate_details": "<string>",
"rating": 123,
"feedback": "<string>",
"satisfaction_level": "<string>",
"final_reply": "<string>",
"appeal_no": "<string>",
"appeal_date": "2023-11-07T05:31:56Z",
"appeal_reason": "<string>",
"appeal_closing_date": "2023-11-07T05:31:56Z",
"appeal_closing_remarks": "<string>",
"organisation_grievance_receive_date": "2023-11-07T05:31:56Z",
"organisation_grievance_close_date": "2023-11-07T05:31:56Z",
"officers_forwarding_grievance": "<string>",
"date_of_receiving": "2023-11-07T05:31:56Z",
"officer_closed_by": "<string>",
"final_status": "<string>",
"classified_category": "<string>",
"formatted_fields": "<string>",
"follow_up_questions": [
"<string>"
],
"missing_information": true,
"is_correct_category": true,
"category_data": {}
}
}Get a grievance by its ID
curl --request GET \
--url https://grm-api.vercel.app/grievances/{grievance_id} \
--header 'Authorization: Bearer <token>'{
"status": "<string>",
"grievance": {
"title": "<string>",
"category": "<string>",
"description": "<string>",
"id": "<string>",
"user_id": "<string>",
"status": "Pending",
"created_at": "2023-11-07T05:31:56Z",
"priority": "medium",
"cpgrams_category": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"resolution_notes": "<string>",
"grievance_received_date": "2023-11-07T05:31:56Z",
"grievance_closing_date": "2023-11-07T05:31:56Z",
"organisation_closing_date": "2023-11-07T05:31:56Z",
"org_status_date": "2023-11-07T05:31:56Z",
"reported_as_covid19_case_date": "2023-11-07T05:31:56Z",
"covid19_category": "<string>",
"reformed_flag": false,
"reformed_top_level_category": "<string>",
"reformed_last_level_category": "<string>",
"forwarded_to_subordinate": false,
"forwarded_to_subordinate_details": "<string>",
"rating": 123,
"feedback": "<string>",
"satisfaction_level": "<string>",
"final_reply": "<string>",
"appeal_no": "<string>",
"appeal_date": "2023-11-07T05:31:56Z",
"appeal_reason": "<string>",
"appeal_closing_date": "2023-11-07T05:31:56Z",
"appeal_closing_remarks": "<string>",
"organisation_grievance_receive_date": "2023-11-07T05:31:56Z",
"organisation_grievance_close_date": "2023-11-07T05:31:56Z",
"officers_forwarding_grievance": "<string>",
"date_of_receiving": "2023-11-07T05:31:56Z",
"officer_closed_by": "<string>",
"final_status": "<string>",
"classified_category": "<string>",
"formatted_fields": "<string>",
"follow_up_questions": [
"<string>"
],
"missing_information": true,
"is_correct_category": true,
"category_data": {}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of grievance to fetch
Grievance response
Status of the operation
Show child attributes
Title of the grievance
Category of the grievance
Detailed description of the grievance
Unique identifier for the grievance
ID of the user who submitted the grievance
Current status of the grievance
Active, Pending, Closed with resolution, Closed without resolution, Tender Issued Timestamp when the grievance was created
Priority level: low, medium, high, critical
CPGRAMS category of the grievance
Timestamp when the grievance was last updated
Notes on the resolution of the grievance
Date when the grievance was received
Date when the grievance was closed
Date when the organisation closed the grievance
Date of the last status update by the organisation
Date when the grievance was reported as a COVID-19 case
COVID-19 related category if applicable
Flag indicating if the grievance is part of reformed process
Top level category in the reformed classification
Last level category in the reformed classification
Flag indicating if the grievance was forwarded to a subordinate
Details about forwarding to subordinate
User rating of the grievance resolution
User feedback on the grievance resolution
User satisfaction level with the resolution
Final reply to the grievance
Appeal number if the grievance was appealed
Date when the appeal was filed
Reason for the appeal
Date when the appeal was closed
Remarks on the closing of the appeal
Date when the organisation received the grievance
Date when the organisation closed the grievance
Officers who forwarded the grievance
Date when the grievance was received
Officer who closed the grievance
Final status of the grievance
Classified category of the grievance
Formatted fields for the grievance
Follow-up questions for the grievance
Flag indicating if there is missing information
Flag indicating if the category is correct
Additional category data