Get worker's schedule

Get worker's schedule

Retrieves all of the schedule entries for a worker.

curl -X POST "https://onfleet.com/api/v2/workers/GPOQQjU84QPN~fP*pbunT2CW/schedule" -u "cd3b3de84cc1ee040bf06512d233719c:"
onfleet.workers.getSchedule(id="GPOQQjU84QPN~fP*pbunT2CW")
onfleet.workers.getSchedule("GPOQQjU84QPN~fP*pbunT2CW");
$onfleet->workers->getSchedule("GPOQQjU84QPN~fP*pbunT2CW")
{
  "entries":[
    {
      "date": "2017-07-20",
      "shifts": [[1500591600000,1500613200000]],
      "timezone": "America/Los_Angeles"
    },
      {
        "date": "2017-07-17",
        "shifts": [[1500307200000,1500314400000], [1500323100000,1500336000000]],
        "timezone": "America/Los_Angeles"
      }
  ]
}