Skip to main content

Update schema mappings

PUT 

/field_mappings/_update_object

deprecated

This endpoint has been deprecated and may be replaced or removed in future versions of the API.

Update schema mappings

Request

Header Parameters

    x-customer-id stringrequired

    The customer ID that uniquely identifies the customer in your application

    Example: my-customer-1
    x-provider-name stringrequired

    The provider name

    Example: salesforce

Body

required
    name stringrequired
    type stringrequired

    Possible values: [common, standard]

    field_mappings object[]required
  • Array [
  • schema_field stringrequired
    mapped_field string
  • ]

Responses

List of objects and their field mappings (if set)

Schema
    object_name stringrequired
    object_type stringrequired

    Possible values: [common, standard]

    allow_additional_field_mappings booleanrequired
    schema_id stringrequired
    fields object[]required
  • Array [
  • name stringrequired

    The name of the field as set in the schema

    is_added_by_customer booleanrequired

    Whether the field was added by the customer (only applicable if the schema has allow_additional_field_mappings set to true)

    schema_mapped_name string

    The mapped named of the field as set in the schema by the developer. If set, the customer cannot override. Only one of schema_mapped_name or customer_mapped_name should be set.

    customer_mapped_name string

    The mapped name of the field as set by the customer. Only one of schema_mapped_name or customer_mapped_name should be set.

  • ]
Loading...