Skip to main content
Version: 2021-07-28

Validate Record Fields

POST 

/objects/:schemaKey/records/validate-fields

Validate custom object record properties against field schemas

Request​

Version stringrequired

API Version

Available options2021-07-28
schemaKey stringrequired

The key of the Custom Object / Standard Object Schema. For custom objects, the key must include the “custom_objects.” prefix, while standard objects use their respective object keys. This information is available on the Custom Objects Details page under Settings.

application/json

Bodyrequired

    locationIdstringrequired

    Location Id

    propertiesobjectrequired

    Record properties to validate against the object field schemas. Keys are the object field names; values are the field values.

application/json

Fields validated successfully

Schema
    propertiesobject[]

    Validated properties in their internal storage shape

    fieldsSchemasobject[]

    Field schemas the properties were validated against

    fieldsHashMapByKeyobject

    Field schemas keyed by field key

    droppedPropertiesobject[]

    Properties that were dropped because they do not match any field schema