HomeGuidesRecipesAPI
HomeGuidesAPILog In
Guides
These docs are for v11.2. Click to read the latest docs for v31.

Infiniti API Action

Overview

The Infiniti API Action mimics the standard Send to REST Service Action but automatically obtains an authentication token for the current user, or for a specified user to impersonate.

Usage

Similarly to the Send to REST Service Action, this action takes a URL describing the REST endpoint, and will send a supplied Action Document (JSON or XML) to the endpoint as the request body.

Impersonation

The Action also supports the "As-User" impersonation, which allows the REST request to be handled as if the given user was the one making the request. In this case the user running the action must have the "Impersonate" permission (which can be assigned to a Role in Manage). The impersonated user must have access to the resource(s) being accessed by the REST call as after audit logging the API call proceeds as if the impersonated user was the one making the call.

To use the "As-User" impersonation, the "As-User (Impersonate)" input should be set to either the username or user guid (whichever is available/convenient) of the user to be impersonated.