Page tree

Versions Compared

Key

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

...

  • The first file describes the season ticket itself.
  • The second file describes each performance included in each season ticket.

...

 

Field codeField typeMandatoryDescription
INSTITINSTITUTIONText 15YesInstitution code owning the data to be imported.
ORGANIZATIONText 15YesOrganization code owning the data to be imported.
ORDER_NRText 50NumberYesOrder number.
ORDER_DATEDateYesOrder date.
OPERATION_TYPEText 70Yes

Operation type

in ('SALE','RESERVATION').

.

Possible values: SALE or RESERVATION

REMARKText Order remark

Season ticket info

Text 20_CODESTICKET_Text 50.Text 100
ST_NUMBERNumber
Field codeField typeMandatoryDescription
S_TICKET_NRYesInstance number of season ticket.
SEASONText 15CodeYesSeason 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.

Contact info

Field type
Field codeMandatoryDescription
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.

 

...

Text 15
Field codeField typeMandatoryDescription
SEATCAT_CODECodeYesSeat category code.
TARIFFCodeTARIF_CODEText 15YesTarif code.
PRICE_LEVELText 15CodeYesPrice level (Not yet used).
PRICEAmountYesPrice of season ticket.
VATNumberPercentageYes

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

Description If not input: Shipment date = date is null when ticket state = 'NOT_PRINTED'.
Field codeField typeMandatory

TICKET_STATEText 50EnumYes

Ticket state

in ('

.

Allowed values: NOT_PRINTED

'

,

'

PRINTED

','CONTROLLED').

or CONTROLLED

GENERATION_DATETimestamp 

Generation date

is null when

Mandatory where ticket state

= 'NOT_PRINTED'.

is PRINTED or CONTROLLED

BARCODEText 50 

Bar code of the ticket. (Not yet used).Default now is 'IMP-' + ticket id.

FISCALTAX_NRNUMBERText 50 

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

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
INSTITINSTITUTIONText 15Yes

Institution code owning the data to be imported.

ORGANIZATIONText 15YesOrganization code owning the data to be imported.
SST_TICKET_NRNUMBERText 20YesInstance number of season ticket.
SEASON_CODEText 15CodeYesSeason code of the organization that need to be imported.event
EVENT_CODEText 20CodeYesThe event code of the season ticket line.
STARTTIMETimestampYesThe performance start time of the event of the season ticket line.
SEAT_NUMBERSeatNumberYes 
CONTINGENTText 100Code Contingent code
TICKET_STATEText 50CodeYes

Ticket state

in ('

.

Allowed values: NOT_PRINTED

'

,

'

PRINTED

','CONTROLLED').

or CONTROLLED

GENERATION_DATETimestamp 

Generation date

is null when

Mandatory where ticket state = 'NOT_PRINTED'.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'.