Chapter 5: Jobs Job 20964-000 Rev. C Fleet Operation Workspace Core Integration Toolkit 45 User's Manual Table 5-10. Job Monitoring Item Schema Item Details Data Type namekey Unique identifier of a job entity. String jobId Assigned jobId by the Fleet Manager. queuedTimestamp Time when the job was queued. Integer jobType Job type of Pickup (P), Dropoff (D), PickupDropoff (PD), or Multi-goal (M). String lastAssignedRobot Name of the AMR last assigned to this job. cancelReason Reason why the job was cancelled. Provided by Fleet Manager only when sup- plied by the client during job cancellation. status Job status of Pending, InProgress, Com- pleted, Cancelled, Cancelling, or Modifying.
completedTimestamp Time when the job was completed. Integer linkedJob Reserved for future use (empty). String failCount Number of times the job has failed. Only present if the job has failed. Integer Monitoring Using REST Use the following REST calls to monitor an existing job. Table 5-11. Job Monitoring REST Call Resources Method Resource Function GET /Job/ByKey/{namekey} Get job by namekey. GET /Job/UpdatedSince?sinceTime={time millis} Get a list of job entities that have been updated since the given time. GET /Job/Stream Listen for all Job updates. GET /Job/History?sinceTime={time millis} Get a list of Job history entities since the given time.
GET /Job/History?sinceTime={time millis}&namekey={namekey} Get a list of Job history entities for a specific namekey since the given time. GET /Job/ByJobId/{JobId} Get a list of Job entities filtered by JobId. GET /Job/ByLastAssignedRobot/ {LastAssignedRobot} Get a list of Job entities filtered by lastAssignedRobot. GET /Job/ByStatus/{Status} Get a list of Job entities filtered by