/publicDimensions/{publicDimensionID}/{ImportType} (POST)
Creates an import job for a given public dimension with a selected import type, which can be publicDimensionData only.
API Request Details
|
URL |
{BaseURL}/publicDimensions/{publicDimensionID}/{ImportType} |
|
Request Type |
POST |
|
Request Content |
application/json |
|
Required Header |
|
|
Name |
x-csrf-token |
|
Value |
<token> |
Notes
-
For public dimensions, when importing missing values into parent-child hierarchical data configured as mandatory fields using the Data Import Service API, the column is included and the value is empty.
-
For public dimensions, importing empty values into parent-child hierarchical data configured as mandatory fields using the Data Import Service API, replaces existing fields with the root node of the hierarchy.
-
For local dimensions, when importing empty values into parent-child hierarchical data configured as mandatory fields using the Data Import Service API, empty values are automatically replaced with the root node of the hierarchy.
For more information, see SAP Note 3842199
.
Body/Request Sample
-
You can provide a mapping when creating a job:
{ "Mapping":{ "Bicycle":"Bike" }, -
Alternatively, an empty body is required to create a public dimension job:
()
Sample Response
201: Created{
"JobID": " {jobID} ",
"JobURL": "{BaseURL} /jobs/{jobID} "
}