Page tree

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

Compare with Current View Page History

« Previous Version 18 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.

Order info

Field codeField typeMandatoryDescription
INSTITText 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

Field codeField typeMandatoryDescription
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

Field codeField typeMandatoryDescription
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

Field codeField typeMandatoryDescription
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 and shipment info

Field codeField typeMandatoryDescription
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_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_NRText 20YesInstance number of season ticket.
SEASON_CODEText 15YesSeason code of the organization that need to be imported.
EVENT_CODEText 20YesThe event code of the season ticket line.
STARTTIMETimestampYesThe performance start time of the event of the season ticket line.
SEAT_NUMBERSeatNumberYes 
CONTINGENTText 100 Contingent code
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_DATEDate Shipment date. If not input: Shipment date = Order date.
SHIPMENT_MODEText 50 Shipment date is null when ticket state = 'NOT_PRINTED'.
  • No labels