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:
Create a user profile;
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.
Authentication
POST
https://app.rpaidea.com/api/user/auth
Logging into the system using auth2 "Bearer authentication".
Headers
Content-Type
string
application/json
Request Body
object
{ "username": "user@agapys.com", "password": "base64_encoded_password" }
Authentication V2
POST
https://app.rpaidea.com/api/user/v2/auth
Sign in to the system uses the OAuth 2.0 standard.
Headers
string
application/json
Request Body
object
{ "username": "user@agapys.com", "password": "base64_encoded_password", }
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.
Headers
Authorization
string
Bearer {RESULT-OF-LOGIN}
Content-Type
string
application/json
Request Body
object
{ "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.
Headers
Authorization
string
Bearer {RESULT-OF-LOGIN}
Content-Type
string
application/json
Request Body
object
{ "variables": [ "name": "CNPJ", "type": "text", "value": "{VALUE}" ] }
Run Robot
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).
Headers
Authorization
string
Bearer {RESULT-OF-LOGIN}
Content-Type
string
application/json
Run Robot 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, but without parameters (uses the default parameters).
Headers
Authorization
string
Bearer {RESULT-OF-LOGIN}
Content-Type
string
application/json
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
Headers
Authorization
string
Bearer {RESULT-OF-LOGIN}
Content-Type
string
Application/json
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.
Headers
Authorization
string
Bearer {RESULT-OF-LOGIN}
Content-Type
string
Application/json
Last updated