Mapping an API response to an XSLT input

You can map API responses to XSLT input for a partner task, sponsor task, or a system task.

This task assumes that you have an API that gives responses you want to map to an XSLT input. The task requires that you have an API dialog in a Partner task, Sponsor task, or a System task in an activity. The complete response of an API request can be mapped to an XSLT input.
  1. Sign in to the PEM Portal as a Sponsor Administrator.
  2. Select Activities > Definitions.
    The list of activity definitions is displayed.
  3. In the Actions column for the activity, click the arrow and select Edit.
    The Task Flow page is displayed.
  4. Add the Partner Task, Sponsor Task, or the System Task.
  5. Right-click and select Define.
  6. Drag the API and the XSLT components to the task flow workspace.
  7. Enter a name for the task and click OK.
  8. Add a connector from the API to the XSLT.
  9. Right-click the API icon and select Define.
  10. Click ... to select the XML to map from the API response You can also provide the actual mapping data instead of the XML structure.
  11. Enter the sample API response.
  12. Click OK to close the API definition window.