Page tree

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

Compare with Current View Page History

« Previous Version 14 Next »

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 to be described on two files

  • The first file describes the season ticket itself.
  • The second file describes each performance included in each season ticket. This file is only needed when the list of performances if not

Season Ticket

Each row describes one season ticket

 Field codeField typeMandatoryDescription
ORDER INFOINSTITText 15YesInstitution code owning the data to be imported.
ORGANIZATIONText 15YesOrganization code owning the data to be imported.
ORDER_NRText 50YesOrder number.
ORDER_DATEDateYesOrder date.
OPERATION_TYPEText 70YesOperation type in ('SALE','RESERVATION').
REMARKText Order remark

SEASON TICKET

INFO




S_TICKET_NRText 20YesInstance number of season ticket.
SEASON_CODEText 15YesSeason code of the organization that need to be imported.
S_TICKET_CODEText 50YesProduct code of season ticket.
COMMON_SEAT_NRSeatNumber Seat number.
COMMON_CONTText 100 Common contingent.
CONTACT INFO



BUYING_CONTACT_NRNumberYesBuying contact number.
CULTURAL_CONTACT_NRNumber Cultural contact number.
FIRST_NAMEText 50 Beneficiary first name.
LAST_NAMEText 50 Beneficiary last name.
PRICE INFO




SEATCAT_CODEText 15YesSeat category code.
TARIF_CODEText 15YesTarif code.
PRICE_LEVELText 15YesPrice level (Not yet used).
PRICEAmountYesPrice of season ticket.
VATNumberYes

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 is null when operation type = 'SALE' and price = 0

or operation type = 'RESERVATION'.

TICKET INFO



TICKET_STATEText 50YesTicket state in ('NOT_PRINTED','PRINTED','CONTROLLED').
GENERATION_DATETimestamp Generation date is null when ticket state = 'NOT_PRINTED'.
BARCODEText 50 

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

Default now is 'IMP-' + ticket id.

FISCAL_NRText 50 

The fiscal number of the ticket.(Not yet used).

Default now is 'IMP-' + ticket id.

SHIPMENT INFO

SHIPMENT_DATEDate Shipment date. If not input: Shipment date = Order date.
SHIPMENT_MODEText 50 Shipment date is null when ticket state = 'NOT_PRINTED'.

 

Season Ticket Line

Each row describes one performance included in a season ticket.

Field codeField typeMandatoryDescription
INSTITText 15Yes

Institution code owning the data to be imported.

ORGANIZATIONText 15YesOrganization code owning the data to be imported.
S_TICKET_NR   
SEASON_CODE   
EVENT_CODE   
STARTTIME   
SEAT_NUMBER   
CONTINGENT   
TICKET_STATE   
GENERATION_DATE   
BARCODE   
FISCAL_NR   
SHIPMENT_DATE   
SHIPMENT_MODE   
  • No labels