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 18 Next »

File format for memberships

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

Examples

  File Modified
No files shared here yet.

Fields

Field codeField typeMandatoryDescription
INSTITUTIONText 15Yes

Institution code owning the data to be imported.

ORGANIZATIONText 15Yes

Organization code owning the data to be imported.

By default, the organization code is the same as the institution code.

ORDER_NRNumberNo

Order number.

Will be set by import package while importing if left empty.

SALE_DATETimestampYes

Date of the sale.

By default, sale date is importing date.

OPERATION_TYPEText 50Yes

Operation type.

Allowed values: SALE or RESERVATION

REMARKTextNoOrder remark.
CONTACT_NRText 15YesThe contact number of contact that owner the membership card.
FIRST_NAMEText 50NoBeneficiary first name. Set this info only for sold membership cards.
LAST_NAMEText 50NoBeneficiary last name. Set this info only for sold membership cards.
MEMBER_NRNumberYesThe membership number of contact. This number allows another member to buy ticket on behalf of this member.
SEASONCodeYesSeason code of the membership product.
MEMBERSHIPCodeYesThe product code of the membership that is to be imported.
TARIFFCodeYes

The tariff code linked to the season that match one of these conditions :

  1. Main category = 'OCCASIONAL' and secondary category = 'INDIVIDUAL'
  2. Main category = 'INVITED'.
VALIDITY_BEGINDateYesBeginning of the membership.
VALIDITY_ENDDateYesEnd of the membership.
PRICEAmountYesPrice of season ticket * 100.
CHARGEAmountNo

Charge of ticket * 100

Not used yet.

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_DATEDateYes if SALEMandatory when the operation type is SALE and price is not 0.
TICKET_STATEEnumYes if SALE

The state of ticket.

Mandatory when the operation type is SALE.

Allowed values: NOT_PRINTED or PRINTED.

GENERATION_DATETimestampYes if PRINTED

Generation date.

Mandatory when the ticket state is PRINTED.

BARCODEText 100Yes if PRINTED

The bar code of ticket. Ex: Input = 345678920

TAX_NRText 30Yes if PRINTEDThe tax number of the ticket. If not inserted, the tax number will be generated with prefix equal to "IMP-".

File format for memberships

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

Examples

  File Modified
No files shared here yet.

Fields

Field codeField typeMandatoryDescription
INSTITUTIONText 15Yes

Institution code owning the data to be imported.

ORGANIZATIONText 15No

Organization code owning the data to be imported.

By default, the organization code is the same as the institution code.

CONTACT_NRText 15YesThe contact number of contact that owner the membership card.
MEMBER_NRNumberYesThe membership number of contact. This number allows another member to buy ticket on behalf of this member.
ORDER_NRNumberYesOrder number.
OPERATION_TYPEText 50Yes

Operation type.

Possible values: SALE or RESERVATION

SEASONCodeYesSeason code.
MEMBERSHIPCodeYesThe product code of the MEMBERSHIP that is to be imported.
TARIFFCodeYes

The tariff code linked to the season that match one of these conditions :

  1. Main category = 'OCCASIONAL' and secondary category = 'INDIVIDUAL'
  2. Main category = 'INVITED'.
SALE_DATETimestampYesDate of the sale.
VALIDITY_BEGINDateYesBeginning of the membership.
VALIDITY_ENDDateYesEnd of the membership.
PRICEAmountYesThe gross amount of order of the inserted membership.
CHARGESAmountNoNot used yet.
VATPercentageYes

Vat rate in percent. Choose the rate that active and valid following this:

Valid from date of vat rate <= VALIDITY_BEGIN <= Valid to date of vat rate.

TICKET_STATEEnumYesThe state of ticket must be in ('PRINTED', 'NOT_PRINTED').
GENERATION_DATETimestampYes if PRINTEDIf the ticket state equal to 'PRINTED' the generation date must not null.
TAX_NRText 30Yes if PRINTEDThe tax number of the ticket. If not inserted, the tax number will be generated with prefix equal to "IMP-".
BARCODEText 100Yes if PRINTED

The bar code of ticket. Ex: Input = 345678920

  • No labels