I am new to assistedge, i want to know how to use API Activity
Hi Yogesh,
API acitivity is used to invoke SAP and REST APIs.
Create Application
- Go to Admin Tab of AssistEdge Studio.
- Add an application of type Web API and specify all its properties.
Use API Activity in a Process
- Clicking on Create New button in HOME tab of AssistEdge Studio will create a new process
- Open the new or any existing process
- Add "API activity" in the process designer
- Select the new application that was created above.
- Configure the request that you want to send and response output variable
Thanks for guidance… I need further help, while test run it’s showing an error Value cannot be null.
Parameter name: source.
Hi,
Are you passing a parameter in request for which value is not defined. Check for arguments that you have defined and request you are sending. Paste screen of how you have configured process if you are not able to figure out the issue
Regards,
Amit
Hi Yogesh,
Were you able to find resolution for your issue explained here. If so, could you please explain the resolution here?
Thanks,
Reshmi
Hi @amit_anand15 i created an api with url api.openweathermap.org/data/2.5/weather?q=London,uk. i am facing this issue
My admin settings for webapi is
Kindly guide me what is this select API error. and also please tell what are options in settings have meaning
- URLPARAMS
- Parameter mapping
- Headers
Hi,
I am new user and was able to call REST API in assistedge community edition.
Since I am new, i m unable to attach more than 1 screenshots.
Create WebAPI application with login URL as:
Login URL: http://api.openweathermap.org
Add Headers:
Add the authorization token or bearer token in headers
Add the " Accept: application/json" as header if required
There are 2 arguments used here:
-
Name: argument1, Direction: In, type: string; Default Value: “/data/2.5/weather?q=London,uk”
-
Name: response, Direction: Out, type:string
Refer the screenshot for filling details such as arguments, Method type, etc.
I am not adding headers and running the process, so getting the unauthorized error.
Regards,
Gaurav N