copy Copy chevron-down
ORCHESTRATOR API Integration How to make call to our API's in order to run robots remotely and get the result.
How the process should take place step-by-step:
Sign in using the GET Login method, thus retrieving the authentication token;
All the following executions should be passed in Header Authorization: Bearer which is the response retrieved at login time;
Obtain the Runtime's unique ID by contacting our support;
Obtain the unique ID of the robot that will be executed by contacting support;
Execute the POST Run or GET Run method with the above data and get the code from the request that will come as a result;
Get the response with the GET Result method, passing the Runtime code and the code of the result retrieved earlier.
POST https://app.rpaidea.com/api/user/auth
Logging into the system using auth2 "Bearer authentication".
Copy Bearer eyJhbGciOiJIUzUxMiJ9 . eyJzdWIiOiJpbnRlZ3JhY2FvX2ZvcmdlQGFnYXB5cy5jb20iLCJpc3MiOiJST0xFX0lOVEVHUkFUSU9OLCIsImV4cCI6MTU3NTgyOTU5Nn0 . 655 IJVQOierSDDe3Yf5tcZo4htpvQPSMAwq4OtdQ4ZycfBF7bP8JssWQe3m7Ad17066SWURArJ7OrjAe - mNyDA
Copy {
" timestamp " : 1574970103297 ,
" status " : 401 ,
" error " : " Unauthorized " ,
" message " : " Unauthorized " ,
" path " : " /api/user/auth "
} Authentication V2
POST https://app.rpaidea.com/api/user/v2/auth
Sign in to the system uses the OAuth 2.0 standard.
Run robot with parameters
POST https://app.rpaidea.com/api/integration/v1/run/{ID_COMPUTER}/{ID_ROBOT}
Asynchronous execution start of the robot on the indicated Runtime, returning the execution id for future result request.
{
"variables ": [
{
"name ":"CNPJ",
"type ": "text",
"value ":"{VALUE}"
},
{
"name ":"IE",
"type ": "text",
"value ":"{IE}"
}
]
}
Run robot with parameters v2
POST https://app.rpaidea.com/api/integration/v2/run/{ID_COMPUTER}/{ID_ROBOT}
Asynchronous execution start of the robot on the indicated Runtime, returning the execution id for future result request.
{
"variables": [
"name": "CNPJ",
"type": "text",
"value": "{VALUE}"
]
}
GET https://app.rpaidea.com/api/integration/v1/run/{ID_COMPUTER}/{ID_ROBOT}
Asynchronous execution start of the robot on the indicated Runtime, returning the execution id for future result request, but without parameters (uses the default parameters).
POST https://app.rpaidea.com/api/integration/v2/run/{ID_COMPUTER}/{ID_ROBOT}
Asynchronous execution start of the robot on the indicated Runtime, returning the execution id for future result request, but without parameters (uses the default parameters).
Get execution result
GET https://app.rpaidea.com/api/integration/v1/result/{ID_COMPUTER}/{ID_EXECUTION}
Busca o resultado de forma parcial ou total da execução do robô - Gets the result of the robot's execution
Delete task from queue
DELETE https://app.rpaidea.com/api/integration/v1/delete/{ID_COMPUTER}/{ID_EXECUTION}
Deletes tasks that have been added to the queue.