AmericaSCORESBayArea / salesforce-data-api

This project is based on Mulesoft Dataweave and Salesforce to provide secure, reliable, API access for all the Scores apps and projects. It is hosted on Anypoint and acts as the transactional hub, in concert with the authentication API
3 stars 1 forks source link

GET /enrollments/{enrollmentId} #209

Open AleksandrMolchagin opened 5 months ago

AleksandrMolchagin commented 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.

Image

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"
}