Discussions

Ask a Question
Back to All

Retrieve All Jobs and Sort by most recent in Guzzle/PHP

Hi - I'm using: https://api.servicem8.com/api_1.0/job.json like this using PHP:
https://api.servicem8.com/api_1.0/job.json?%24filter=status%20eq%20'$status'"
where $status = "Work Order";

How can I sort the results by most recent job first?

Thanks