/field-mappings

Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync ALL data from start.

Authentication

AuthorizationBearer

Token-based authentication with required prefix “Bearer”

Headers

X-Account-TokenstringRequired
Token identifying the end user.

Query parameters

exclude_remote_field_metadatabooleanOptional

If true, remote fields metadata is excluded from each field mapping instance (i.e. remote_fields.remote_key_name and remote_fields.schema will be null). This will increase the speed of the request since these fields require some calculations.

remote_data_iteration_countintegerOptional
Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided.

Request

This endpoint expects an object.
remote_field_traversal_pathlist of anyRequired

The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint.

remote_methodstringRequired>=1 character
The method of the remote endpoint where the remote field is coming from.
remote_url_pathstringRequired>=1 character
The path of the remote endpoint where the remote field is coming from.
common_model_namestringRequired>=1 character
The name of the Common Model that the remote field corresponds to in a given category.
target_field_namestringOptional>=1 character

The name of the target field you want this remote field to map to. Required if organization_wide_target_field is not provided.

target_field_descriptionstringOptional>=1 character

The description of the target field you want this remote field to map to. Required if organization_wide_target_field is not provided.

organization_wide_target_fieldstringOptional>=1 character

The name or key of an existing Organization-wide target field to map to. When provided, target_field_name and target_field_description are optional.

is_integration_widebooleanOptionalDefaults to false

If true, creates an integration-wide field mapping that applies to all Linked Accounts for the integration. Requires organization_wide_target_field.

jmes_pathstringOptional>=1 character

DEPRECATED: Use ‘advanced_mapping_expression’ instead.

advanced_mapping_expressionstringOptional>=1 character
A JSONata expression used to transform the remote field data.

Response

modelobject
warningslist of objects
errorslist of objects
logslist of objects