CustomerEventSalesAllocationsByCustomerId: Tixly Customer Event Sales Allocations by Customer ID |
Fetches the events that a specific customer has bought a ticket to
Catalog: Tixly
Schema: Customer
Label: Customer Event Sales Allocations by Customer ID
This is a read-only table function. The Tixly API may not support changing the data or the Invantive SQL driver for Tixly does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Tixly API.
Parameters of Table Function
The following parameters can be used to control the behaviour of the table function CustomerEventSalesAllocationsByCustomerId. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be evaluated using their default values.
Value specification by position is done by listing all values from the first to the last needed value. For example: a `select * from table(value1, value2, value3)` on a table with four parameters will use the default value for the fourth parameter and the specified values for the first three.
Value specification by name is done by listing all values that require a value. For example with `select * from table(name1 => value1, name3 => value3)` on the same table will use the default values for the second and fourth parameters and the specified values for the first and third.
Name |
Data Type |
Required |
Default Value |
Documentation |
---|---|---|---|---|
id |
int32 |
☑ |
|
Id of the customer |
Columns of Table Function
The columns of the table function CustomerEventSalesAllocationsByCustomerId are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
---|---|---|---|---|
Abbreviation |
string |
Abbreviation |
☐ |
|
Allocated |
int32 |
Allocated |
☐ |
|
AvailableOnline |
boolean |
Available Online |
☐ |
|
Block |
boolean |
Block |
☐ |
|
BlockedAllocated |
int32 |
Blocked Allocated |
☐ |
|
Capacity |
int32 |
Capacity |
☐ |
|
Created_1 |
datetime |
Created 1 |
☐ |
|
Created |
datetime |
Created |
☐ |
|
CreatedUTCUnix_1 |
int64 |
|
☐ |
|
CreatedUTCUnix |
int64 |
|
☐ |
|
DateConfirmed |
boolean |
Date Confirmed |
☐ |
|
Edited |
datetime |
Edited |
☐ |
|
EditedUTCUnix |
int64 |
|
☐ |
|
EndDate |
datetime |
End Date |
☐ |
|
EndDateUTCUnix |
int64 |
|
☐ |
|
EventGroup |
string |
Event Group |
☐ |
|
EventGroupId |
int32 |
Event Group ID |
☐ |
|
ExpiresHoursBefore |
int32 |
Expires Hours Before |
☐ |
|
Hall |
string |
Hall |
☐ |
|
HallId |
int32 |
Hall ID |
☐ |
|
Id_1 |
int32 |
ID 1 |
☐ |
|
Id |
int32 |
ID |
☐ |
|
IsFreeEvent |
boolean |
Is Free Event |
☐ |
|
IsNumbered |
boolean |
Is Numbered |
☐ |
|
Name_1 |
string |
Name 1 |
☐ |
|
Name |
string |
Name |
☐ |
|
OnlineReservationAllowed |
boolean |
Online Reservation Allowed |
☐ |
|
Promoter |
string |
Promoter |
☐ |
|
PromoterId |
int32 |
Promoter ID |
☐ |
|
Reserved |
int32 |
Reserved |
☐ |
|
ReservedTickets |
int32 |
Reserved Tickets |
☐ |
|
SaleStatusId |
int32 |
Sale Status ID |
☐ |
|
Season |
string |
Season |
☐ |
|
SeasonId |
int32 |
Season ID |
☐ |
|
Seats |
int32 |
Seats |
☐ |
|
Sold |
int32 |
Sold |
☐ |
|
SoldTickets |
int32 |
Sold Tickets |
☐ |
|
StartDate |
datetime |
Start Date |
☐ |
|
StartDateUTCUnix |
int64 |
|
☐ |
|
SubTitle |
string |
Subtitle |
☐ |
|
Vat |
double |
VAT |
☐ |
|
Venue |
string |
Venue |
☐ |
|
VenueId |
int32 |
Venue ID |
☐ |
|
22-12-2022 21:15 Version 22.1.101-BETA+3681