Hi All,
How to Use API in Pega Robotics?
Can anyone Please share a sample code how to integrate API in Pega Robotics?
Does i need to learn Csharp?
Thanks,
Raviteja
Hi All,
How to Use API in Pega Robotics?
Can anyone Please share a sample code how to integrate API in Pega Robotics?
Does i need to learn Csharp?
Thanks,
Raviteja
@BaratamR In the later versions of 22.1, we have begun shipping sample automations with the installer. If you have installed 22.1.22 (I believe this was when it was provided, but it certainly is in the builds from this year) or later, you will see a new folder in the installation directory.
C:\Program Files (x86)\Pegasystems\Pega Robot Studio v22\Extra Resources\Sample automation projects
If you look in here, there is a ReadMe that shows what each of the samples demonstrates. I have copied the ReadMe below. One of the examples uses a public API to fetch data. Your specific API may differ though and require different authentication or other information to be passed. You will need some knowledge of the API in order to work with it.
This folder includes sample automation projects that demonstrate
advanced automation techniques.
CRM Asset Project
This project demonstrates how to create an application asset using
match states. You can also use this project to generate the Asset
that is used by the CRMNavigation project. This project uses the
CRM application found in the Sample applications folder.
CRMNavigation
This project demonstrates using match states, unit testing, and
an application asset to ensure that the application has not
changed in a way that would break automations.
Finance Asset Project
This project demonstrates how to create an application asset and
match states. You can use this project to generate the Asset that
is used by the FinanceNavigation project. This project uses the
Robotics Training website - https://roboticstraining.pega.com.
FinanceNavigation
This project demonstrates using match states, unit testing, and
an application asset to ensure that the website has not changed
in a way that would break automations.
InsuranceDemo
This project demonstrates using the JSON Parser and unit testing
to maintain a fictional insurance agency client list.
PDFFileOperations
This project demonstrates how to create a utility that you can
deploy as a utility asset. The project also demonstrates using the
PDF Connector file methods and unit testing the utility.
StarsAPI
This project demonstrates using the REST Client and the JSON Parser
to query and display information from the StarWars API web site.
Each project contains an Instructions file with additional information
about the project.
@BaratamR Thomas answered this question superbly, and there is also a mention of the sample resources in the documentation, in the following topic: