Question

How to use the Import API in v11

  • 8 October 2022
  • 2 replies
  • 17 views

Hi All,

 

I want to import bot to v11 CR using API.

For that I need to enter http(s)://<hostname:port>/v1/authentication. Can someone help me with how to get the hostname and port number?


2 replies

Userlevel 6
Badge +15

Hi @Meg Menon​ ,

 

You can use the CR URL here

 

auth

POST http://<your_control_room_url>/v1/authentication

Body parameters:

{

"username": "string",

"password": "string",

"apiKey": "string",

"mfaCode": 0

}

 

 

https://docs.automationanywhere.com/bundle/enterprise-v11.3/page/enterprise/topics/control-room/control-room-api/api-authentication.html/p>

 

 

Userlevel 6
Badge +16

Hi @Meg Menon​ ,

 

You can get the Hostname and port details within the URL or simply copy paste the URL in the below POST URI

 

Ex: https://companyname:80[ In this example company name is hostname, 80 is the port ]. If you are unsure on this please get in touch with your IT.

 

POST : http://<control_room_url>/v1/authentication

Reply