Skip to main content

Create a new Schema Attribute for Non-Employee Source

This API creates a new schema attribute for Non-Employee Source. The schema technical name must be unique in the source. Attempts to create a schema attribute with an existing name will result in a "400.1.409 Reference conflict" response. At most, 10 custom attributes can be created per schema. Attempts to create more than 10 will result in a "400.1.4 Limit violation" response. Request requires a security scope of: 'idn:nesr:create'

Path Parameters
  • sourceId string required

    The Source id

Request Body required
  • type string required

    Type of the attribute. Only type 'TEXT' is supported for custom attributes.

  • label string required

    Label displayed on the UI for this schema attribute.

  • technicalName string required

    The technical name of the attribute. Must be unique per source.

  • helpText string

    help text displayed by UI.

  • placeholder string

    Hint text that fills UI box.

  • required boolean

    If true, the schema attribute is required for all non-employees in the source

Responses

Schema Attribute created.


Schema
  • id UUID

    Schema Attribute Id

  • system boolean

    True if this schema attribute is mandatory on all non-employees sources.

  • modified date-time

    When the schema attribute was last modified.

  • created date-time

    When the schema attribute was created.

  • type string

    Possible values: [TEXT, DATE, IDENTITY]

    Enum representing the type of data a schema attribute accepts.

  • label string

    Label displayed on the UI for this schema attribute.

  • technicalName string

    The technical name of the attribute. Must be unique per source.

  • helpText string

    help text displayed by UI.

  • placeholder string

    Hint text that fills UI box.

  • required boolean

    If true, the schema attribute is required for all non-employees in the source

Loading...