Leapwork's Public Rest Api enables users to integrate Leapwork with a third-party system. The Public Rest API is hosted on the controller machine and can be accessed by navigating to the URL http://myLeapworkController.dom:9001/api/v3.
Kindly refer to the various integration examples for HP Quality Center, Jenkins, Jira, and TFS. However, the PowerShell script provided in the articles can’t be simply copy-pasted, as it requires a unique schedule Id.
The user needs to fetch the "Schedule Id" manually and use it in the scripts. Please follow the below steps to find the Schedule Id manually:
- Explore the Leapwork Schedule endpoint by going to this URL: http://localhost:9001/api/v3/schedules if you have the Controller installed on your own computer.
- Click here to read more about Get All Schedule Endpoint
- Now fill the API access Key and hit the button "Try it out" to make the call
- Look inside the response body for the title of the schedule. Just below the "Title" of the Schedule, the User can see the value for "Id" which is the required Schedule Id. This Schedule Id can be directly used inside the PowerShell scripts as explained above.
For any clarification, please contact our Priority Support.