Creating New API Request
You can create and send an API request using the following options:
Sending a Direct API Request
To send a direct API request, perform the following actions:
On the Home page, under Projects, select the required Project.
Select Design Studio. In the Element Repository page, locate the Create Folder (+) icon.
Select Create Folder (+) icon and select Create new folder to create a new folder for element repository. A new folder is created.
In the New Folder text box, enter the element repository folder name.
In the newly created folder, select Ellipsis (...) icon > Create Repository > Webservice to create the repository.

From the Select dropdown, choose the required HTTP method:
GET: Used to retrieve information or data from the specified resource.
POST: Used to submit data to the server to create a new resource.
HEAD: Used to request response headers only without the response body.
PUT: Used to update or replace an existing resource with new data.
DELETE: Used to remove the specified resource from the server.
In the Enter URL text box, enter the API endpoint URL.
In the Operation text box, enter the mathematical operation.
Select the Append checkbox if you want to overwrite new configuration details onto the existing configuration during a resend or update process.
Select the send button to execute the API request.
Select the save button to store the configuration as a Webservice element.

Sending an Advanced API Request
To send an advanced API request, perform the following actions:
The initial setup for an Advanced API Request follows the same process as Direct API Request (Steps 1–9). After completing those steps, you can configure the additional components such as headers, body, parameters, authorization, and certificate as described below.
Select the Header tab and then enter the API Header details.
Select the Body tab and then enter the API Body details.
Select the Params tab and enter the Query Parameters or Path Parameters as required.
Select the Authorization tab and select the required authorization from the TYPE dropdown. Here are the different types of Authorization:
Select the Certificate tab and do the following:
In the Path text box, enter the certificate path and certificate key (optional).
In the Password text box, enter the certificate password.
In the Auth Username text box, enter the username.
In the AuthPassword text box, enter the password.
Select Submit button to finalize the API request setup.

After completing all required configurations, select the send button to execute the API request.
Select the save button to store the configuration as a Webservice element.

Last updated
Was this helpful?




