Test a global connection
post
/epm/rest/v1/globalConnections/{globalConnectionId}/test
Request
Supported Media Types
- application/json
Path Parameters
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
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
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
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
Show Source
-
type(required):
string
Read Only:
true
Allowed Values:[ "ORACLE_OBJECT_STORE", "EPM", "EPM_OAUTH", "UCM" ]
Type should be set to "EPM" for Oracle Cloud EPM connections, "EPM_OAUTH" for Oracle EPM_OAUTH connections, "UCM" for Oracle Cloud ERP connections and "ORACLE_OBJECT_STORE" for Oracle Object Store connections.
Response
Supported Media Types
- application/json
200 Response
OK
400 Response
Error in body
404 Response
Connection not found
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 }