Using Web Requests in Actions

You can use web requests to update fields in your business objects.

Use the Web Request Action when you need to be able to customize and define inputs. The Web Request Action uses open APIs to communicate with web servers, making it a flexible data gathering tool.

You can only use a Web Request Action as a component of a Composite Action. For help with Composite Actions, see Adding Multiple Actions to an Action.

Using the Web Request Action Feature

Use the Web Request Action to gather data and update fields in one step.

Understanding the Web Request Parameters

Update the settings of the web request.

General Settings

1.Method:

GET: Gathers data from a resource on the server.

POST: Sends data to the server to create or update a resource. Multiple POST requests will result in compounded changes to the resource.

PUT: Sends data to the server to create or update a resource. Multiple PUT requests will result in the same response with every request.

PATCH: Applies partial modifications to a resource.

DELETE: Deletes the specified resource.

2.URL: The target of your web request.

3.Body: Enter the payload you are sending with your web request.

Header Settings

Enter the required Header Key and Header Value pair.

Response Settings

1.Ignore Certificate Errors: Check this box to have the web request ignore certificate errors (such as an expired certificate error) and continue processing the remaining steps in the Action.

2.Store Response Code As: Creates and populates a variable to store the response code for use in subsequent action steps.

3.Store Response Body As: Creates and populates a variable to store the response body for in subsequent action steps.

4.Store Response Headers As: Creates and populates a variable to store the response header for in subsequent action steps.

Adding the Web Request Action to a Composite Action

1.Select the Create New Actions tab from the Actions Center.

2.Select Composite Action from the list of action types. In the Action workspace:

Select Web Request from the Add New Action dropdown menu.

Click Add.

Set the parameters of the web request by entering the necessary values for the fields in the web request parameter tabs.

3.Add remaining actions to be completed as a part of the Composite Action.

4.Click the Save button, and implement your Composite Action. For more information on using and applying Actions, see Using Actions.