Get (just) all (deleted) MetaData
GET/metaData/:type
Returns all MetaData of the requested Company, all the public MetaData, and all the MetaData for which the Company is whitelisted. When there are no MetaData an empty array will be returned.
The "trashed" operation returns all MetaData including deleted MetaData.
The "justtrashed" operation returns only the deleted MetaData.
Note, "normal" will yield the same result as without a type.
Request
Path Parameters
- "normal"
- Returns all the MetaData except those which are deleted.
- "trashed"
- Returns all the MetaData including those which are deleted.
- "justtrashed"
- Returns all and only the deleted MetaData.
Possible values: [normal
, trashed
, justtrashed
]
Type of operations for querying deleted MetaData.
Responses
- 200
- 403
- 404
MetaData found.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
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 retrieve MetaData of the Company.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}
Company not found.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}