Page tree

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 42 Next »

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

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

  • For fixed prices imports, the pricing information must be given in the first part (red part).
  • For calculated pricing, the pricing information must be given in the second file (yellow part) and will remain empty in the first file.

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.

Examples

No files shared here yet.

File format for Season Tickets


Field codeField typeMandatoryDescription
INSTITUTIONCodeYesInstitution code owning the data to be imported.
ORGANIZATIONCodeYes

Organization code owning the data to be imported.

By default, the organization code is the same as the institution code.

ORDER_NRNumberNo

Order number.

Will be set by import package while importing if left empty.

ORDER_DATEDateYes

Order date.

By default, order date is importing date.

OPERATION_TYPEEnumYes

Operation type.

Allowed values: SALE or RESERVATION.

REMARKTextNoOrder remark.
BUYING_CONTACT_NRNumberYesBuying contact number.
CULTURAL_CONTACT_NRNumberNo

Cultural contact number.

By default it is identical to the buying contact number.

FIRST_NAMEText 50NoBeneficiary first name. Set this info only for sold tickets.
LAST_NAMEText 50NoBeneficiary last name. Set this info only for sold tickets.
ST_NUMBERNumberYes

Season ticket number is a unique number for each ticket.

Mandatory when calculated price because this number will be used to map data in the sheet for season ticket lines.

It can be started from 1.

SEASONCodeYesSeason code of season ticket.
ST_CODECodeYesProduct code of season ticket.
PRICE_LEVELCodeNoPrice level.
SEAT_NUMBERSeatNumberYes if fixed price

Seat number if the ticket holder is seated at the same place for all performances included in the season ticket.

Mandatory when SSTK is fixed price.

CONTINGENTCodeNoContingent code.
SEATCAT_CODECodeYesSeat category code.
TARIFFCodeYesTarif code.
PRICEAmountYesPrice of season ticket * 100.
VATPercentageYes

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_DATEDateYes if SALE

Mandatory when the operation type is SALE and price is not 0.

Default value: Order date.

TICKET_STATEEnumYes if SALE

The state of ticket.

Mandatory when the operation type is SALE.

Allowed values: NOT_PRINTED, PRINTED or CONTROLLED.

GENERATION_DATETimestampYes if PRINTED or CONTROLLED

Generation date.

Mandatory if the ticket has been printed or controlled.

Default value: Order date.

BARCODEText 50Yes if PRINTED or CONTROLLED

Bar code of the season ticket. Mandatory if the ticket has been printed or controlled.

TAX_NUMBERText 50Yes if PRINTED or CONTROLLED

The tax number of the season ticket. Mandatory if the ticket has been printed or controlled.

SHIPMENT_DATEDateYes

Shipment date of the season ticket.

Default value: Order date.

SHIPMENT_MODECodeYes if PRINTED or CONTROLLED

Shipment mode of the season ticket.

Allowed values: TBD.

Mandatory if the ticket has been printed or controlled.


File format for Season Ticket Lines

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
INSTITUTIONCodeYes

Institution code owning the data to be imported.

ORGANIZATIONCodeYes

Organization code owning the data to be imported.

By default, the organization code is the same as the institution code.

ST_NUMBERNumberYes

Season ticket number which is defined in the sheet for season ticket.

SEASONCodeYesSeason code of event/competition.
ST_CODECodeYesProduct code of season ticket.
EVENT_CODECodeYesProduct code of event/competition in the season ticket.
START_TIMETimestampYesThe performance start time of the event or the match start time of the competition.
SEAT_NUMBERSeatNumberYes

Seat number for each performance in the season ticket.

Mandatory when season ticket is calculated price.

CONTINGENTCodeNoContingent code.
SEATCAT_CODECodeYesSeat category code.
TARIFFCodeYesTarif code.
PRICEAmountYesPrice of the seat * 100.
VATPercentageYes

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_DATEDateYes if SALE

Mandatory when the operation type is SALE and price is not 0.

Default value: Order date.

TICKET_STATEEnumYes if SALE

The state of ticket.

Mandatory when the operation type is SALE.

Allowed values: NOT_PRINTED, PRINTED or CONTROLLED.

GENERATION_DATETimestampYes if PRINTED or CONTROLLED

Generation date.

Mandatory if the ticket has been printed or controlled.

Default value: Order date.

BARCODEText 50Yes if PRINTED or CONTROLLED

Bar code of the ticket. Mandatory if the ticket has been printed or controlled.

TAX_NUMBERText 50Yes if PRINTED or CONTROLLED

The tax number of the ticket. Mandatory if the ticket has been printed or controlled.

SHIPMENT_DATEDateYes

Shipment date of the ticket.

Default value: Order date.

SHIPMENT_MODECodeYes if PRINTED or CONTROLLED

Shipment mode of the ticket.

Allowed values: TBD.

Mandatory if the ticket has been printed or controlled.

  • No labels