younifyd
Menu

Get Custom Data Config

Get Custom Data Config

GET/custom-data-configs/{entity}

Use it in a workflow

  1. Add a step and choose the SCAYLE Admin connector.
  2. Pick the Get Custom Data Config action (under CustomDataConfig).
  3. Fill in the fields below, then reference the result from later steps as {{getCustomDataConfig.response.data}}.

Request

Path parameters

entitystringrequired

The entity name.

Response

Returns 200 with an object. Read it in later steps with {{getCustomDataConfig.response.data.<field>}}.

propertiesarray<object>

Collection of custom config properties.

namestringrequired

Name of the property.

typestringrequired

Type of the property.

One ofstringnumberbooleanjson

isLocalizedboolean

Whether the property is localized or not. Default is `false`, supported only for config properties of type `json` and `string`. Toggling `isLocalized` from `true` to `false` is not supported when there is custom data on the corresponding entity.

defaultValueany

Default value for the property. If `required` rule is set to `true` then `defaultValue` is mandatory in case there is custom data on the corresponding entity.

Default false

rulesobject5 fields

A collection of rules that applies to the corresponding property in the entity custom data.

inheritboolean

Whether the property is inheritable or not this would apply for entities having parent entities or self referencing like categories.

json
{
  "properties": {
    "name": "score",
    "type": "number",
    "defaultValue": 1,
    "inherit": false,
    "rules": {
      "required": true
    }
  }
}

Need more? See the SCAYLE Admin guide for connection setup and behaviour shared by every action.

Get Custom Data Config — SCAYLE Admin — Documentation