We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description:
The DEL /enrollments method currently returns Enrollment/s deleted successfully even when no records are found.
DEL /enrollments
Enrollment/s deleted successfully
Expected Behavior:
When no records are found, the API should return a 404 status code with the following response body:
404: body: application/json: example: message: Enrollment/s Not Found
When some enrollments are found and deleted while others are not found, the API should return a 206 status code with the following response body:
{ "message": "Partial Success", "deleted": ["enrollment_id_1", "enrollment_id_2"], "not_found": ["enrollment_id_3", "enrollment_id_4"] }
The text was updated successfully, but these errors were encountered:
TharunKumarReddyPolu
No branches or pull requests
Description:
The
DEL /enrollments
method currently returnsEnrollment/s deleted successfully
even when no records are found.Expected Behavior:
When no records are found, the API should return a 404 status code with the following response body:
When some enrollments are found and deleted while others are not found, the API should return a 206 status code with the following response body:
The text was updated successfully, but these errors were encountered: