Versions Compared

Key

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

File format for Season Tickets

The generic file format is described in Generic file format (Extended). This documents describes all available import fields.

Season tickets need There are many different possible configurations for season tickets. Not all of them are available for season tickets imports.

The data to be imported needs to be described on two files

  1. The first file describes the season ticket itself.
  2. The optional second file describes each performance included in each season ticket.

 

 

Fixed list of performances

Fixed Price

Variable list of performances

Fixed price

Variable list of performances

Calculated price

Pricing informationIn the first fileIn the first fileIn the second file
Seat   

 

File format for Season Tickets

 

Seat category code is null when operation type = 'SALE' and price = 0 = ''
Field codeField typeMandatoryDescription
INSTITUTIONText 15YesInstitution code owning the data to be imported.
ORGANIZATIONText 15YesOrganization code owning the data to be imported.
ORDER_NRNumberYesOrder number.
ORDER_DATEDateYesOrder date.
OPERATION_TYPEText 70Yes

Operation type.

Possible values: SALE or RESERVATION

REMARKText Order remark
ST_NUMBERNumberYesInstance number of season ticket.
SEASONCodeYesSeason code of the organization that need to be imported.
ST_CODECodeYesProduct code of season ticket.
COMMON_SEAT_NRSeatNumber Seat number if the ticket holder is seated at the same place for all performances included in the season ticket
COMMON_CONTCode Common contingent.
BUYING_CONTACT_NRNumberYesBuying contact number.
CULTURAL_CONTACT_NRNumber 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.
SEATCAT_CODEST_NUMBERNumberYesSeason ticket number
SEASONCodeYesSeason code of the season ticket.
TARIFFST_CODECodeYesTarif Product code of season ticket.
PRICE_LEVELCodeYesPrice level (Not yet used).
SEAT_NUMBERSeatNumber Seat number if the ticket holder is seated at the same place for all performances included in the season ticket
CONTINGENTCode Common contingent.
SEATCAT_CODECodeYesSeat category code.
TARIFFCodeYesTarif code.
PRICEAmountYesPrice of season ticket.
VATPercentageYes

Vat rate in percent. 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 

Payment date

must be empty if price is 0 or operation type

is RESERVATION

.

TICKET_STATEEnumYes

Ticket state.

Allowed values: NOT_PRINTED, PRINTED or CONTROLLED

GENERATION_DATETimestamp 

Generation date

Mandatory where when the ticket state is PRINTED or CONTROLLED

BARCODEText 50 

Bar code of the season ticket.

TAX_NUMBERText 50 

The tax number of the season ticket.

SHIPMENT_DATEDate 

Shipment date of the season ticket.

Default value: Order date.

SHIPMENT_MODEText 50 

Shipment mode of the season ticket.

Allowed values: TBD

Mandatory where when the ticket state is PRINTED or CONTROLLED

...

Each row describes one performance included in a season ticket. The rows are linked to the first file using INSTITUTION and ST_NUMBER.

Field codeField typeMandatoryDescription
INSTITUTIONText 15Yes

Institution code owning the data to be imported.

ORGANIZATIONText 15YesOrganization code owning the data to be imported.
ST_NUMBERText 20YesInstance number of season ticket.
SEASON_CODECodeYesSeason code of the event
EVENT_CODECodeYesThe event code
STARTTIMETimestampYesThe performance start time of the event
SEAT_NUMBERSeatNumberYes 
CONTINGENTCode Contingent code
SEATCAT_CODECodeYesSeat category code
TARIFFCodeYesTarif code
PRICEAmountYesPrice of the seat
VATPercentageYes

Vat rate in percent. 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 Payment date must be empty if price is 0 or operation type is RESERVATION.
TICKET_STATECodeYes

Ticket state.

Allowed values: NOT_PRINTED, PRINTED or CONTROLLED

GENERATION_DATETimestamp 

Generation date.

Mandatory

where

when the ticket state is PRINTED or CONTROLLED

BARCODEText 50 

Bar code of the ticket. (Not yet used).

Default now is 'IMP-' + ticket id.

FISCAL_NR

.

TAX_NUMBERText 50 

The fiscal tax number of the ticket.(Not yet used).Default now is 'IMP-' + ticket id.

SHIPMENT_DATEDate 

Shipment date.

If not input: Shipment date =

Default value: Order date.

SHIPMENT_MODEText 50 

Shipment

date is null when ticket state = 'NOT_PRINTED'.

mode.

Allowed values:

Mandatory when the ticket state is PRINTED or CONTROLLED