Feature Criteria
Verbs to be supported
- GET
- POST
- PUT
- User should be able to GET a list, and GET a single item.
- If the query string parameter of
?_include=employees is provided, then all employees in the department(s) should be included in the response.
- If the query string parameters of
?_filter=budget&_gt=300000 is provided on a request for the list of departments, then any department whose budget is $300,000, or greater, should be in the response.
Testing Criteria
Write a testing class and test methods that validate the GET single, GET all, POST, and PUT operations work as expected.
Feature Criteria
Verbs to be supported
?_include=employeesis provided, then all employees in the department(s) should be included in the response.?_filter=budget&_gt=300000is provided on a request for the list of departments, then any department whose budget is $300,000, or greater, should be in the response.Testing Criteria
Write a testing class and test methods that validate the GET single, GET all, POST, and PUT operations work as expected.