Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

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

 

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_CODECodeYesSeat category code.
TARIFFCodeYesTarif code.
PRICE_LEVELCodeYesPrice level (Not yet used).
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 is null when operation type = 'SALE' and price = 0

or operation type = 'RESERVATION'.

TICKET_STATEEnumYes

Ticket state.

Allowed values: NOT_PRINTED, PRINTED or CONTROLLED

GENERATION_DATETimestamp 

Generation date

Mandatory where ticket state is PRINTED or CONTROLLED

BARCODEText 50 

Bar code of the ticket.

TAX_NUMBERText 50 

The tax number of the ticket.

SHIPMENT_DATEDate 

Shipment date.

Default value: Order date.

SHIPMENT_MODEText 50 

Shipment mode.

Allowed values:

Mandatory where ticket state is PRINTED or CONTROLLED

 

File format for Season Ticket Lines

Each row describes one performance included in a season ticket.

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
TICKET_STATECodeYes

Ticket state.

Allowed values: NOT_PRINTED, PRINTED or CONTROLLED

GENERATION_DATETimestamp 

Generation date

Mandatory where ticket state is PRINTED or CONTROLLED
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