Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 934 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 934 Bytes

Backend developer test

You would like to fetch some orders from an API. The API does not allow any filtering. Create a small filter function/application that will filter the input based on some parameters.

Requirements

  • Solve the task using PHP
  • Deliver the solution as a github/bitbucket repository link

Resource(s)

method resource parameters description
GET hoej.dk/tests/api/orders none Returns a list of all orders

Objectives

Your solution should be able to filter the input from the API and;

  1. Return all orders that have a specific product (e.g. "Logitech mouse")
  2. Return all orders that have products that are made of a specific material (e.g. "Plastic")
  3. Return all orders that have products without parts