Returns sampled dataset after attribute mapping for a given mapping_id
This endpoint should be used when mapping exist.
A response is a list of JSON objects, where every object will have an input field, that represents the original key/value pairs from the dataset, and the output filed that will contain mapped fields where the key will be attribute name, and value will be JSON object of key/value pairs.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Unique identifier for a dataset.
The number of rows to sample from the dataset.
x <= 1000OK
[
{
"mapping_id": "62db1e99-7e0e-46c3-802b-1b13a0ebdb7b",
"records": [
{
"input": {
"idType": "idType1",
"idValue": "idValue1"
},
"output": {
"unique_id_95b79302_0f80_4cfd_9e43_ea26aa13b9a7": { "type": "idType1" }
}
},
{
"input": {
"idType": "idType2",
"idValue": "idValue2"
},
"output": {
"unique_id_95b79302_0f80_4cfd_9e43_ea26aa13b9a7": { "type": "idType2" }
}
}
]
},
{
"mapping_id": "f2d14fb8-2c9b-4ade-851e-388bfcd942f1",
"records": [
{
"input": {
"idType": "idType1",
"idValue": "idValue1"
},
"output": {
"unique_id_322d2d83_d8ec_4808_80be_66d08e446de5": { "value": "idValue1" }
}
},
{
"input": {
"idType": "idType2",
"idValue": "idValue2"
},
"output": {
"unique_id_322d2d83_d8ec_4808_80be_66d08e446de5": { "value": "idValue2" }
}
}
]
}
]