Mapping a Single API

Overview

Single APIs can be used when the third-party system can perform an atomic operation with a single API call. For example, if the use case is to fetch data for a Data Subject from a third-party system and that system supports fetching data using a single REST API, then Single API is the appropriate choice.

Steps
1

Select Single API from the Add New Rest API dropdown list to begin adding migration criteria and setting up the integration.

Add New Rest API dropdown with Single API selected
2

In the Settings tab, select whether the integration is for Request or Task(1). Then click Add Criteria(2) to add the criteria to apply on the map. Click the dropdown button on a selected criterion to add a criteria value. You can select multiple criteria as needed.

Settings tab showing Request/Task toggle (1) and Add Criteria button (2)

If you selected Task, select a task template from the Task template dropdown list.

Task template dropdown in the Settings tab
3

Select a use case for API Usage from the list (3). Each use case can pair with any API method.

API Usage dropdown showing available use case options
API Usage Options
Create workflow tickets in systems — Select this to create workflow tickets for corresponding DSRs or tasks in third-party systems.
Update data in systems — Select this to update Data Subject data in third-party systems.
Delete data in systems — Select this to delete data for a Data Subject in third-party systems.
Fetch data from system — Select this to allow IRM to fetch Data Subject data from systems and attach it to the request or task as a CSV or PDF file.
Verify DSR data in systems — Select this to allow data comparison between DSRs and systems. If data do not match, the user can close the request after marking it as Verification Failed.

Then set the mapping (4) to Not Required if the current API call is not required, or to Required to require the API call at all times when there are updates and to record integration logs.

4

In the URL tab, select the HTTPS Method to use in the workflow (1).

URL tab showing HTTPS Method dropdown (1), API URL field (2), and URL Parameters (3)
HTTPS Method Options
GET — Read data from the third-party system.
PUT — Update or create data in the third-party system.
POST — Create a new row in the third-party system.
DELETE — Delete data in the third-party system.
PATCH — Modify data in the third-party system.

Enter the custom API URL (2) and URL Parameters (3). To use variable keys in the URL, format them as [[${variable}]]. For example: https://www.website.com/[[${variable}]]. You can map Value Mapping attributes multiple times as necessary — at runtime, the values of the IRM attribute mapped multiple times will be passed to the receiving system's mapped attributes.

5

In the Params tab, enter a Key and select a Value from the dropdown list, as applicable.

Params tab with Key and Value fields

Click Add Param to add more parameters or Remove All to delete all listed parameters. You can also click the Delete button on an individual parameter to remove it.

6

In the Headers tab, enter a Key and select a Value from the dropdown list, as applicable.

Headers tab with Key and Value fields

Click Add Header to add more headers or Remove All to delete all listed headers. You can also click the Delete button on an individual key to remove it.

7

In the Body tab, enter a Key and select a Value from the dropdown list, as applicable.

Body tab with Key and Value fields

You can click {} Edit in Code to input the payload as a JSON body.

Edit in Code view for entering a JSON body payload

Click Add Attribute to add more attributes. You can click Remove All to delete all listed attributes or the Delete button on an individual attribute to remove it.

8

If you selected Verify Data in DSR Systems as the API Usage in Step 3, IRM dynamically displays the Response Mapping tab.

9

Click Save to save the integration setup, or click Save & Add Another API to add more APIs.

10

Click View Intake Form to open the intake form in another tab.

View Intake Form button in the integration setup
11

In the Publish tab of the intake form, click the Intake Form URL to review and submit the information.

Publish tab of the intake form showing the Intake Form URL
12

Once done with verification, go to Admin > Logs to check the integration transfer logs.

Integration Logs

Sample Successful API Call

Admin Logs showing a sample successful API call entry

Sample Failed API Call

Admin Logs showing a sample failed API call entry
TrustArc  ·  IRM — Rapid API Single API Setup  ·  support.trustarc.com