Skip to main content

Create a new Metadata

POST 

/metaData

Creates a new Metadata and attaches it to the requested Company.

Request

Body

Input data

    name stringrequired

    Possible values: <= 255 characters

    The human readable name for the Metadata.

    shop_description string

    Additional info for the Metadata, i.e. the description of the Metadata.

    type stringrequired

    Possible values: [integer, string, date, enum, enumOther, boolean, values, seatSelect, phone]

    The type of the Metadata is related to UI that needs to be presented. The "seatSelect" type can only be set by an admin.

    extra string

    Possible values: <= 60000 characters

    Extra information which is required for the type, i.e. this is Laravel validation rules.

    copy_on_swap boolean

    When a ticket swap creates a new Ticket Type, whether the value of this Metadata should be copied to the new Ticket Type. If you are unsure, leave this false; incorrect usage could leak personal information.

    auto_fill_facebook string

    Possible values: [none, first_name, last_name, email, gender, date_of_birth, age, city, country]

    The Facebook input type to auto fill the Metadata. This has been disabled by Facebook.

    public boolean

    Whether this is a public property. This can only be set by admins.

Responses

Metadata created.

Schema

    guid uuidrequired

    The guid of the Metadata.

    name stringrequired

    Possible values: <= 255 characters

    The human readable name for the Metadata.

    shop_description string

    Additional info for the Metadata, i.e. the description of the Metadata.

    type stringrequired

    Possible values: [integer, string, date, enum, enumOther, boolean, values, seatSelect, phone]

    The type of the Metadata is related to UI that needs to be presented. The "seatSelect" type can only be set by an admin.

    extra string

    Possible values: <= 60000 characters

    Extra information which is required for the type, i.e. this is Laravel validation rules.

    copy_on_swap boolean

    When a ticket swap creates a new Ticket Type, whether the value of this Metadata should be copied to the new Ticket Type. If you are unsure, leave this false; incorrect usage could leak personal information.

    auto_fill_facebook string

    Possible values: [none, first_name, last_name, email, gender, date_of_birth, age, city, country]

    The Facebook input type to auto fill the Metadata. This has been disabled by Facebook.

    translate_name string

    The translated name. This property is calculated.

    translatable boolean

    Whether the Metadata is translatable or not.

Loading...