Upload file to HDL import account
post
/hcmRestApi/resources/11.13.18.05/dataLoadDataSets/action/uploadFile
Uploads file to the HCM Data Loader import account of the Oracle WebCenter content server for processing by HCM Data Loader or HCM Spreadsheet Data Loader.
Request
Header Parameters
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Supported Media Types
- application/vnd.oracle.adf.action+json
Root Schema : schema
Type:
Show Source
object
-
content: string
Base 64 encoded file to upload.
-
contentId: string
Content identifier to uniquely identify the file to upload.
-
fileName: string
Name of the file to upload.
Response
Supported Media Types
- application/json
- application/vnd.oracle.adf.actionresult+json
Default Response
The following table describes the default response for this task.
Root Schema : schema
Type:
Show Source
object
-
result(required): object
result
Additional Properties Allowed: additionalPropertiesStatus of the file upload request. Returns the content identifier of the file on the Oracle WebCenter Content server.
Nested Schema : result
Type:
object
Additional Properties Allowed
Show Source
Status of the file upload request. Returns the content identifier of the file on the Oracle WebCenter Content server.