Get all ProductGroups with Product Types for this Ticket Type
GET/ticket/:guid/groups/products
Returns all ProductsGroup with Product Types for this Ticket Type.
Request
Path Parameters
The guid of the Ticket Type.
Responses
- 200
- 404
The ProductGroups with Product Types attached to the Ticket Type found.
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
The guid of the ProductGroup.
Possible values: <= 255 characters
The name of the ProductGroup.
Possible values: <= 65536 characters
The description of the ProductGroup.
Possible values: <= 100000000
The lower bound, i.e. the minimal amount of Product Types which have to be ordered to satisfy the ProductGroup.
Possible values: <= 100000000
The upper bound, i.e. the maximum amount of Product Types which have to be ordered to satisfy the ProductGroup.
Possible values: <= 100000000
The amount of duplicates per Product Type which is maximally allowed.
The Ticket Type the ProductGroup belongs to
Is deprecated, is replaced by the numerator and denominator; Depicts the preceded_by.
Numerator, used for ordering.
Demoninator, used for ordering.
Array of Product Type guids which the ProductGroup belongs to.
products
object[]
The guid of the Product Type.
The guid of the Event associated with the Product Type.
Possible values: <= 255 characters
The name of the Product Type.
Possible values: <= 65536 characters
The description of the Product Type.
Possible values: <= 100
The VAT percentage which applies to this Product Type. This is a float with at most 2 decimals, because VAT percentages in some countries have fractions of a percent.
The price of this Product Type in cents.
Possible values: [own
, container
]
The type of pricing method. Whether the container value or its own value is used for varying kickback calculations.
Possible values: [EventProtect
, RefundProtect
, RandomNumberGenerator
, PlayPass
, Co2Compensate
, Giro555
]
The class which get called on order Events.
Possible values: [date
, ticket
, product
]
The type of Product Type. This is either date, ticket, or product. This is auto-generated.
Possible values: [auto
, sold_out
]
The sale status of the Product Type.
Extra class data.
[
{
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"description": "string",
"min_bound": 0,
"max_bound": 0,
"uniqueness": 0,
"ticket_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"numerator": 0,
"denominator": 0,
"members": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"products": [
{
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"event_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"description": "string",
"vat_percentage": 0,
"price": 0,
"pricing_method": "own",
"class": "EventProtect",
"origin_type": "date",
"status": "auto",
"extra_data": [
null
]
}
]
}
]
Ticket Type not found.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}