dwh-validate-mapping
Poll to get results of model mapping validation
get/gdc/dataload/dataSources/{dataSourceId}/buildModelMapping/{taskId}
Request
- Base URLhttps://secure.gooddata.com
- Authnone declared
Response
OK - return generated model mapping
Example response
{
"modelMapping": {
"validMappings": [
{
"mapping": {
"source": "DEMO_CUSTOMERS",
"target": "dataset.customers",
"type": "upsert",
"fields": [
{
"field": {
"source": {
"id": "A__NAME",
"dataType": "VARCHAR(128)"
},
"target": {
"id": "label.customers.name",
"type": "label",
"dataType": "VARCHAR(128)",
"parent": {
"id": "label.customers.name",
"type": "label",
"dataType": "VARCHAR(128)"
}
}
}
}
],
"systemFields": [
{
"field": {
"id": "{systemFieldId}",
"dataType": "VARCHAR(128)"
}
}
]
}
}
],
"validationErrors": [
{
"error": {
"errorCode": "source.table.missing-discriminator",
"message": "Source table %s is missing discriminator column x__client_id",
"parameters": [
"DEMO_CUSTOMERS"
]
}
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.