Phreesia Interview Question

How would you test this api?