The AMS 360 WSAPI Lookup Mapper step is used to lookup records in the AMS360 Web Services API. An account is required for this step to work.
Illustrated in the below image is a flow where the AMS 360 WSAPI Lookup Mapper step is used.
Adding an AMS 360 WSAPI Lookup Mapper Step
To add an AMS 360 WSAPI Lookup Mapper step in a flow, follow the below instructions:
1. Click on the plus icon as shown in the below image.
2. The below page will appear. Select or search for AMS 360 WSAPI Lookup as shown in the image below.
Configuring an AMS 360 WSAPI Lookup Mapper Step
Illustrated in the below image is the configuration that is available in the AMS 360 WSAPI Lookup Mapper step.
A connection is required for this step. Click on the highlighted plus button to create a new connection.
Entity – The entity or method to use to retrieve. Click on the dropdown arrow to select from the list. Once selected, the Lookup Type options will be generated.
NOTE: The Lookup Type may differ depending on the Entity selected.
Mappings – Determine the mappings from the lookup object to the record object. To add a field to map, click on the ‘Add Row’ button as outlined in the image above.
From Path – The path or value to map from.
To Field – This field is mandatory. This specifies the path or name of the new field to map to. In this example, it has been set to “Test Lookup”.
Default Value – This is a default value to use in the new field if there is no source field found on the input record.
Type – The data type. This could be a String, Number, Boolean or any other data type required. Select the required from the dropdown list.
On Not Found – Action to be taken if data is not found. The options available are Error, Null, Discard, or Skip.
Enable Caching Checkbox – Cache results so that they are only fetched once for a specific ID when checked.
Retry – The option can be enabled by clicking on the checkbox. It will retry an HTTP call to the AMS 360 WSAPI Web Services API
Times – Set the number of retries to attempt.
Delay – Set the delay, in seconds, between the retries.
Using an AMS 360 WSAPI Lookup Mapper Step
To use an AMS 360 WSAPI Lookup Mapper step, follow the instructions below:
1. Click on the play icon on the Calculator step after an AMS 360 WSAPI Lookup Mapper step as highlighted in the image below:
2. Click the Test button as shown in the image below.
The image below shows the output from the AMS 360 WSAPI Lookup.