The API must have an endpoint which will allow for the searching for all agents which based on criteria which are status and location.