Open AleksandrMolchagin opened 5 months ago
Description:
The GET /{enrollmentId} method currently lacks a 404 response when the specified enrollment is not found. At the moment, it returns 200 with null.
GET /{enrollmentId}
null
Expected Behavior:
When an enrollment with the specified enrollmentId is not found, the API should return a 404 status code with the following response body:
{ "message": "Enrollment Not Found" }
Description:
The
GET /{enrollmentId}
method currently lacks a 404 response when the specified enrollment is not found. At the moment, it returns 200 withnull
.Expected Behavior:
When an enrollment with the specified enrollmentId is not found, the API should return a 404 status code with the following response body: