Retrieving Take Action definitions

This example shows how to retrieve Take Action definitions.

Retrieving Take Action definitions uses the GET /system/actions endpoint

Note: Take Action definitions are just one type of managed system data that you can retrieve using the TEMS REST API. All managed system data requests use the /system resource. For information about retrieving other types of managed system data (such as applications, groups, nodes, and SDA records), see Requesting managed system data.
Use the GET /system/actions endpoint to retrieve a list of Take Action definitions or information for a single Take Action definition, as follows:
  • Use the following path to retrieve all Take Action definitions:
    https://host:port/api/v1/system/actions
  • Use the following path to retrieve information for a specific Take Action definition, by including the name parameter set to the unique identifier given to the Take Action definition:
    https://host:port/api/v1/system/actions?name=name
  • Use the id parameter to retrieve Take Action definitions by affinity:
    https://host:port/api/v1/system/actions?id=affinity_id

The response for each of these endpoints is a JSON document that contains an array of objects that represent the records returned.