Test a global connection

post

/epm/rest/v1/globalConnections/{globalConnectionId}/test

Request

Supported Media Types
Path Parameters
Body ()
The details specific to this connection type. All connection types include a "type", the type of the connection. See the "type" object for allowed values. EPM connections also include: "url", the URL for the connection, "identityDomain", the identity domain for the connection, "username", the username for the connection, "password", the password for the connection. Leave blank to use the already stored password. EPM OAuth connections also include: "url", the URL for the connection, "clientId", the client Id for the connection. Leave blank to use the already client Id. "accessToken", the access token for the connection. Leave blank to use the already stored access token. "refreshToken", the refresh token for the connection. Leave blank to use the already refresh token. "authType", the authentication type for the connection. Use OAuth. Oracle Object Store connections also include: "url", the URL for the connection, "username", the username for the connection, "password", the password for the connection. Leave blank to use the already stored password. "defaultBucket", the updated default Object Storage bucket. Oracle Object Store API Request Sign authenticated connections also include " +"tenancyOciId", the OCI Tenancy Id for the connection, "userOciId", the OCI user Id for the connection, "publicKeyFingerprint", the Fingerprint of the public key for the connection, "privateKeyFileId", the file Id of the private key that was uploaded to temp for the connection. UCM connections also include: "url", the URL for the connection, "username", the username for the connection, "password", the password for the connection. Leave blank to use the already stored password. "identityDomain", the identity domain for the connection. AVCS connections also include: "url", the URL for the connection, "clientId", the client Id for the connection. Leave blank to use the already stored client Id, "clientSecret", the client Secret for the connection. Leave blank to use the already stored client Secret. AZURE connections also include: "url", the URL for the connection, "tenantId", the tenant Id for the connection, "clientId", the client Id for the connection, "clientSecret", the client Secret for the connection, "defaultContainerName", the default container name, "defaultFolder", the default folder name.
Root Schema : Global Connection Test Details
Type: object
Discriminator: type
The details specific to this connection type. All connection types include a "type", the type of the connection. See the "type" object for allowed values. EPM connections also include: "url", the URL for the connection, "identityDomain", the identity domain for the connection, "username", the username for the connection, "password", the password for the connection. Leave blank to use the already stored password. EPM OAuth connections also include: "url", the URL for the connection, "clientId", the client Id for the connection. Leave blank to use the already client Id. "accessToken", the access token for the connection. Leave blank to use the already stored access token. "refreshToken", the refresh token for the connection. Leave blank to use the already refresh token. "authType", the authentication type for the connection. Use OAuth. Oracle Object Store connections also include: "url", the URL for the connection, "username", the username for the connection, "password", the password for the connection. Leave blank to use the already stored password. "defaultBucket", the updated default Object Storage bucket. Oracle Object Store API Request Sign authenticated connections also include " +"tenancyOciId", the OCI Tenancy Id for the connection, "userOciId", the OCI user Id for the connection, "publicKeyFingerprint", the Fingerprint of the public key for the connection, "privateKeyFileId", the file Id of the private key that was uploaded to temp for the connection. UCM connections also include: "url", the URL for the connection, "username", the username for the connection, "password", the password for the connection. Leave blank to use the already stored password. "identityDomain", the identity domain for the connection. AVCS connections also include: "url", the URL for the connection, "clientId", the client Id for the connection. Leave blank to use the already stored client Id, "clientSecret", the client Secret for the connection. Leave blank to use the already stored client Secret. AZURE connections also include: "url", the URL for the connection, "tenantId", the tenant Id for the connection, "clientId", the client Id for the connection, "clientSecret", the client Secret for the connection, "defaultContainerName", the default container name, "defaultFolder", the default folder name.
Show Source
  • Read Only: true
    Allowed Values: [ "ORACLE_OBJECT_STORE", "ORACLE_OBJECT_STORE_REQ_SIGN", "EPM", "EPM_OAUTH", "UCM", "AZURE" ]
    Type should be set to "EPM" for Oracle Cloud EPM connections, "EPM_OAUTH" for Oracle EPM_OAUTH connections, "UCM" for Oracle Cloud ERP connections, "ORACLE_OBJECT_STORE" for Oracle Object Store connections, "AVCS" for Oracle Address, Email, and Phone Verification connections,"ORACLE_OBJECT_STORE_REQ_SIGN" for Oracle Object Store API Request Sign Authenticated connections, and "AZURE" for Azure Connections.
Back to Top

Response

Supported Media Types

200 Response

OK
Body ()
Root Schema : TestConnectionResult
Type: object
Show Source

400 Response

Error in body

404 Response

Connection not found
Back to Top

Examples

The following example shows how to test a global connection by using a POST request on the REST resource using cURL.

cURL Command

curl --user epm_cloud_user -X POST -H 'Content-Type: application/json' @example_request_payload.json https://servername.fa.us2.oraclecloud.com/epm/rest/v1/globalConnections/b3ee4f46-9b49-4422-b8b5-7113038e7015/test

Example of Request Body

The following shows an example of the request body in JSON format.

    {
        "url": "http[s]://hostname[:port]",
        "username": "User1",
        "password": "daa64d99-9c88-4109-a75b-c9756b7d0796",
        "type": "UCM"
    }

Example of Response Body

The following shows an example of the response body in JSON format.

    {
        "success": true,
        "messages": null
    }
Back to Top