File format for Non-dated Pass
The gGeneric file format (Extended). This documents describes all available import fields for Non-dated Pass.
Examples
...
Note |
---|
|
Examples
Attachments |
---|
Global fields
Field Code | Field Type | Mandatory | Description |
---|---|---|---|
INSTITUTION |
Code | Yes | Institution code |
owning the data to be imported. | |||
ORGANIZATION | Code | No | Organization code owning the data to be imported. |
ORDER_NR | Number |
No | If leave it empty, order number will be set while importing by default. | |
ORDER_DATE | Date | No |
Buying date. |
OPERATION_TYPE |
Enum | Yes |
Possible
Allowed values: SALE or RESERVATION |
. | |||
CONFIRMATION_DATE | Date | No | Expiration date to confirm reservation. |
REMARK | Text 2000 | No | Internal remark of order. |
BUYING_CONTACT_NR | Number |
No |
Contact number who buys the order. | |||
ORIGIN_COUNTRY | Text 50 | No | Country of buying contact (only if buying contact is not specified). |
ORIGIN_REGION | Text 50 | No | Region of buying contact (only if buying contact is not specified). |
ORIGIN_ZIPCODE | Text 50 | No | Zip code of buying contact (only if buying contact is not specified). |
SEASON | Code | Yes | Season code of |
non |
dated pass. |
OPEN_ |
PASS | Code | Yes | Product code of |
non |
dated pass. | |||
VALIDITY_BEGIN | Timestamp | Yes | The date starts to validate. |
VALIDITY_ |
END |
Timestamp |
Yes | The date stops to validate. | ||
TARIFF | Code | Yes | Tariff code. |
CONTINGE | Code | No | Contingent code. |
PRICE | Amount | Yes | Price |
of ticket * 100 (so that 25$ = 2500). | |||
CHARGE | Amount | No | Charge of ticket * 100 (so that 1$ = 100). |
VAT | Percentage |
No | If leave it empty, it will be 0 while importing by default. |
There must be an active vat rate to link to in the configuration.
Additionally, the ORDER_DATE for the non-dated pass must be inside the validity dates configured for this vat rate.
Possible values: blank (ie: no value),
* 100 (so that 1% = 100). | |||
PAYMENT_DATE | Date | No | If leave it empty, the operation type is SALE and the price is not 0, the order date will be used by default. Means it can be imported date if the order date is not given. |
OPEN_PASS_NR | Number | No | Each non dated pass has a unique number to know how many non dated passess have been published. |
CULTURAL_CONTACT_NR | Number | No | Contact number who is ticket holder. |
BENEFICIARY_FIRSTNAME | Text 50 | No | Beneficiary first name (only if cultural contact is not specified). |
BENEFICIARY_LASTNAME | Text 50 | No | Beneficiary last name (only if cultural contact is not specified). |
TICKET_STATE | Enum | Yes if SALE | Mandatory when the operation type is SALE. |
GENERATION_DATE |
Date |
No | If leave it empty and the ticket has been printed or controlled, the order date will be used by default. Means it can be imported date |
BARCODE | Text 50 |
No | If leave it empty and the ticket has been printed or controlled, it will be generated following import rules by default. |
TAX_NUMBER | Text 50 |
No | If |
leave it empty and the ticket has been printed or controlled, it will be generated follo. | |
SHIPMENT_DATE | Date |
Shipment date.
If SHIPMENT_DATE is blank (ie: no value), then the SHIPMENT_DATE will be set with the ORDER_DATE.
No | If leave it empty, the order date will be used by default. Means it can be imported date if the order date is not given. | ||
SHIPMENT_MODE | Code | No | If leave it empty and the ticket has been printed or controlled, it will be imported following import rules by default. |