Export a dimension to a file
post
/epm/rest/v1/dimensions/{dimensionId}/export/download
Request
Path Parameters
command body
Root Schema : Parameters for exporting a dimension
Type:
Show Source
object
-
connectionId:
string(uuid)
The id of the connection to export the dimension (for export to connection only).
-
fileName(required):
string
The target file name to export the dimension to.Example:
dimension.csv
Response
Supported Media Types
- application/json
202 Response
Accepted, export processing
400 Response
Error in body
404 Response
Dimension not found
415 Response
Unsupported file media type
500 Response
Invalid file stream
Examples
The following example shows how to export a dimension into a 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/9ae152c1-9d03-46b8-9206-744680c84c43/export/download
Example of Request Body
The following shows an example of the request body in JSON format.
{ "fileName": "dimension.csv" }
Example of Response Body
The following shows an example of the response body in JSON format.
{ "links": [ { "rel": "results", "href": "https://servername.fa.us2.oraclecloud.com/epm/rest/v1/jobRuns/5a8ca1a9-ab3d-49fd-8f94-a66a895c9609" } ] }