Page tree

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

Compare with Current View Page History

« Previous Version 13 Next »

File format for Pass Visits

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

Examples

Visitpass Group Example 1.xlsx


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.

ORDER_IDNumberNo

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.
CONTACT_NRNumberYesBuying contact number.
HOLDER_CONTACT_NRNumberNo

If not filled in, the purchase contact is used.

For a group visit, the contact must be of type RELAY.

FIRST_NAMEText 50NoBeneficiary first name. Set this info only for sold visits.
LAST_NAMEText 50NoBeneficiary last name. Set this info only for sold visits.
SEASON_CODECodeYesSeason code of visit pass.
VISIT_CODECodeYesProduct code of visit pass.
START_TIMETimestampYesStart time of the visit.
DURATIONNumberYesDuration of the visit in seconds.
CONTINGENTCodeNoContingent code.
TARIFFCodeYesTariff code.
PRICEAmountYes

Price of visit * 100.

If flat rate, full price of the visit.

If individual rate, unit price per participant.

CHARGEAmountNo

Charge of 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_DATETimestampYes 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.

BARCODETextYes if PRINTED or CONTROLLEDBar code of the visit. Mandatory if the ticket has been printed or controlled.
TAX_NUMBERTextYes if PRINTED or CONTROLLEDThe tax number of the visit. Mandatory if the ticket has been printed or controlled.
SHIPMENT_DATETimestampYes if SHIPMENT_MODE=SENT

Shipment date of the visit.

Default value: Order date.

SHIPMENT_MODECodeYes if PRINTED or CONTROLLED

Shipment mode of the season ticket.

Allowed values: SENT, SENT EMAIL, BOXOFFICE, CONTROL.

Mandatory if the ticket has been printed or controlled.

GROUP_NAMEText

Yes if group visits

Name of the group.

Leave empty for individual visits.

GROUP_KINDCode

Yes if group visits

Group kind.

Leave empty for individual visits.

THEMECodeNo

Theme of the visit

(only useful for guided visits)

LANGUAGECodeNo

ISO Language code of the visit (fr, en, ...)

(only useful for guided visits)

VISITOR_TYPEEnumYes

Type of visitor.

Allowed values: PARTICIPANT or ACCOMPANIER.

NB_VISITORSNumberYes

Number of visitors.

Must be > 0.

PLACEText50No
GUIDEText50NoLast name and First name of the guide.
GROUP_CRIT_ELEMENTCodeNoGroup criterion element code.
  • No labels