omron — 5.1 WaitTaskCancel

Chapter 5: Jobs GET 20964-000 Rev. C Fleet Operation Workspace Core Integration Toolkit 55 User's Manual Table 5-19. WaitTask Cancellation REST Call Resources Method Resource Function POST /WaitTaskCancel Cancels a wait state. GET /WaitTaskState/{robot} Obtains waiting status on a robot. RL examples Following are POST and GET cURL examples for robot Robot1: ST curl [options] -X POST "https://[IP]:8443/WaitTaskCancel" -H "accept: application/json; charset=utf-8" -H "Content-Type: application/json; charset=utf-8" -d "{\"robot\":\"Robot1\"}" T curl [options] -X GET "https://[IP]:8443/WaitTaskState/Robot1" -H "accept:

applic- ation/json; charset=utf-8" sponses Both REST calls return a code reflecting the waiting state of the robot per the following table:

Code Description Note Positive value "waiting for seconds" 0 "wait done" Unlikely return value as state is transient -1 "wait forever" -2 "wait task interrupted" Unlikely return value as state is transient -3 "wait stopped by user" Unlikely return value as state is transient -4 "wait interrupted by this client" -5 "not waiting now" Code Description Note Positive value "waiting for seconds" 0 "wait done" Unlikely return value as state is transient -1 "wait forever" -2 "wait task interrupted" Unlikely return value as state is transient -3 "wait stopped by user" Unlikely return value as state is transient -4 "wait interrupted by this client" -5 "not waiting now"