Import a dimension by name

post

/epm/rest/v1/dimensions/byName/import

Request

Supported Media Types
Body ()
Specifies the parameters to use for running the import
Root Schema : ImportDimensionByNameCommandJson
Type: object
Show Source
Back to Top

Response

Supported Media Types

201 Response

Created job, import processing

400 Response

Error in body

404 Response

Not found
Back to Top

Examples

The following example shows how to Import a dimension by name from a specified file by submitting a post request on the REST resource using cURL.

cURL Command

curl --user epm_cloud_user -X POST -H 'Content-Type: application/json' -d @example_request_payload.json https://servername.fa.us2.oraclecloud.com/epm/rest/v1/dimensions/byName/import

Example of Request Body

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

{
    "applicationName": "Corporate Planning",
    "dimensionName": "Account",
    "fileName": "Account.csv",
    "connection": "Production"
}

Example of Response Body

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

{
  "links": [
    {
      "rel": "results",
      "href": "http://servername.fa.us2.oraclecloud.com/epm/rest/v1/jobRuns/81ecd091-f969-4053-85ef-3718d1ad63b0"
    }
  ]
}
Back to Top