Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

File format for Season Tickets

 


Buying contact numberCULTURALCONTACT_NRNumberST_NUMBER the STCODESEAT_NUMBERSeatNumberSeat number if the ticket holder is seated at the same place for all performances included in the season ticket Common contingentSEATCATCODETARIFFCodeTarif codePRICEYesPrice season ticketYes ORDERPayment date must be empty if price is 0 or operation type is RESERVATIONTicket state or
Field codeField typeMandatoryDescription
INSTITUTIONText 15CodeYesInstitution code owning the data to be imported.
ORGANIZATIONText 15CodeYesNoOrganization code owning the data to be imported.
By defaultIf leave it empty, the organization code is the same as the institution code will be used.
ORDER_NRNumberYesOrder numberNoIf leave it empty, order number will be set while importing by default.
One line is one ticket. So each line is a unique order number if leave it empty.
Many tickets can be in an order if leave them the same order number. This number can be started from 1 in a new data file. Then it will be given new one while importing.
This will be file number also.
ORDER_DATEDateYesOrder dateNoBuying date.
If leave it empty, it will be imported date by default.
OPERATION_TYPEText 70EnumYes

Operation type.

Possible Allowed values: SALE or RESERVATION
REMARKText Order remark
BUYING_CONTACT_NRNumberYes.
CONFIRMATION_DATEDate Cultural contact number. By default it is identical to the buying contact number.
FIRST_NAMEText 50 Beneficiary first name.
LAST_NAMEText 50 Beneficiary last name.
NoExpiration date to confirm reservation.
REMARKText 2000NoInternal remark of order.
BUYING_CONTACT_NRNumberYesSeason ticket numberContact number who buys the order. Mandatory because a sstk needs a contact.
SEASONCodeYesSeason code of season ticket.
SEASON_TICKETCodeYesProduct code of season ticket.
PRICE_LEVELCode NoPrice level code.
TARIFFCode YesTariff code.
CONTINGENTCodeNoContingent code.
SEAT_CATEGORYCodeYesSeat category code.
PRICEAmountYesPrice of ticket * 100 (so that 25$ = 2500).
CHARGEAmountNoCharge of ticket * 100 (so that 1$ = 100).
VATPercentageNoIf leave it empty, it will be 0 while importing by default.
Vat rate in percent * 100 (so that 1% = 100).
Choose the rate that active and valid following this:
Valid from date of vat rate <=
ORDER_DATE <= Valid to date of vat rate.
PAYMENT_DATEDate NoIf leave it empty, the operation type is SALE and the price is not 0, the order date will be used by default. Means it can be imported date if the order date is not given.
SEASON_TICKET_NRNumberNoEach season ticket has a unique number to know how many season tickets have been published.
In importation, it helps to define ticket to check between data excel file and database system after importing.
This number can be started from 1 in a new data file. Then it will be given new one while importing.
SEAT_NUMBERSeatNumberYesSeat number if the ticket holder is seated at the same place for all performances included in the season ticket.
CULTURAL_CONTACT_NRNumberNoContact number who is ticket holder.
If leave it empty and first/last name are empty, the buying contact number will be used by default.
BENEFICIARY_FIRSTNAMEText 50NoBeneficiary first name (only if cultural contact is not specified).
BENEFICIARY_LASTNAMEText 50NoBeneficiary last name (only if cultural contact is not specified).
TICKET_STATEEnumYes if SALEMandatory when the operation type is SALE.
Allowed values: NOT_PRINTED, PRINTED
, CONTROLLED.
GENERATION_DATETimestampDate 

Generation date

Mandatory when the ticket state is PRINTED or CONTROLLEDNo
If leave it empty and the ticket has been printed or controlled, the order date will be used by default. Means it can be imported date if the order date is not given.
BARCODEText 50 Bar code of the season ticketNoIf leave it empty and the ticket has been printed or controlled, it will be generated following import rules by default.
TAX_NUMBERText 50 The tax number of the season ticketNoIf leave it empty and the ticket has been printed or controlled, it will be generated following import rules by default.
SHIPMENT_DATEDate 

Shipment date of the season ticket.

Default value: Order dateNo
If leave it empty, the order date will be used by default. Means it can be imported date if the order date is not given.
SHIPMENT_MODEText 50Code 

Shipment mode of the season ticket.

Allowed values: TBD

Mandatory when the ticket state is PRINTED or CONTROLLED

 

NoIf leave it empty and the ticket has been printed or controlled, it will be imported following import rules by default.


File format for Season Ticket Lines

...

SeatNumber  SEATCATCODETARIFFCodePRICEYesPrice of the seatYes ORDERPayment date must be empty if price is 0 or operation type is RESERVATION

Shipment date.

Default value: Order dateText 50

Shipment mode.

Allowed values:

Mandatory when the ticket state is PRINTED or CONTROLLED
Field codeField typeMandatoryDescription
INSTITUTIONText 15CodeYesInstitution code owning the data to be imported.
ORGANIZATIONText 15CodeYesNoOrganization code owning the data to be imported.
If leave it empty, the institution code will be used.
STSEASON_TICKET_NUMBERNRText 20NumberYesInstance number of season ticket.
If several season tickets in one order, they should all have different number so that SecuTix will acknowledge them as different season ticket product
SEASON_CODEEach season ticket has a unique number to know how many season tickets have been published.
This is also used to link season ticket with season ticket lines.
This number can be started from 1 in a new data file. Then it will be given new one while importing.
SEASONCodeYesSeason code of the eventsingle entry (event/competition).
EVENT_CODECodeYesThe event codeSTARTTIMEProduct code of single entry (event/competition).
START_TIMETimestampYesThe performance start Start date time of the eventSEAT_NUMBERperformance.
TARIFFCodeYesTariff code.
CONTINGENTCodeNoContingent code.
SEAT_CATEGORYCodeYesSeat category code.
PRICEAmountYesTarif codePrice of ticket * 100 (so that 25$ = 2500).
CHARGEAmountNoCharge of ticket * 100 (so that 1$ = 100).
VATPercentageNoIf leave it empty, it will be 0 while importing by default.
Vat rate in percent * 100 (so that 1% = 100).
Choose the rate that active and valid following this:
Valid from date of vat rate <=
ORDER_DATE <= Valid to date of vat rate.
PAYMENT_DATEDate NoIf leave it empty, the operation type is SALE and the price is not 0, the order date will be used by default. Means it can be imported date if the order date is not given.
SEAT_NUMBERSeatNumberYesSeat number for each performance in the season ticket.
BENEFICIARY_FIRSTNAMEText 50NoBeneficiary first name (only if cultural contact is not specified).
BENEFICIARY_LASTNAMEText 50NoBeneficiary last name (only if cultural contact is not specified).
TICKET_STATECodeEnumYes Ticket stateif SALEMandatory when the operation type is SALE.
Allowed values: NOT_PRINTED, PRINTED or , CONTROLLED.
GENERATION_DATETimestampDate 

Generation date.

Mandatory when the ticket state is PRINTED or CONTROLLEDNo
If leave it empty and the ticket has been printed or controlled, the order date will be used by default. Means it can be imported date if the order date is not given.
BARCODEText 50 Bar code of the ticketNoIf leave it empty and the ticket has been printed or controlled, it will be generated following import rules by default.
TAX_NUMBERText 50 The tax number of the ticketNoIf leave it empty and the ticket has been printed or controlled, it will be generated following import rules by default.
SHIPMENT_DATEDate NoIf leave it empty, the order date will be used by default. Means it can be imported date if the order date is not given.
SHIPMENT_MODECode NoIf leave it empty and the ticket has been printed or controlled, it will be imported following import rules by default.