View All Connections (v2)

Use this REST API to retrieve all persisted service connections in an application.

Required Roles

Service Administrator. This requirement applies to read and write operations; non-administrators receive no connection data.

REST Resource

GET /HyperionPlanning/rest/epm/v2/applications/{application}/connections

Request

Authenticate the REST call using HTTP Basic authentication. The connection’s authType describes authentication to its target service.

No request body or query parameters are defined for this operation.

Table 7-13 Request Parameters

Name Description Type Required Default
application Name of the application that owns the service connections. Path Yes None

This v2 operation returns all persisted connections across supported provider and authentication types. It has no offset, limit or filtering parameters.

Example URL

https://<BASE-URL>/HyperionPlanning/rest/epm/v2/applications/Vision/connections

Response

Supported Media Types: application/json

A successful request returns HTTP status 200 OK and a collection of service connections.

providerType is the server-resolved response field. providerCategory is a request field. Passwords, encrypted passwords, OAuth configuration and secrets are never returned. Secured header/query-parameter values are omitted entirely; non-secured values can be returned.

Table 7-14 Response Parameters

Name Description
items Service connections saved in the application.
items[].authType Authentication type configured for the target connection.
items[].description Description of the service connection.
items[].headers Configured external-service headers.
items[].headers[].isSecured Whether the stored value is secured and omitted from the response.
items[].headers[].name Name of the header.
items[].headers[].value Header value, returned only when isSecured is false.
items[].id Server-assigned UUID of the service connection.
items[].links Links to related resources.
items[].links[].action HTTP method for the linked operation.
items[].links[].href URL of the linked resource.
items[].links[].rel Relationship of the linked resource to this response.
items[].name Name of the service connection.
items[].providerType Concrete provider type resolved by the server; this is a response field.
items[].url Target service URL.
links Links to related resources.
links[].action HTTP method for the linked operation.
links[].href URL of the linked resource.
links[].rel Relationship of the linked resource to this response.
totalResults Number of service connections in this response.

Sample Response

Illustrative response; optional properties can vary by provider and stored configuration.

{
  "items": [
    {
      "id": "4f37506d-83e7-4a81-8593-52e5d3fa0311",
      "name": "Currency API",
      "description": "Retrieves exchange rates from the approved external service.",
      "url": "https://api.example.com/v1/rates",
      "providerType": "EXTERNAL",
      "authType": "OTHER",
      "headers": [
        {
          "name": "X-API-Key",
          "isSecured": true
        },
        {
          "name": "Accept",
          "value": "application/json",
          "isSecured": false
        }
      ],
      "links": [
        {
          "href": "https://<BASE-URL>/HyperionPlanning/rest/epm/v2/applications/Vision/connections/4f37506d-83e7-4a81-8593-52e5d3fa0311",
          "action": "GET",
          "rel": "self"
        }
      ]
    }
  ],
  "totalResults": 1,
  "links": [
    {
      "href": "https://<BASE-URL>/HyperionPlanning/rest/epm/v2/applications/Vision/connections",
      "action": "GET",
      "rel": "self"
    }
  ]
}