Create a new Metadata
POST/metaData
Creates a new Metadata and attaches it to the requested Company.
Request
- application/json
Body
Input data
Possible values: <= 255 characters
The human readable name for the Metadata.
Additional info for the Metadata, i.e. the description of the Metadata.
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.
Possible values: <= 60000 characters
Extra information which is required for the type, i.e. this is Laravel validation rules.
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.
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.
Whether this is a public property. This can only be set by admins.
Responses
- 200
- 403
- 404
- 406
Metadata created.
- application/json
- Schema
- Example (from schema)
Schema
The guid of the Metadata.
Possible values: <= 255 characters
The human readable name for the Metadata.
Additional info for the Metadata, i.e. the description of the Metadata.
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.
Possible values: <= 60000 characters
Extra information which is required for the type, i.e. this is Laravel validation rules.
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.
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.
The translated name. This property is calculated.
Whether the Metadata is translatable or not.
{
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"shop_description": "string",
"type": "integer",
"extra": "string",
"copy_on_swap": true,
"auto_fill_facebook": "none",
"translate_name": "string",
"translatable": true
}
Unauthorized. You do not have permission to create Metadata.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}
Metadata not found.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}
Request is invalid, see error context for validation errors.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}