Skip to content

Allow developers to access the Department resource #7

@askingalot

Description

@askingalot

Feature Criteria

Verbs to be supported

  1. GET
  2. POST
  3. 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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions