When your robot application function has finished processing, it must return a code that tells the server how to proceed with the request.
These codes are defined in the header file PortalServer-base/sdk/robot/include/robotoapi.h. The following list describes the response status codes after the robot has completed processing and a description of the corresponding status code:
The function performed its task, so proceed with the request.
The entire request should be aborted because an error occurred.
The function performed no task, but proceed anyway.
End the session and exit.
Restart the entire request-response process.