omron — Job and Job Segment Cancellation Details

Chapter 5: Jobs Job 20964-000 Rev. C Fleet Operation Workspace Core Integration Toolkit 53 User's Manual Item Details Data Type (enumerated item) Provides the value for the "cancelType" method chosen. cancelReason Reason Job or Job Segment was cancelled. Optional for POST/insert/publish method. status "Success" or failure message from the Queuing Manager. A cancellation method must be specified for the cancelType item. The following cancelType methods are supported. Table 5-17. Job and Job Segment Cancellation Method Descriptions cancelType Method Description jobId Cancel pending or in progress job based on the JobId. jobNamekey Cancel pending or in progress job based on the Job’s namekey.

segmentId Cancel pending or in progress job based on the segmentId. segmentNamekey Cancel pending or in progress job based on the Segment namekey. jobStatus Cancel all jobs with the given status. robot Cancel all jobs assigned to a given AMR. removeSegmentId Cancel a job segment using the SegmentId. removeSegmentNamekey Cancel a job segment using the segment namekey. and Job Segment Cancellation Functions Using REST Use the following REST calls to cancel Jobs and Job segments, and monitor existing Job can- cellations. Table 5-18.

Job and Job Segment Cancellation REST Call Resources Method Resource Function GET /JobCancel/ByKey/{namekey} Get Job cancel request by the job cancel request namekey. DELETE /JobCancel/{namekey} Delete cancel Job or Job Segmentcancel request, by namekey. GET /JobCancel/UpdatedSince?sinceTime={time millis} Get a list of cancelled Job entities that have been updated since the given time.