Beruflich Dokumente
Kultur Dokumente
Spain
Copyright 2006 Hotelbeds Accommodation & Destination Services No Part of this document may be reproduced in any way without the prior agreement and written permission of the Hotelbeds ADS
1 2
2.1 2.2 2.3 2.4
3
3.1 3.2 3.3
4
4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 4.9 4.10
DIAGRAMS ......................................................................................................................... 9
Diagram 1 .......................................................................................................................................... 9 Diagram 2 .......................................................................................................................................... 9 Diagram 3 ........................................................................................................................................ 10 Diagram 4 ........................................................................................................................................ 10 Diagram 5 ........................................................................................................................................ 10 Diagram 6 ........................................................................................................................................ 11 Diagram 7 ........................................................................................................................................ 12 Diagram 8 ........................................................................................................................................ 12 Diagram 9 ........................................................................................................................................ 12 Diagram 10................................................................................................................................... 13
5
5.1 5.2 5.3 5.4 5.5 5.6 5.7 5.8 5.9 5.10 5.11 5.12 5.13 5.14 5.15 5.16 5.17 5.18 5.19 5.20 5.21 5.22 5.23 5.24 5.25 5.26 5.27 5.28 5.29 5.30 5.31
5.32 5.33 5.34 5.35 5.36 5.37 5.38 5.39 5.40 5.41 5.42 5.43 5.44 5.45 5.46
Countries ...................................................................................................................................... 36 Country names (CountryIDs table) .............................................................................................. 36 Car destinations ........................................................................................................................... 37 Hotel destinations......................................................................................................................... 37 Ticket destinations ....................................................................................................................... 38 Terminal transfer zones ............................................................................................................... 38 Transfer zones ............................................................................................................................. 39 Transfer zone descriptions........................................................................................................... 40 Characteristics ............................................................................................................................. 40 Characteristic descriptions ........................................................................................................... 41 Zone Groups descriptions ............................................................................................................ 41 Hotel Transfer Zones ................................................................................................................... 42 Transfer Zones Postal Codes ...................................................................................................... 42 Tickets Classification.................................................................................................................... 43 Tickets Classification Description ................................................................................................ 43
6
6.1 6.2 6.3 6.4 6.5 6.6 6.7 6.8 6.9 6.10 6.11 6.12 6.13 6.14 6.15 6.16 6.17 6.18 6.19 6.20 6.21 6.22 6.23 6.24 6.25 6.26 6.27 6.28 6.29 6.30 6.31 6.32 6.33 6.34 6.35 6.36 6.37 6.38 6.39 6.40 6.41
FILES UPDATES............................................................................................................... 44
Categories ....................................................................................................................................... 46 Image types ..................................................................................................................................... 46 Image descriptions........................................................................................................................... 46 Zones ............................................................................................................................................... 47 Chains.............................................................................................................................................. 48 Facility groups.................................................................................................................................. 48 Facility typologies ............................................................................................................................ 48 Facility types .................................................................................................................................... 49 Hotel terminals................................................................................................................................. 50 Terminals ..................................................................................................................................... 50 Room types .................................................................................................................................. 51 Board types .................................................................................................................................. 51 Destinations ................................................................................................................................. 52 Countries ...................................................................................................................................... 52 Category descriptions .................................................................................................................. 53 Facility groups description ........................................................................................................... 53 Facility descriptions...................................................................................................................... 54 Room descriptions ....................................................................................................................... 55 Board descriptions ....................................................................................................................... 55 Destination names (DestinationIDs table).................................................................................... 56 Country names (CountryIDs table) .............................................................................................. 56 Zone Groups ................................................................................................................................ 57 Grouped Zones ............................................................................................................................ 57 Hotels ........................................................................................................................................... 58 Hotel descriptions......................................................................................................................... 58 Hotel issues.................................................................................................................................. 59 Languages ................................................................................................................................... 59 Hotel images ................................................................................................................................ 60 Facilities ....................................................................................................................................... 60 Car destinations ........................................................................................................................... 61 Hotel destinations......................................................................................................................... 61 Ticket destinations ....................................................................................................................... 62 Zone Groups descriptions ............................................................................................................ 62 Characteristics ............................................................................................................................. 63 Characteristic descriptions ........................................................................................................... 63 Phones ......................................................................................................................................... 64 Phone Types ................................................................................................................................ 65 RegimByDest ............................................................................................................................... 65 CarDestinations............................................................................................................................ 66 Terminal Transfer Zone ............................................................................................................... 66 Transfer Zone Description ........................................................................................................... 67
Transfer Zone............................................................................................................................... 68 Hotel Transfer Zone ..................................................................................................................... 68 Transfer Zone Postal Code.......................................................................................................... 69 Tickets Classification.................................................................................................................... 69 Tickets Classification Description ................................................................................................ 70
1 Document control
In this section you can find a revision history of the document. Version
1.3.2
Issue
Pages
71
14/07/2009 - The column HotelHowToGetThere (from file HotelDescriptions) is not additional - Modified restriction from Longitude and Latitude fields from Hotels
1.3.1
19/08/2008
file. Value of these fields is now provided to Basic and Extended users. - Created file TicketsClassification. - Created file TicketsClassificationDescription. - Created Diagram 10 that shows the relation between TicketsClassification and TicketsClassificationDescription. - Fixed Linked Files from file Facilities.
63
1.3.0
20/05/2008
- Deleted file TransferDestinations. - Deleted file TransferDestinationsUpdates. - Fixed linked files from file TerminalTransferZone. - Fixed field Typologycode from files FacilityTypologies and
63
-4-
primary keys. - Fixed field Number from file Phones.csv. This field is not a primary key. - File Airports renamed to Terminals. - File HotelAirports renamed to HotelTerminals. - Fixed field IssueOrder from file HotelIssues. Field type is character. - Fixed field ZoneCode from ZoneByGroup file. Field type is character. - Fixed field DateTo from file HotelIssues. Value of Max size is 21. - Fixed field LanguageCode from file HotelIssues. Value of Max size is 3. - Fixed field Name from file FacilityGroupDescription. Value of Max size is 100. - Files of updates have been created. - File of updates description added. - The fields AirportCode and AirportName from Aiport files have been renamed to TerminalCode and TerminalName. - The Diagram 2 has been modified. Now there are two diferent diagrams: 2 (RoomTypes-RoomDescriptions) and 3 (RegimByDestBoards). 1.1.0 15/06/2007 - Descriptions of fields has been updated. - Created two new files: Zone Groups (ZoneGroup.csv) and Grouped Zones (ZoneByGroup). - Created new Diagram 5 that shows the relation between Zones and Zone Groups. -The integrity relationship has been certified on all files. -The column Active in the Countries file has been deleted. (Only the active countries will be generated) -The file FailityTypologyFilter has rename to FacilityTypology. -The HotelIssues has been modified, the columns add the primary key has changes. 1.0.2 23/05/2007 -The files StreetTypes and StreeTypeDescriptions has been deleted. -The file FacilityGroupsDescription has been created. -The file Contacts has been modified, the columns StreetTypeCode, Number and StreetName has been deleted and the column Address has been add. -The file FacilityGroups has been modified. -The Diagram 1 and Diagram 3 has been updated. - The RegimByDest definition has been updated. 1.0.1 1.0.0 01/05/2007 01/04/2007 File documentation improvements. First release of the Product update guide. 30 71 30 32
-5-
2 Introduction
This manual describes how to update the Hotelbeds Accommodation & Destination Services (from now on Hotelbeds) product using pipe (|) delimited files. The intended audience is the clients technical staff or the clients system integrator. Hotelbeds retains the right to make changes or improvements to the specification of the files in the future. Hotelbeds will inform the clients in advance. The client will be responsible for any action derived from those modifications in their system.
2.1
Major version: Indicates the version number of the pipe delimited files and documentation, if this version number changes probably a brand new development is needed. There will not be backwards compatibility. Minor version: Indicates minor changes in the pipe delimited files specification or in the documentation, such as: new files or changes in the existing files. A minor version change can be backwards compatible or not. If new pipe delimited files are added it will be backwards compatible, otherwise if there are changes, like changes in fields length of the existing files it will not be backwards compatible. Release: Indicates a new release of the pipe delimited files with minor changes like optional fields added to existing files, but it will always be backwards compatible. Note that to maintain backwards compatibility adding new fields to a file will always change the release version and they will be appended to the last field in the file.
2.2
You have a file for car product destinations, hotel product destinations, ticket product destinations and transfer product destinations. Every pipe delimited file contains all selected records from the system. There is no explicit remark for new records, or remarks for changes in pre-existing records.
2.3
maximum size, the field type, field description and linked file. Field Name Max Size Field Type Req? Description Linked File Additional Data
-6-
Max Size 3
Req?
Description
Yes
FieldName: Field name. Max Size: Maximum number of characters for this field. Field Type: Field type of data. Req?: If this field is required or not. Description: Description of the field. Note that when you find a PK between brackets at the description end it means that this field is part of a primary key. Linked file: Linked file to get additional or complementary data for this field. Additional data: Indicates if this field value is only provided when the Additional data has been contracted. Yes: The field value is only provided when it exists in the system and the Additional data has been contracted. No: The field value is always provided if it exists in the system.
2.4
done in two last months. All files of updates has got two same fields: UpdateType and Date. Field Name Max Size Field Type Req? Description From File Additional Data Example
FooName
Character
Yes
FooFile.csv
Yes/No
FooName
UpdateType
Character
Yes
D 13/04/2007 12:49:33
Date
50
Character
Yes
From file: Indicates the original product file that contains this information.
-7-
3 Technical information
3.1 Pipe delimited files
The pipe delimited file format is a delimited data format that has fields separated by the pipe (|) character and records separated by new lines.
3.2
must use the password provided for hotelbeds. In the FTP site, there is a folder called exportCSV, which contains one of these two compressed files, Basic.zip or Extended.zip . One or the other will appear depending on which type of user connects. These files are compressed in order to reduce downloading time.
3.3
Update policy
The contents info will be generated each Monday at 10.00 AM (GMT +1). There wont be any backup for the content files.
-8-
4 Diagrams
4.1 Diagram 1
This diagram shows the relation between Hotels, Descriptions, Chains, HotelIssues, Destinations, Zones, Categories, Destinations, DestinationIDs, Countries, CountryIDs Facilities, FacilityTypes, FacilityGroups, FacilityTypologies, FacilityDescriptions and Terminals.
4.2
Diagram 2
-9-
4.3
Diagram 3
4.4
Diagram 4
This diagram shows the relation between Images, Contacts and Phones
4.5
Diagram 5
This diagram shows the relation between Zones and Zone Groups.
- 10 -
Diagram important notices. All destinations have associated a grouped zone, but only a little part of them have associated more than one.
4.6
Diagram 6
This diagram shows the relation between terminals, destinations and transfer zones.
Diagram important notices. To obtain all valid terminals for transfer zones you need to use the table TerminalTransferZone. All terminals in the table TerminalTransferZone have an associated transfer zone:
ZoneTransferTerminal. To obtain the terminal description you need to use this transfer zone and find its description in the table TransferZoneDescription. Terminals table must be used to: - Show travel information (departure terminal). - Show the distance between terminals and hotels.
- 11 -
4.7
Diagram 7
4.8
Diagram 8
This diagram shows the relation between hotels and transfer zones.
4.9
Diagram 9
This diagram shows the relation between transfer zones and postal codes.
- 12 -
4.10 Diagram 10
This diagram shows the relation between TicketsClassificationDescriptions and TicketsClassification.
- 13 -
5 Files description
5.1 Hotels
This file contains all the relevant information about hotel, as the Hotel Code, the Hotel Name, Destination Code, . This file includes all the hotels that we have in our system. This table is connected with the following tables: HotelDescriptions table by means of HotelCode field which includes the hotel descriptions. HotelTerminals table by means of HotelCode field which includes the information of terminals (airports, ports, stations (bus and trains)). HotelIssues table by means of HotelCode field which contains the information about the hotel incidences (Facilities not working, Animal Policies, ). Facilities table by means of HotelCode field. The Facilities table includes all the information about the hotel facilities, as pools, as gyms and other informations as distances to relevant places, for example. HotelImages table by means of HotelCode field which contains the URL of the hotel images. Contacts table by means of HotelCode field which includes the hotel contacts, Phones table by means of HotelCode field which includes the phone numbers.. Zones table by means of ZoneCode field which contains the zone codes, destination codes, ... Chains table by means of ChainCode field which includes the chain codes and the descriptions of each hotel chain. Categories table by means of CategoryCode field which contains category code, description code (2EST, 5EST, ), HotelTransferZone table by means of HotelCode field which contains the relation between postal codes and transfer zones.
Field Name
Req?
Description
Linked File
Example
HotelCode
Character
Yes
4197
- 14 -
Field Name
Max Size
Field Type
Req?
Description
Linked File
Additional Data
Example
Name
50
Character
Yes
Propertyl Name
CategoryCode
Character
Yes
Category code
Categories. csv
5EST
DestinationCode
Character
Yes
AND
ZoneCode
Character
No
Zones.csv
25
ChainCode
Character
No
Chain code
Chains.csv
HOTAN
Licence
15
Character
No
V.B. D.O.
Latitude
45
Character
No
42.5077
Longitude
45
Character
No
1.5233
5.2
Hotel descriptions
- 15 -
is connected with Hotels table by means of HotelCode field and its connected too with Languages table by means of LanguageCode.
Example: Field Name HotelCode LanguageCode HotelFacilities HotelLocationDescription Example 4197 ENG We have 2 restaurants, 100 rooms, 3 suites and 3 pools. This room lies around 150 m from the sea, with various restaurants, bars, nightclubs as well as shopping opportunities within 200 m. The rooms includes a combined living room/ bedroom, a bathroom and a HotelRoomDescription separate bedroom. Furthermore, the elegant rooms includes satellite/cable TV, heating, a hire safe and a balcony or terrace. HotelSportDescription HotelMealsDescription HotelPaymentsMethods HotelHowToGetThere HotelComments There is a swimming pool and a biggest gym (150 m2) We have 2 restaurants, one of them specialized in meals and the other is specialized in vegetables. We accept VISA, Mastercard and the most of the European cards. We have the train station to 50 metres and a bus station next to the hotel. Pets allowed.
HotelCode
Character
Yes
Hotel Code (PK) Language Code (PK) Free text field about general Facilities Free text field about Location Free text field about Room characteristics
Hotels.csv
LanguageCode
Character
Yes
Languages.csv
HotelFacilities
2000
Character
No
HotelLocationDescription
2000
Character
No
Yes
HotelRoomDescription
2000
Character
No
Yes
- 16 -
Field Name
Max Size
Field Type
Req?
Description
Linked File
Additional Data
HolelSportDescription
2000
Character
No
Free text field about Sport and entertainment activities Free text field about Meal options and facilities Free text field about accepted credit cards Free text field about driving directions Free text field on additional advise (pets not allowed, special reception hours, keys collection and others.
Yes
HotelMealsDescription
2000
Character
No
Yes
HotelPaymentMethods
2000
Character
No
Yes
HotelHowToGetThere
2000
Character
No
HotelComments
2000
Character
No
5.3
Languages
This file contains information about available languages. following tables by means of LanguageCode field: HotelDescriptions. languages. CategoryDescriptions. This table contains the categories descriptions of the hotels in different languages ImageDescriptions. This table contains the descriptions of the image types of the hotels in different languages. FacilityGroupsDescriptions. This table contains information about hotel facility groups in different languages. FacilityDescriptions. This table contains information about hotel facility descriptions in different languages. This table contains the descriptions of the hotels in different This table is connected with the
- 17 -
TransferZoneDescription. This table contains the information about transfer zones in different languages.
LanguageCode LanguageName
Yes Yes
CAS Castellano
5.4
Categories
CategoryCode
Character
Yes
2 EST
5.5
Category descriptions
- 18 -
CategoryCode
Character
Yes
Categories.csv
2LL
LanguageCode
Character
Yes
Languages.csv
ENG
CategoryName
50
Character
Yes
2 KEYS
5.6
Hotel images
HotelCode
Character
Yes
Hotel Code (PK) Image Code (PK) Image order (PK) Visualization Order Image Path
Hotels.csv
4712
ImageCode
Character
Yes
ImageTypes.csv
HAB
Order
Character
Yes
VisualizationOrder ImagePath
5 2000
Character Character
Yes Yes
2 old/HOTELS/000180B.JPG
5.7
Image types
- 19 -
Yes
GEN
5.8
Image descriptions
ImageCode
Character
Yes
ImageTypes.csv
DEP
LanguageCode
Character
Yes
Languages.csv
ENG Leisure
Name
50
Character
No
Image name
& Sport
5.9
Phones
- 20 -
Max Size 8
Req?
Description
Linked File
Additional Data
Example
Yes
Hotels.csv
5487 Hotel
PhoneType
15
Character
Yes
PhoneTypes.csv
Phone 954621456
Number
50
Character
Yes
Phone Number
5.10
Phone types
Fax PhoneType 15 Character Yes Phone Type (PK) Number Fax Name 16 Character Yes Phone type name Number
5.11
Zones
- 21 -
Field Name
Max Size
Field Type
Req?
Description
Linked File
Additional Data
Example
ZoneCode
Character
Yes
21
DestinationCode
Character
Yes
MAH Cala
ZoneName
50
Character
Yes
Zone name
Blanca
5.12
Zone Groups
InterfaceCode
Character
Yes
ZoneByGroup.csv
GroupZoneCode
10
Character
Yes
ZoneByGroup.csv
ALEMANIA11
5.13
Grouped Zones
InterfaceCode
Character
Yes
- 22 -
Field Name
Max Size
Field Type
Req?
Description
Linked File
Additional Data
Example
GroupZoneCode
10
Character
Yes
Group Zone Code (PK) Destination Code (PK) Zone Code (PK) Zones.csv Zones.csv
ALEMANIA11
DestinationCode ZoneCode
3 8
Character Character
Yes Yes
DUS 2
5.14
Chains
Yes Yes
HAMPS HAMPSHIRE
5.15
Hotel issues
- 23 -
Hotel Code (PK) Issue order (PK) Date when Issue is entered Date when the Issue ends Language Code (PK) Free text about incidents (building works, pool closure and others)
Hotels.csv
Languages.csv
Incident
1000
Character
Yes
5.16
Facilities
HotelCode
Character
Yes
Numeric Hotel Code (PK) Numeric Facility Code (PK) Numeric Facility Group (PK)
Hotels.csv
1796
Code
Character
Yes
FacilityTypes.csv
20
Group
Character
Yes
FacilityTypes.csv
10
- 24 -
Field Name
Max Size
Field Type
Req?
Description
Linked File
Additional Data
Example
Order
Character
Yes
Numeric Facility Order (PK) Number Memo (Y/N) Service charged directly on site Distance in metres Walking Distance in minutes Transport Distance in minutes Car Distance in minutes Age From (only for the childrens mini club) Age To (only for the childrens mini club) Directly on the beach Separated from the beach by a road, a pedestrian promenade, etc.
Number Logic
9 1
Character Character
No No
2001 N
Fee
Character
No
Distance
Character
No
1600
WalkingDistance
Character
No
40
TransportDistance
Character
No
15
CarDistance
Character
No
20
AgeFrom
Character
No
AgeTo
Character
No
BeachAccess
Character
No
BeachApart
Character
No
- 25 -
Field Name
Max Size
Field Type
Req?
Description
Linked File
Additional Data
Example
Concept
100
Character
No
Free text for fact (it is used only for the indication of the points of interest. Up to 5)
5.17
Facility typologies
TypologyCode
Character
Yes
Type of code structure (number, y/n + fee, y/n + number+fee, etc) (PK) Indicates if the typologycode uses an additional text in its structure Indicates if the typologycode uses a number in its structure Indicates if the typologycode uses a y/n check in its structure
TextFlag
Character
Yes
NumberFlag
Character
Yes
LogicFlag
Character
Yes
- 26 -
Field Name
Max Size
Field Type
Req?
Description
Linked File
Additional Data
Example
FeeFlag
Character
Yes
Indicates if the typologycode uses the Fee check in its structure Indicates if the typologycode uses the distance in metres in its structure Indicates if the typologycode uses Walking Distance in minutes in its structure Indicates if the typologycode uses public transport time in minutes in its structure Indicates if the typologycode uses the time in minutes by car in its structure Indicates if the typologycode use the minimum Age of the mini club Indicates if the typologycode use the maximum Age of the mini club Indicates if the typologycode use the direct Beach acces check
DistanceFlag
Character
Yes
WalkingDistanceFlag
Character
Yes
TransportDistanceFlag
Character
Yes
CarDistanceFlag
Character
Yes
AgeFromFlag
Character
Yes
AgeToFlag
Character
Yes
BeachAccessFlag
Character
Yes
- 27 -
Field Name
Max Size
Field Type
Req?
Description
Linked File
Additional Data
Example
BeachApartFlag
Character
Yes
Indicates if the typologycode uses an additional text in its structure Indicates if the typologycode uses a number in its structure Indicates if the typologycode uses a y/n check in its structure
DynamicFlag
Character
Yes
ConceptFlag
Character
Yes
5.18
Facility types
Group
Character
Yes
Numeric Facility Group Code (PK) Numeric Facility Code (PK) Numeric code to indicate the fact structure Indicates if the fact is available for the basic fact sheet.
FacilityGroup.csv
40
Code
Character
Yes
10
TypologyCode
Character
Yes
FacilityTypologies.csv
BasicFlag
Character
Yes
- 28 -
5.19
Facility groups
Yes
40
Field Name
Req?
Description
Linked File
3 3 100
Numeric Facility Group code (PK) Language code (PK) Facility Group Description
FacilityGroups.csv Languages.csv
10 ENG Location
5.21
Facility descriptions
- 29 -
Code
Character
Yes
Numeric Facitity Code (PK) Numeric Facility Group Code (PK) Language Code (PK) Facility name
FacilityTypes.csv
200
Group
Character
Yes
FacilityTypes.csv
60
LanguageCode Name
3 100
Character Character
Yes Yes
Languages.csv
ENG Safe
5.22
DestinationCode
Character
Yes
Destinations.csv
PMI
BoardType
Character
Yes
BoardTypes.csv
AI-E10
5.23
Hotel terminals
- 30 -
HotelCode
Yes
Hotel Code (PK) Airport, port, bus station or train station code (PK). Distance Hotelairport in Kilometres Distance Hotelairport in Minutes
Hotels.csv
8609
TerminalCode
Character
Yes
Terminals.csv
ALC
DistKm
Character
No
45
DistMin
Character
No
25
5.24
Terminals
TerminalCode
Character
Yes
Airport, port, bus station or train station code (PK). Airport, port, bus station or train station name
SYX
TerminalName
50
Character
Yes
SANYA
5.25
Contacts
- 31 -
HotelCode
Character
Yes
Hotel Code (PK) Address Postal Code City, town or village name 2 letter Country Code E-Mail details WWW URL
Hotels.csv
Address PostalCode
70 10
Character Character
Yes No
City
50
Character
Yes
BARCELONA
CountryCode
Character
Yes
Countries.csv
ES
Email Web
100 100
Character Character
No No
vic@parador.es www.hotelbeds.com
5.26
Room types
RoomType MinOccupation
Yes Yes
2BS-G01 1
MaxOccupation
Character
Yes
StandardOccupation
Character
Yes
- 32 -
Field Name
Max Size
Field Type
Req?
Description
Linked File
Additional Data
Example
MaxAdults
Character
Yes
MaxChildren
Character
Yes
5.27
Room descriptions
RoomType
Character
Yes
Room Type (PK) Language Code (PK) Room type short name Room type name
RoomTypes.csv
S1D-E10
LanguageCode
Character
Yes
Languages.csv
ENG
ShortName
Character
No
Name
50
Character
Yes
5.28
Board types
- 33 -
Yes
AB-998
5.29
Board descriptions
BoardType
Character
Yes
Board Type (PK) Language Code (PK) Board type short name Board type name
BoardTypes.csv
AI-T01
LanguageCode
Character
Yes
Languages.csv
ENG
ShortName
Character
Yes
TI ALL INCLUSIVE
Name
50
Character
Yes
5.30
Destinations
- 34 -
DestinationsIDs table by means of DestinationCode field. This table contains the information about Destinations (NYC|ENG|New York City NY. NYC is the code for the city, ENG is the language and New York City NY is the city).
CarDestinations* table by means of DestinationCode field. This table shows the destinations we have by car (ES|MAD. ES is the country and MAD is the code of the destination). HotelDestinations table by means of DestinationCode field. This table shows the hotels we have in the different destinations (FR|PAR. FR is the country and PAR is the code of the destination). TicketDestinations* table by means of DestinationCode field. This table shows the ticket destinations we have in the different cities (MX|CUN. MX is the country and CUN is the code of the destination).
*Note: Not all destinations in the table Destinations have got car, ticket and transfer services.
DestinationCode CountryCode
3 3
Character Character
Yes No
BOS US
5.31
DestinationCode
Character
Yes
Destinations.csv
BES
- 35 -
Field Name
Max Size
Field Type
Req?
Description
Linked File
Additional Data
Example
LanguageCode
Character
Yes
Languages.csv
ENG
Name
50
Character
Yes
Brest
5.32
Countries
CountryCode
Yes
ES
5.33
CountryCode
Character
Yes
Countries.csv
GB
LanguageCode
Character
Yes
Languages.csv
ENG
- 36 -
Field Name
Max Size
Field Type
Req?
Description
Linked File
Additional Data
Example
Name
40
Character
Yes
Country Name
GREAT BRITAIN GB
ShortName
10
Character
Yes
5.34
Car destinations
CountryCode
Character
Yes
Countries.csv
UK
DestinationCode
Character
Yes
Destinations.csv
CBG
5.35
Hotel destinations
- 37 -
Field Name
Max Size
Field Type
Req?
Description
Linked File
Additional Data
Example
CountryCode
Character
Yes
Countries.csv
UK
DestinationCode
Character
Yes
Destinations.csv
DOV
5.36
Ticket destinations
CountryCode
Character
Yes
Countries.csv
US
DestinationCode
Character
Yes
Destinations.csv
BOS
5.37
- 38 -
ZoneTransferTerminal
19
Character
Yes
Transfer zone associated with the terminal (PK). Airport, port, bus station or train station code (PK). Transfer Zone code (PK). Destination code.
TransferZone.csv
1PUERTO
TerminalCode
Character
Yes
Terminals.csv
PMI
ZoneTransfer
19
Character
Yes
TransferZone.csv
1PALMA
DestinationCode
Character
Yes
Destinations.csv
PMI
5.38
Transfer zones
ZoneTransfer
19
Character
Yes
69ACAPULCO
- 39 -
5.39
ZoneTransfer
19
Character
Yes
TransferZone.csv
1AEROPUERTO
LanguageCode
Character
Yes
Languages.csv
Name
50
Character
Yes
Zone name
5.40
This
Characteristics
file contains room characteristics as BG1-ST, for example. It is connected with
CharacteristicCode
19
Character
Yes
BG1-ST
- 40 -
5.41
Characteristic descriptions
CharacteristicCode
19
Character
Yes
Characteristics.csv
BG1-ST
LanguageCode
Character
Yes
Languages.csv
ENG LAKE
Description
50
Character
Yes
Characteristic description
VIEW ROOM
5.42
InterfaceCode
Character
Yes
Interface Code (PK) Group Zone Code (PK) Language Code (PK)
ZoneByGroup.csv
GroupZoneCode
10
Character
Yes
ZoneByGroup.csv
ALEMANIA11
LanguageCode
Character
Yes
Languages.csv
ENG
- 41 -
Field Name
Max Size
Field Type
Req?
Description
Linked File
Additional Data
Example
Description
50
Character
Yes
Dusseldorf
5.43
ZoneTransfer
19
Character
Yes
TransferZone.csv
66PTOPLATA
HotelCode
Character
Yes
Hotels.csv
5024
5.44
ZoneTransfer
19
Character
Yes
TransferZone.csv
66PTOPLATA 08500
PostalCode
10
Character
Yes
- 42 -
5.45
Tickets Classification
ClassificationCode
Character
Yes
GOLF
5.46
ClassificationCode
Character
Yes
TicketsClassification.csv
GOLF
LanguageCode
Character
Yes
Languages.csv
Description
50
Character
Yes
Description
- 43 -
6 Files updates
Files of updates are created to provide clients a mechanism to control last changes done at product files. This files contains the information that has been modified in last two months. All of them contains two same fields, UpdateType and Date. The field UpdateType means the type of modification registered on an element, and the possible values are: I : Means the element has been inserted U : Means the element has been updated D : Means the element has been deleted
The field Date contains the date when the element is modified. The next diagram shows an example of Updates File use.
Its so important to remember that one element that has been deleted will not be found at original files. For example,
DESTINATIONS
DESTINATIONS UPDATES PMI Insert BCN Update MAD Insert LON - Delete
- 44 -
PMI, BCN and MAD are destinations that has been updated or inserted, so the original file of Destinations will contain it. LON is deleted, so this destination will not be found at original file.
- 45 -
6.1
Categories
CategoryCode
Character
Yes
Property Rating Code (PK) Date of modify (PK) Type of update (I, U, D) (PK)
Categories.csv
Date
21
Character
Yes
UpdateType
Character
Yes
6.2
Image types
ImageCode
Character
Yes
ImageType Code (PK) Date of modify (PK) Type of update (I, U, D) (PK)
ImageTypes.csv
Date
21
Character
Yes
UpdateType
Character
Yes
6.3
Image descriptions
- 46 -
ImageCode
Character
Yes
ImageType Code (PK) Language Code (PK) Date of modify (PK) Type of update (I, U, D) (PK)
ImageDescriptions.csv
GEN
LanguageCode
Character
Yes
ImageDescriptions.csv
Date
21
Character
Yes
UpdateType
Character
Yes
6.4
Zones
ZoneCode
Character
Yes
Zone Code (PK) Destination Code (PK) Date of modify (PK) Type of update (I, U, D) (PK)
Zones.csv
21
DestinationCode
Character
Yes
Zones.csv
Date
21
Character
Yes
UpdateType
Character
Yes
- 47 -
6.5
Chains
ChainCode
Yes
Chains.csv
HAMPS 13/04/2007
Date
21
Character
Yes
12:49:33 D
UpdateType
Character
Yes
6.6
Facility groups
Facility group code (PK) Date of modify (PK) Type of update (I, U, D) (PK)
FacilityGroups.csv
6.7
Facility typologies
- 48 -
TypologyCode
Character
Yes
Type of code structure (number, y/n + fee, y/n + number+fee, etc) (PK) Date of modify (PK) Type of update (I, U, D) (PK)
2 FacilityTypologies.csv
13/04/2007 12:49:33
Date
21
Character
Yes
UpdateType
Character
Yes
6.8
Facility types
Group
Character
Yes
Numeric Facility Group Code (PK) Numeric Facility Code (PK) Date of modify (PK) Type of update (I, U, D) (PK)
FacilityTypes.csv
40
Code
Character
Yes
FacilityTypes.csv
10
13/04/2007 12:49:33 D
Date
21
Character
Yes
UpdateType
Character
Yes
- 49 -
6.9
Hotel terminals
TerminalCode
Character
Yes
Airport, port, bus station or train station code (PK). Hotel Code (PK) Date of modify (PK) Type of update (I, U, D) (PK)
HotelTerminals.csv
ALC
HotelCode
Character
Yes
HotelTerminals.csv
Date
21
Character
Yes
UpdateType
Character
Yes
6.10
Terminals
TerminalCode
Character
Yes
Terminals.csv
SYX
- 50 -
Field Name
Max Size
Field Type
Req?
Description
From File
Additional Data
Example
Date
21
Character
Yes
13/04/2007 12:49:33 D
UpdateType
Character
Yes
6.11
Room types
RoomType
Character
Yes
Room Type (PK) Date of modify (PK) Type of update (I, U, D) (PK)
RoomTypes.csv
Date
21
Character
Yes
UpdateType
Character
Yes
6.12
Board types
BoardType
Yes
BoardTypes.csv
AB-998
- 51 -
Field Name
Max Size
Field Type
Req?
Description
From File
Additional Data
Example
Date
21
Character
Yes
13/04/2007 12:49:33 D
UpdateType
Character
Yes
6.13
Destinations
DestinationCode
Character
Yes
Destination Code (PK) Date of modify (PK) Type of update (I, U, D) (PK)
Destinations.csv
Date
21
Character
Yes
UpdateType
Character
Yes
6.14
Countries
CountryCode
Yes
Countries.csv
ES
- 52 -
Field Name
Max Size
Field Type
Req?
Description
From File
Additional Data
Example
Date
21
Character
Yes
13/04/2007 12:49:33 D
UpdateType
Character
Yes
6.15
Category descriptions
CategoryCode
Character
Yes
Property Rating Code (PK) Language Code (PK) Date of modify (PK) Type of update (I, U, D) (PK)
CategoryDescriptions.csv
2LL
LanguageCode
Character
Yes
CategoryDescriptions.csv
Date
21
Character
Yes
UpdateType
Character
Yes
- 53 -
Field Name
Max Size
Field Type
Req?
Description
From File
Additional Data
Group
Character
Yes
Numeric Facility Group code (PK) Language code (PK) Date of modify (PK) Type of update (I, U, D) (PK)
FacilityGroupsDescription.csv
LanguageCode
Character
Yes
FacilityGroupsDescription.csv
Date
21
Character
Yes
UpdateType
Character
Yes
6.17
Facility descriptions
Code
Character
Yes
Numeric Facitity Code (PK) Numeric Facility Group Code (PK) Language Code (PK) Date of modify (PK) Type of update (I, U, D) (PK)
FacilityDescriptions.csv
200
Group
Character
Yes
FacilityDescriptions.csv
60
LanguageCode
Character
Yes
FacilityDescriptions.csv
Date
21
Character
Yes
UpdateType
Character
Yes
- 54 -
6.18
Room descriptions
RoomType
Character
Yes
Room Type (PK) Language Code (PK) Date of modify (PK) Type of update (I, U, D) (PK)
RoomDescriptions.csv
S1D-E10
LanguageCode
Character
Yes
RoomDescriptions.csv
Date
21
Character
Yes
UpdateType
Character
Yes
6.19
Board descriptions
BoardType
Character
Yes
Board Type (PK) Language Code (PK) Date of modify (PK) Type of update (I, U, D) (PK)
BoardDescriptions.csv
AI-T01
LanguageCode
Character
Yes
BoardDescriptions.csv
Date
21
Character
Yes
UpdateType
Character
Yes
- 55 -
6.20
DestinationCode
Character
Yes
Destination Code (PK) Language Code (PK) Date of modify (PK) Type of update (I, U, D) (PK)
DestinationIDs.csv
BES
LanguageCode
Character
Yes
DestinationIDs.csv
Date
21
Character
Yes
UpdateType
Character
Yes
6.21
CountryCode
Character
Yes
Country Code (PK) Language Code (PK) Date of modify (PK) Type of update (I, U, D) (PK)
CountryIDs.csv
GB
LanguageCode
Character
Yes
CountryIDs.csv
Date
21
Character
Yes
UpdateType
Character
Yes
- 56 -
6.22
Zone Groups
InterfaceCode
Character
Yes
Interface Code (PK) Group Zone Code (PK) Date of modify (PK) Type of update (I, U, D) (PK)
ZoneGroup.csv
GroupZoneCode
10
Character
Yes
ZoneGroup.csv
Date
21
Character
Yes
UpdateType
Character
Yes
6.23
Grouped Zones
InterfaceCode
Character
Yes
Interface Code (PK) Group Zone Code (PK) Destination Code (PK) Zone Code (PK)
ZoneByGroup.csv
GroupZoneCode
10
Character
Yes
ZoneByGroup.csv
ALEMANIA11
DestinationCode
Character
Yes
ZoneByGroup.csv
DUS
ZoneCode
Character
Yes
ZoneByGroup.csv
- 57 -
Field Name
Max Size
Field Type
Req?
Description
From File
Additional Data
Example
Date
21
Character
Yes
13/04/2007 12:49:33
UpdateType
Character
Yes
6.24
Hotels
Field Name
Req?
Description
From File
Example
HotelCode
Character
Yes
Hotels.csv
4197
UpdateType
Character
Yes
6.25
Hotel descriptions
- 58 -
HotelCode
Character
Yes
Hotel Code (PK) Language Code (PK) Date of modify (PK) Type of update (I, U, D) (PK)
HotelDescriptions.csv
LanguageCode
Character
Yes
HotelDescriptions.csv
Date
21
Character
Yes
UpdateType
Character
Yes
6.26
Hotel issues
Hotel Code (PK) Issue order (PK) Language Code (PK) Date of modify (PK) Type of update (I, U, D) (PK)
6.27
Languages
- 59 -
Language Code (PK) Date of modify (PK) Type of update (I, U, D) (PK)
Languages.csv
6.28
Hotel images
HotelCode
Character
Yes
Hotel Code (PK) Image Code (PK) Image order (PK) Date of modify (PK) Type of update (I, U, D) (PK)
HotelImages.csv
4712
ImageCode
Character
Yes
HotelImages.csv
HAB
Order
Character
Yes
HotelImages.csv
Date
21
Character
Yes
13/04/2007 12:49:33
UpdateType
Character
Yes
6.29
Facilities
- 60 -
HotelCode
Character
Yes
Numeric Hotel Code (PK) Numeric Facility Code (PK) Numeric Facility Group (PK) Date of modify (PK) Type of update (I, U, D) (PK)
Facilities.csv
1796
Code
Character
Yes
Facilities.csv
20
Group
Character
Yes
Facilities.csv
10
13/04/2007 12:49:33
Date
21
Character
Yes
UpdateType
Character
Yes
6.30
Car destinations
DestinationCode
Character
Yes
Destination Code (PK) Date of modify (PK) Type of update (I, U, D) (PK)
CarDestinations.csv
Date
21
Character
Yes
UpdateType
Character
Yes
6.31
Hotel destinations
DestinationCode
Character
Yes
Destination Code (PK) Date of modify (PK) Type of update (I, U, D) (PK)
HotelDestinations.csv
Date
21
Character
Yes
UpdateType
Character
Yes
6.32
Ticket destinations
DestinationCode
Character
Yes
Destination Code (PK) Date of modify (PK) Type of update (I, U, D) (PK)
TicketDestinations.csv
Date
21
Character
Yes
UpdateType
Character
Yes
6.33
- 62 -
InterfaceCode
Character
Yes
Interface Code (PK) Group Zone Code (PK) Language Code (PK) Date of modify (PK) Type of update (I, U, D) (PK)
ZoneGroupDescriptions.csv
GroupZoneCode
10
Character
Yes
ZoneGroupDescriptions.csv
ALEMANIA11
LanguageCode
Character
Yes
ZoneGroupDescriptions.csv
Date
21
Character
Yes
UpdateType
Character
Yes
6.34
Characteristics
CharacteristicCode
19
Character
Yes
Characteristic Code (PK) Date of modify (PK) Type of update (I, U, D) (PK)
Characteristics.csv
Date
21
Character
Yes
UpdateType
Character
Yes
6.35
Characteristic descriptions
- 63 -
CharacteristicCode
19
Character
Yes
CharacteristicDescriptions.csv
BG1-ST
LanguageCode
Character
Yes
CharacteristicDescriptions.csv
ENG LAKE
Description
50
Character
Yes
Characteristic description
Date
21
Character
Yes
UpdateType
Character
Yes
6.36
Phones
HotelCode
Character
Yes
PhoneTypes.csv
17228
PhoneType
15
Character
Yes
PhoneTypes.csv
Date
21
Character
Yes
- 64 -
Field Name
Max Size
Field Type
Req?
Description
From File
Additional Data
Example
UpdateType
Character
Yes
6.37
Phone Types
PhoneType
15
Character
Yes
Phone Type (PK) Date of modify (PK) Type of update (I, U, D) (PK)
PhoneTypes.csv
Date
21
Character
Yes
UpdateType
Character
Yes
6.38
RegimByDest
DestinationCode
Character
Yes
RegimByDest.csv RegimByDest.csv
CUN
BoardType
Character
Yes
DB-MX1
- 65 -
Field Name
Max Size
Field Type
Req?
Description
From File
Additional Data
Example
Date
21
Character
Yes
2009-01-19 10:25:48
UpdateType
Character
Yes
6.39
CarDestinations
DestinationCode
Character
Yes
Destination Code (PK) Board Type (PK) Date of modify (PK) Type of update (I, U, D) (PK)
CarDestinations.csv CarDestinations.csv
APE
CountryCode
Character
Yes
NL 2009-01-26 10:53:20
Date
21
Character
Yes
UpdateType
Character
Yes
6.40
- 66 -
Field Name
Max Size
Field Type
Req?
Description
From File
Additional Data
Example
TerminalCode
Character
Yes
Terminal Code (PK) Zone Transfer Terminal (PK) Zone Trasfer (PK)
TerminalTransferZone.csv
AGP
ZoneTransferTerminal
19
Character
Yes
TerminalTransferZone.csv
102AEROP.AGP
ZoneTransfer
19
Character
Yes
TerminalTransferZone.csv
Date
21
Character
Yes
UpdateType
Character
Yes
6.41
LanguageCode
Character
Yes
Language Code (PK) Zone Transfer (PK) Date of modify (PK) Type of update (I, U, D) (PK)
TransferZoneDescription.csv
ZoneTransfer
19
Character
Yes
TransferZoneDescription.csv
Date
21
Character
Yes
UpdateType
Character
Yes
- 67 -
6.42
Transfer Zone
ZoneTransfer
19
Character
Yes
Zone Transfer (PK) Date of modify (PK) Type of update (I, U, D) (PK)
TransferZone.csv
Date
21
Character
Yes
UpdateType
Character
Yes
6.43
HotelCode
Character
Yes
Hotel Code (PK) Zone Transfer (PK) Date of modify (PK) Type of update (I, U, D) (PK)
HotelTransferZone.csv
ZoneTransfer
19
Character
Yes
HotelTransferZone.csv
Date
21
Character
Yes
UpdateType
Character
Yes
- 68 -
6.44
PostalCode
10
Character
Yes
Postal Code (PK) Zone Transfer (PK) Date of modify (PK) Type of update (I, U, D) (PK)
TransferZonePostalCode.csv
ZoneTransfer
19
Character
Yes
TransferZonePostalCode.csv
Date
21
Character
Yes
UpdateType
Character
Yes
6.45
Tickets Classification
ClassificationCode
Character
Yes
Postal Code (PK) Date of modify (PK) Type of update (I, U, D) (PK)
TicketsClassification.csv
Date
21
Character
Yes
UpdateType
Character
Yes
- 69 -
6.46
LanguageCode
Character
Yes
TicketsClassificationDescription.csv
ENG
ClassificationCode
Character
Yes
TicketsClassificationDescription.csv
SAFA 2009-03-
Date
21
Character
Yes
02 14:19:30
UpdateType
Character
Yes
- 70 -