Create a mapping
Create a mapping between an attribute and one of the company’s datasets. The created mapping is
owned by the company and has global scope.
Supports mapping types: cached_mapping, object_mapping, and value_mapping.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Unique identifier for a company
Query Parameters
Skip validation of the mapping expressions against the query engine. Structural validation of the request still runs. The flag is enabled by being present; any value is ignored.
Body
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
Status to create the mapping in. Defaults to active when omitted. Narrower than
MappingStatus — a mapping cannot be created already archived.
active, pending, null Free-form labels on the mapping. Null and an empty array both mean no tags; nio:-prefixed tags
are reserved for Narrative.
Optional source for the mapping. Null or omitted defaults to company.
Only company and rosetta_stone are allowed for user-created mappings.
company, rosetta_stone, null Response
Ok
Unique identifier for a mapping.
"ea9dddd2-e3ee-40b5-b03e-c3cd37c8a6f0"
The target attribute's ID.
ISO-8601 timestamp indicating when the mapping was created.
"2021-08-26T21:06:07.710357Z"
The source dataset's ID.
- Option 1
- Option 2
- Option 3
The status of the mapping.
active- Active mappings can be usedarchived- Archived/Deleted mappings - mapping no longer in usepending- Pending mappings need to be accepted before they can be usedrejected- Proposed mappings the owner turned down. Can still be accepted later
active, archived, pending, rejected ISO-8601 timestamp indicating when the mapping was last updated.
"2021-08-26T21:06:07.710357Z"
Unique id from a user who created it.
20
Unique id from a user who updated it.
20
The scope of the mapping.
global- Mappings available to allprivate- Company private mappings
global, private The source of the mapping.
company- Company private mappingadmin- Admin created/promoted mappingsystem- System (Automated/ML) mappingslineage- Lineage-derived mappings (editable without admin)rosetta_stone- Rosetta Stone mappings (editable without admin)derived- Mappings produced by a derivation rule
company, admin, system, lineage, rosetta_stone, derived The company that owns the mapping. Null for platform-wide mappings.
345
Free-form labels on the mapping. Null and an empty array both mean no tags; nio:-prefixed tags
are reserved for Narrative.
The mapping this one was derived from. Null when the mapping was authored directly.
"ea9dddd2-e3ee-40b5-b03e-c3cd37c8a6f0"

