Test Mapping
Returns sampled dataset after attribute mapping for a given mapping.
This endpoint should be used when mapping does not 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.
For a cached_mapping request the response is always { "records": [] } — the cache lookup is resolved by NQL at query time and has no per-source-row preview to render.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
The number of rows to sample from the dataset.
x <= 1000Body
The target attribute's ID.
The source dataset's ID.
Mapping definition for create/update requests. Dependencies are computed server-side and not provided by the client.
- Option 1
- Option 2
- Option 3
Optional source for the mapping. If not specified, defaults to company.
Only company and rosetta_stone are allowed for user-created mappings.
company, rosetta_stone Response
OK

