You are on page 1of 22

DEVELOPMENTS S.L.

I-RENT.NET ACCOMMODATION INFORMATION WEB SERVICE


TECHNICAL HELP MANUAL

CHANGE
Version 1.0.4

LOG
Date 12/11/2011 Notes Initial release.

1- URL OF

THE

I-RENT.NET

ACCOMMODATION INFORMATION WEB SERVICE

http://test8.i-rent.net/service/service.asmx

2- DESCRIPTION

OF THE FUNCTIONS PUBLISHED BY THE

I-RENT.NET

ACCOMMODATION INFORMATION WEB SERVICE.

2.a- Insert_Accommodation: Creates a new accommodation in the I-Rent.net system.

Accepts as parameter: - a AgentCode string value. - a Accommodation object, which contains all accommodation features as properties. - a Floor objects array, which contain all floors features and a Room objects array, which contain all floor's roms features as properties. - a Description objects array, which contain accommodation descriptions in different languages. - a Photo objects array, which contain images URL that will be copied to the I-Rent.net server. - a SalePrice objects array, which contain different sale prices that apply on different intervals. - a PurchasePrice objects array, which contain different purchase prices that apply on different intervals. - a Discount objects array, which contain all applicable discounts features. - a Surcharge objects array, which contain all applicable sucharges features. - a Extra objects array, which contain all applicable extras (mandatory and optional) features.

Mandatory parameters: AgentCode Accommodation.Name Accommodation.Type Accommodation.Profile Accommodation.People Accommodation.Urbanization Accommodation.Location Accommodation.Province Accommodation.TuristicArea Accommodation.Country Accommodation.Stars Accommodation.Descriptions Accommodation.Photos

Accommodation.SalePrices

2.b- Update_Accommodation: Updates accommodation information stored inthe I-Rent.net system.

Accepts as parameter: - an AgentCode string value. - a reference value for identifying the accommodation to update. It could be either AccommodationCode, AccmmodationId or InternalCode values. - an Accommodation object, which contains all accommodation features as properties. - a Floor objects array, which contain all floors features and a Room objects array, which contain all floor's roms features as properties. - a Description objects array, which contain accommodation descriptions in different languages. - a Photo objects array, which contain images URL that will be copied to the I-Rent.net server. - a SalePrice objects array, which contain different sale prices that apply on different intervals. - a PurchasePrice objects array, which contain different purchase prices that apply on different intervals. - a Discount objects array, which contain all applicable discounts features. - a Surcharge objects array, which contain all applicable sucharges features. - an Extra objects array, which contain all applicable extras (mandatory and optional) features.

Mandatory parameters: AgentCode AccommodationCode o AccommodationId o Accommodation.InternalCode Accommodation.Name Accommodation.Type Accommodation.Profile Accommodation.People Accommodation.Urbanization Accommodation.Location Accommodation.Province Accommodation.TuristicArea Accommodation.Country Accommodation.Stars Accommodation.Descriptions Accommodation.Photos

Accommodation.SalePrices

3- DESCRIPTION RETURN.

OF THE OBJECTS THAT THE FUNCTIONS OF THE

I-RENT.NET

ACCOMMODATION INFORMATION WEB SERVICE ACCEPT AND

3.a- Result: Object returned by the published functions.


<Result> <AccommodationId>int</AccommodationId> <!-- Numeric value which identifies the accommodation created in the I-Rent.net system. Is 0 if an error
occurred -->

<AccommodationCode>string</AccommodationCode> <!-- CLSID identifier of the accommodation created. Is empty if an error occurred --> <ErrorCode>int</ErrorCode> <!-- Error code, if there will be --> <ErrorMessage>string</ErrorMessage> <!-- Error description, if there will be --> </Result>

3.b- Accommodation: Object that is sent as parameter in published functions . <Accommodation> <Name>string</Name> <!-- Name of the accommodation. Must be unique within the urbanization --> <DisplayName>string</DisplayName> <!-- Alternative Name to display on web sites --> <Type>APARTMENT or HOLIDAY_HOUSE or CASTLE or ROOM or COUNTRY_HOUSE or SUITE or PLOT or VILLA</Type> <!-- Type of
accommodation -->

<Profile>CITY_AND_TOWN or WINTER_AMD_SKI or COUNTRYSIDE_LAKE_AND_MOUNTAIN or SUN_AND_BEACH</Profile> <!-- Profile of


accommodation -->

<People>unsignedShort</People> <!-- Maximum number of persons who may occupy the accommodation --> <Novelty>boolean</Novelty> <!-- Is the accommodation a novelty? --> <Visible>boolean</Visible> <!-- Visibility of the accommodation in the I-Rent.net system --> <InternalCode>unsignedInt</InternalCode> <!-- External system ID. Useful when updating --> <RegisterCode>string</RegisterCode> <!-- --> <ChangeDay>NO or MONDAY or TUESDAY or WEDNESDAY or THURSDAY or FRIDAY or SATURDAY or SUNDAY</ChangeDay> <!-mandatory change day, if any -->

<SalePricesUnit>UNIT_DAY or UNIT_WEEK or UNIT_MONTH</SalePricesUnit> <!-- Unit sales price (per day, week or month) --> <PurchasePricesUnit>UNIT_DAY or UNIT_WEEK or UNIT_MONTH</PurchasePricesUnit> <!-- Unit purchase price (per day, week or month) -->

<MinimumStay>unsignedByte</MinimumStay> <!-- Number of days of minimum stay, if any --> <PetsAdmission>NO or YES or CONSULT</PetsAdmission> <!-- Admission of pets --> <LongTermRental>boolean</LongTermRental> <!-- Is long term rental accommodation? --> <OnLineBooking>boolean</OnLineBooking> <!-- Does the accommodation allow online booking? --> <ShowPlanning>boolean</ShowPlanning> <!-- Show calendar on websites developed by I-Rent --> <SafetyDeposit>double</SafetyDeposit> <!-- Safety deposit to be applied on bookings --> <AlarmCode>string</AlarmCode> <!-- Alarm code of the accommodation --> <Address>string</Address> <!-- Address of the accommodation --> <Urbanization>string</Urbanization> <!-- Urbanization where property is located --> <Location>string</Location> <!-- Location where property is located --> <Province>string</Province> <!-- Province where property is located --> <TuristicArea>string</TuristicArea> <!-- Turistic area where property is located --> <Country>string</Country> <!-- Country where property is located --> <PostCode>string</PostCode> <!-- Post code of the address --> <Latitude>string</Latitude> <!-- Latitude coordinates, in degrees, minutes and seconds --> <Longitude>string</Longitude> <!-- Longitude coordinates, in degrees, minutes and seconds --> <Stars>unsignedByte</Stars> <!-- Overall rating of accommodation --> <Luxury>boolean</Luxury> <!-- Is a luxurious accommodation? --> <ViewEvaluation>unsignedByte</ViewEvaluation> <!-- Overall assessment of the view --> <PrivacyEvaluation>unsignedByte</PrivacyEvaluation> <!-- Evaluation of privacy --> <InteriorEvaluation>unsignedByte</InteriorEvaluation> <!-- Overall assessment of the inside --> <KitchenEvaluation>unsignedByte</KitchenEvaluation> <!-- General Assessment of kitchen/s --> <BathroomEvaluation>unsignedByte</BathroomEvaluation> <!-- Overall assessment of bathroom/s --> <ExteriorEvaluation>unsignedByte</ExteriorEvaluation> <!-- General Evaluation from the outside --> <PoolEvaluation>unsignedByte</PoolEvaluation> <!-- Evaluation of the pool --> <PoolDistance>NOT_IMPORTANT or BELOW_25_M or BELOW_50_M or BELOW_100_M or BELOW_200_M or BELOW_500_M or BELOW_1_KM or BELOW_2_KM or BELOW_3_KM or BELOW_4_KM or BELOW_5_KM or BELOW_10_KM or BELOW_25_KM or BELOW_50_KM or BELOW_100_KM or BELOW_150_KM or BELOW_200_KM</PoolDistance> <!-- Distance to the pool - > <BeachDistance>NOT_IMPORTANT or BELOW_25_M or BELOW_50_M or BELOW_100_M or BELOW_200_M or BELOW_500_M or BELOW_1_KM or BELOW_2_KM or BELOW_3_KM or BELOW_4_KM or BELOW_5_KM or BELOW_10_KM or BELOW_25_KM or BELOW_50_KM or BELOW_100_KM or BELOW_150_KM or BELOW_200_KM</BeachDistance> <!-- Distance to the beach - > <BeachName>string</BeachName> <!-- Name of the nearest beach --> <PrivateBeach>boolean</PrivateBeach> <!-- Is it a private beach? -->

<CityDistance>NOT_IMPORTANT or BELOW_25_M or BELOW_50_M or BELOW_100_M or BELOW_200_M or BELOW_500_M or BELOW_1_KM or BELOW_2_KM or BELOW_3_KM or BELOW_4_KM or BELOW_5_KM or BELOW_10_KM or BELOW_25_KM or BELOW_50_KM or BELOW_100_KM or BELOW_150_KM or BELOW_200_KM</CityDistance> <!-- Distance to the nearest town --> <CityName>string</CityName> <!-- Name of the nearest town --> <SupermarketDistance>NOT_IMPORTANT or BELOW_25_M or BELOW_50_M or BELOW_100_M or BELOW_200_M or BELOW_500_M or BELOW_1_KM or BELOW_2_KM or BELOW_3_KM or BELOW_4_KM or BELOW_5_KM or BELOW_10_KM or BELOW_25_KM or BELOW_50_KM or BELOW_100_KM or BELOW_150_KM or BELOW_200_KM</SupermarketDistance> <!-- Distance to the grocery store --> <ShopsDistance>NOT_IMPORTANT or BELOW_25_M or BELOW_50_M or BELOW_100_M or BELOW_200_M or BELOW_500_M or BELOW_1_KM or BELOW_2_KM or BELOW_3_KM or BELOW_4_KM or BELOW_5_KM or BELOW_10_KM or BELOW_25_KM or BELOW_50_KM or BELOW_100_KM or BELOW_150_KM or BELOW_200_KM</ShopsDistance> <!-- Distance to shopping area - > <RestaurantDistance>NOT_IMPORTANT or BELOW_25_M or BELOW_50_M or BELOW_100_M or BELOW_200_M or BELOW_500_M or BELOW_1_KM or BELOW_2_KM or BELOW_3_KM or BELOW_4_KM or BELOW_5_KM or BELOW_10_KM or BELOW_25_KM or BELOW_50_KM or BELOW_100_KM or BELOW_150_KM or BELOW_200_KM</RestaurantDistance> <!-- Distance to restaurant --> <TennisDistance>NOT_IMPORTANT or BELOW_25_M or BELOW_50_M or BELOW_100_M or BELOW_200_M or BELOW_500_M or BELOW_1_KM or BELOW_2_KM or BELOW_3_KM or BELOW_4_KM or BELOW_5_KM or BELOW_10_KM or BELOW_25_KM or BELOW_50_KM or BELOW_100_KM or BELOW_150_KM or BELOW_200_KM</TennisDistance> <!-- Distance to tennis court - --> <GolfDistance>NOT_IMPORTANT or BELOW_25_M or BELOW_50_M or BELOW_100_M or BELOW_200_M or BELOW_500_M or BELOW_1_KM or BELOW_2_KM or BELOW_3_KM or BELOW_4_KM or BELOW_5_KM or BELOW_10_KM or BELOW_25_KM or BELOW_50_KM or BELOW_100_KM or BELOW_150_KM or BELOW_200_KM</GolfDistance> ! - Distance to golf course - --> <GolfName>string</GolfName> <!-- Name of the nearest golf course --> <Airport1Distance>NOT_IMPORTANT or BELOW_25_M or BELOW_50_M or BELOW_100_M or BELOW_200_M or BELOW_500_M or BELOW_1_KM or BELOW_2_KM or BELOW_3_KM or BELOW_4_KM or BELOW_5_KM or BELOW_10_KM or BELOW_25_KM or BELOW_50_KM or BELOW_100_KM or BELOW_150_KM or BELOW_200_KM</Airport1Distance> <!-- Distance to first airport - > <Airport1Name>string</Airport1Name> <!-- Name of first airport --> <Airport2Distance>NOT_IMPORTANT or BELOW_25_M or BELOW_50_M or BELOW_100_M or BELOW_200_M or BELOW_500_M or BELOW_1_KM or BELOW_2_KM or BELOW_3_KM or BELOW_4_KM or BELOW_5_KM or BELOW_10_KM or BELOW_25_KM or BELOW_50_KM or BELOW_100_KM or BELOW_150_KM or BELOW_200_KM</Airport2Distance> <!-- Distance to second airport - > <Airport2Name>string</Airport2Name> <!-- Name of second airport --> <BusDistance>NOT_IMPORTANT or BELOW_25_M or BELOW_50_M or BELOW_100_M or BELOW_200_M or BELOW_500_M or BELOW_1_KM or BELOW_2_KM or BELOW_3_KM or BELOW_4_KM or BELOW_5_KM or BELOW_10_KM or BELOW_25_KM or BELOW_50_KM or BELOW_100_KM or BELOW_150_KM or BELOW_200_KM</BusDistance> <!-- Distance to bus Station - -->

<UndergroundDistance>NOT_IMPORTANT or BELOW_25_M or BELOW_50_M or BELOW_100_M or BELOW_200_M or BELOW_500_M or BELOW_1_KM or BELOW_2_KM or BELOW_3_KM or BELOW_4_KM or BELOW_5_KM or BELOW_10_KM or BELOW_25_KM or BELOW_50_KM or BELOW_100_KM or BELOW_150_KM or BELOW_200_KM</UndergroundDistance> <!-- Distance to underground station - --> <TrainDistance>NOT_IMPORTANT or BELOW_25_M or BELOW_50_M or BELOW_100_M or BELOW_200_M or BELOW_500_M or BELOW_1_KM or BELOW_2_KM or BELOW_3_KM or BELOW_4_KM or BELOW_5_KM or BELOW_10_KM or BELOW_25_KM or BELOW_50_KM or BELOW_100_KM or BELOW_150_KM or BELOW_200_KM</TrainDistance> ! - Distance to train station - --> <HorseRidingDistance>NOT_IMPORTANT or BELOW_25_M or BELOW_50_M or BELOW_100_M or BELOW_200_M or BELOW_500_M or BELOW_1_KM or BELOW_2_KM or BELOW_3_KM or BELOW_4_KM or BELOW_5_KM or BELOW_10_KM or BELOW_25_KM or BELOW_50_KM or BELOW_100_KM or BELOW_150_KM or BELOW_200_KM</HorseRidingDistance> <!-- Distance to riding camp - --> <MountainDistance>NOT_IMPORTANT or BELOW_25_M or BELOW_50_M or BELOW_100_M or BELOW_200_M or BELOW_500_M or BELOW_1_KM or BELOW_2_KM or BELOW_3_KM or BELOW_4_KM or BELOW_5_KM or BELOW_10_KM or BELOW_25_KM or BELOW_50_KM or BELOW_100_KM or BELOW_150_KM or BELOW_200_KM</MountainDistance> <!-- Distance to mountain --> <MountainName>string</MountainName> <!-- Name of the nearest mountain --> <ThemeParkDistance>NOT_IMPORTANT or BELOW_25_M or BELOW_50_M or BELOW_100_M or BELOW_200_M or BELOW_500_M or BELOW_1_KM or BELOW_2_KM or BELOW_3_KM or BELOW_4_KM or BELOW_5_KM or BELOW_10_KM or BELOW_25_KM or BELOW_50_KM or BELOW_100_KM or BELOW_150_KM or BELOW_200_KM</ThemeParkDistance> <!-- Distance to theme park - > <ThemeParkName>string</ThemeParkName> <!-- Name of nearest theme park --> <WaterParkDistance>NOT_IMPORTANT or BELOW_25_M or BELOW_50_M or BELOW_100_M or BELOW_200_M or BELOW_500_M or BELOW_1_KM or BELOW_2_KM or BELOW_3_KM or BELOW_4_KM or BELOW_5_KM or BELOW_10_KM or BELOW_25_KM or BELOW_50_KM or BELOW_100_KM or BELOW_150_KM or BELOW_200_KM</WaterParkDistance> <!-- Distance to water park - > <WaterParkName>string</WaterParkName> <!-- Name of the nearest water park --> <NaturalParkDistance>NOT_IMPORTANT or BELOW_25_M or BELOW_50_M or BELOW_100_M or BELOW_200_M or BELOW_500_M or BELOW_1_KM or BELOW_2_KM or BELOW_3_KM or BELOW_4_KM or BELOW_5_KM or BELOW_10_KM or BELOW_25_KM or BELOW_50_KM or BELOW_100_KM or BELOW_150_KM or BELOW_200_KM</NaturalParkDistance> <!-- Distance to natural park - > <NaturalParkName>string</NaturalParkName> <!-- Name of nearest natural park --> <ZooDistance>NOT_IMPORTANT or BELOW_25_M or BELOW_50_M or BELOW_100_M or BELOW_200_M or BELOW_500_M or BELOW_1_KM or BELOW_2_KM or BELOW_3_KM or BELOW_4_KM or BELOW_5_KM or BELOW_10_KM or BELOW_25_KM or BELOW_50_KM or BELOW_100_KM or BELOW_150_KM or BELOW_200_KM</ZooDistance> <!-- Distance to zoo --> <ZooName>string</ZooName> <!-- Name of the nearest zoo --> <CityArea>boolean</CityArea> <!-- Is the accommodation in a city? --> <RuralArea>boolean</RuralArea> <!-- Is the accommodation in a rural area? --> <WoodedArea>boolean</WoodedArea> <!-- Is the property in a wooded area? --> <HillArea>boolean</HillArea> <!-- Is the accommodation in a hilly area? -->

<UrbanArea>boolean</UrbanArea> <!-- Is the property in an urban area? --> <BeachArea>boolean</BeachArea> <!-- Is the accommodation in a beach area? --> <RuralView>NO_VIEW or PARTIAL_VIEW or GOOD_VIEW or GREAT_VIEW</RuralView> <!-- View of the field --> <SeaView>NO_VIEW or PARTIAL_VIEW or GOOD_VIEW or GREAT_VIEW</SeaView> <!-- Ocean view --> <ValleyView>NO_VIEW or PARTIAL_VIEW or GOOD_VIEW or GREAT_VIEW</ValleyView> <!-- Valley view --> <BayView>NO_VIEW or PARTIAL_VIEW or GOOD_VIEW or GREAT_VIEW</BayView> <!-- Bayv --> <MountView>NO_VIEW or PARTIAL_VIEW or GOOD_VIEW or GREAT_VIEW</MountView> <!-- Mountain view --> <BeachView>NO_VIEW or PARTIAL_VIEW or GOOD_VIEW or GREAT_VIEW</BeachView> <!-- Beach view --> <GolfView>NO_VIEW or PARTIAL_VIEW or GOOD_VIEW or GREAT_VIEW</GolfView> <!-- Golf course view --> <PoolView>NO_VIEW or PARTIAL_VIEW or GOOD_VIEW or GREAT_VIEW</PoolView> <!-- View of the pool --> <GardenView>NO_VIEW or PARTIAL_VIEW or GOOD_VIEW or GREAT_VIEW</GardenView> <!-- Garden view --> <StreetView>NO_VIEW or PARTIAL_VIEW or GOOD_VIEW or GREAT_VIEW</StreetView> <!-- Street view --> <OtherBuildingsView>NO_VIEW or PARTIAL_VIEW or GOOD_VIEW or GREAT_VIEW</OtherBuildingsView> ! - View other buildings --> <ApartmentBuildingName>string</ApartmentBuildingName> <!-- Name of the apartment complex --> <ApartmentBuildingLevel>unsignedByte</ApartmentBuildingLevel> <!-- Level up the complex --> <ApartmentLevel>unsignedByte</ApartmentLevel> <!-- Level of apratment location --> <Elevator>boolean</Elevator> <!-- is there a lift in the complex? --> <ComplexArea>double</ComplexArea> <!-- Surface of the complex --> <PoolClass>NO_POOL or PRIVATE_POOL or COMMUNAL_POOL or COMMUNAL_AND_PRIVATE_POOL</PoolClass> <!-- Pool type --> <PoolWidht>double</PoolWidht> <!-- Width of the pool --> <PoolLenght>double</PoolLenght> <!-- Length of the pool --> <PoolDepth>double</PoolDepth> <!-- Depth of the pool --> <PoolStairs>CONSTRUCTION or METALLIC or CONSTRUCTION_AND_METALIC</PoolStairs> <!-- Type pool ladder --> <PoolHeating>NO or GAS or SOLAR or ELECTRIC</PoolHeating> <!-- Type of pool heating --> <PoolShower>boolean</PoolShower> <!-- Shower near the pool? --> <PoolToilet>boolean</PoolToilet> <!-- Shower near the pool? --> <PoolJacuzzi>boolean</PoolJacuzzi> <!-- Jacuzzi by the pool? --> <TennisCourt>boolean</TennisCourt> <!-- Is there a tennis court? --> <LawnGarden>boolean</LawnGarden> <!-- Is there a lawn garden? --> <GravelGarden>boolean</GravelGarden> <!-- Is there a gravel garden? --> <PlantsGarden>boolean</PlantsGarden> <!-- Is there a plants garden? --> <TreesGarden>boolean</TreesGarden> <!-- Is there a tree garden? --> <PlotSize>double</PlotSize> <!-- Plot area -->

<PlotBoundary>OPEN or ENCLOSED or PARTIALLY_CLOSED</PlotBoundary> <!-- Type of enclosure of the plot --> <BuildingSurface>double</BuildingSurface> <!-- Surface built --> <ConstructionYear>int</ConstructionYear> <!-- Year of construction --> <OpenTerraces>unsignedByte</OpenTerraces> <!-- Number of open terraces --> <CoveredTerraces>unsignedByte</CoveredTerraces> <!-- Number of covered terraces --> <Conservatories>unsignedByte</Conservatories> <!-- Number of conservatories --> <RoofTerraces>unsignedByte</RoofTerraces> <!-- Number of roof terraces --> <OutdoorKitchen>boolean</OutdoorKitchen> <!-- Is there an outdoor kitchen? --> <OutdoorKitchenRefrigerator>boolean</OutdoorKitchenRefrigerator> <!-- Is there refrigerator in the outdoor kitchen? --> <OutdoorKitchenOven>boolean</OutdoorKitchenOven> <!-- Is there oven in the outdoor kitchen? --> <OutdoorKitchenWashingMachine>boolean</OutdoorKitchenWashingMachine> <!-- Is there washing machine in the outdoor kitchen? --> <OutdoorKitchenDishwasher>boolean</OutdoorKitchenDishwasher> <!-- Is there dishwasher in the outdoor kitchen? --> <Barbecue>NO or CONSTRUCTION or CONSTRUCTION_AND_PORTABLE or ON_DEMAND</Barbecue> <!-- Is there a barbecue? --> <Garages>unsignedByte</Garages> <!-- Number of garages --> <CoveredParking>unsignedByte</CoveredParking> <!-- Number of covered parking --> <NonCoveredParking>unsignedByte</NonCoveredParking> <!-- Number of non covered parking --> <OutdoorParking>unsignedByte</OutdoorParking> <!-- Number of outdoor parking --> <AirConditioningUnits>unsignedByte</AirConditioningUnits> <!-- Number of air conditioning units --> <CentralHeating>NO or GASTANK or GAS_BOTTLES or OIL or ELECTRIC or SOLAR</CentralHeating> <!-- Number of air conditioners --> <HotWaterSupply>BOILER or CENTRAL_HEATING or ELECTRIC or GAS or SOLAR or ELECTRIC_AND_SOLAR or GAS_AND_SOLAR</HotWaterSupply> <!-- Type of hot water supply --> <PortableElectricRadiators>unsignedByte</PortableElectricRadiators> <!-- Number of portable electric radiators --> <PortableGasHeaters>unsignedByte</PortableGasHeaters> <!-- Number of portable gas heaters --> <Telephone>boolean</Telephone> <!-- Is there phone? --> <TelephoneNumber>string</TelephoneNumber> <!-- Phone number --> <IpodBase>boolean</IpodBase> <!-- Is there a Ipod dock? --> <Internet>NO or ADSL</Internet> <!-- Internet connection type --> <LocalNet>NO or WIFI or ETHERNET</LocalNet> <!-- Local area network type --> <Computer>boolean</Computer> <!-- Is there computer? --> <SateliteAntenna>boolean</SateliteAntenna> <!-- Is satellite antenna? --> <SatelliteAntennaName>string</SatelliteAntennaName> <!-- Name of satellite TV service --> <CableTV>boolean</CableTV> <!-- Is there cable TV system? --> <CableTVName>string</CableTVName> <!-- Name of the cable TV service -->

<GymArea>boolean</GymArea> <!-- Is there a gym area? --> <EntretainmentRoom>boolean</EntretainmentRoom> <!-- Is there an entertainment room? --> <MiniBar>boolean</MiniBar> <!-- Is there a minibar? --> <Billiard>boolean</Billiard> <!-- Is there a billiard table? --> <Foosball>boolean</Foosball> <!-- Is there a foosball? --> <GameComputer>boolean</GameComputer> <!-- Is there a game console? --> <AlarmSystem>boolean</AlarmSystem> <!-- Is there a security alarm system? --> <Safe>boolean</Safe> <!-- Is there a safe? --> <Receptionist>boolean</Receptionist> <!-- Is there a receptionist service? --> <ResortAccommodation>boolean</ResortAccommodation> <!-- Does the property belong to a resort? --> <GolfResort>boolean</GolfResort> <!-- Do the accommodation belong to a golf resort? --> <BeachResort>boolean</BeachResort> <!-- Do the accommodation belong to a beach resort? --> <SkiResort>boolean</SkiResort> <!-- Do the accommodation belong to a ski resort? --> <Restaurant>boolean</Restaurant> <!-- Is there a restaurant? --> <Bar>boolean</Bar> <!-- Is there a bar? --> <Surveillance>boolean</Surveillance> <!-- Is there security service? --> <RoomService>boolean</RoomService> <!-- Is there room service? --> <MaidService>boolean</MaidService> <!-- Is there maid service? --> <CookService>boolean</CookService> <!-- Is there cook service? --> <LaundryService>boolean</LaundryService> <!-- Is there laundry service? --> <BabysitService>boolean</BabysitService> <!-- Is there babysitting service? --> <BedlinenIncluded>boolean</BedlinenIncluded> <!-- Linen included in the price? --> <TowelsIncluded>boolean</TowelsIncluded> <!-- Towels included in price? --> <EmergencyPhone>boolean</EmergencyPhone> <!-- Is there an emergency call service 24 hours? --> <PaddleCourt>boolean</PaddleCourt> <!-- Is there a paddle court? --> <SquashCourt>boolean</SquashCourt> <!-- Is there a squash court? --> <Playground>boolean</Playground> <!-- Is there playground? --> <SoccerField>boolean</SoccerField> <!-- Is there a soccer field? --> <FitnessArea>boolean</FitnessArea> <!-- Is there a fitness area? --> <Sauna>boolean</Sauna> <!-- Is there a sauna? --> <TableTennis>boolean</TableTennis> <!-- Is there a tennis table? --> <AirportService>boolean</AirportService> <!-- Is there a shuttle service to airport? --> <CommunitySwimmingPool>boolean</CommunitySwimmingPool> <!-- Is there a community swimming pool? -->

<ChildrenPool>boolean</ChildrenPool> <!-- Is there a children's pool? --> <FamilySuitable>boolean</FamilySuitable> ! - Is the accommodation suitable for family? --> <WheelchairSuitable>boolean</WheelchairSuitable> <!-- Is the accommodation suitable for wheelchair? --> <SmokingNotAllowed>boolean</SmokingNotAllowed> <!-- Is smoking allowed in the accommodation? --> <Spa>boolean</Spa> <!-- Is there a spa service? --> <Trekking>boolean</Trekking> <!-- Is there a trekking service? --> <RecreationArea>boolean</RecreationArea> <!-- Is there a recreation area? --> <SpaAccomodation>boolean</SpaAccomodation> <!-- Is a spa? --> <AllInclusive>boolean</AllInclusive> <!-- All concepts are included in price? --> </Accommodation>

3. c- Floors: Arrangement of objects that are sent as parameters in published functions . <Floors> <Floor> <Name>N_A or UPPER_FLOOR or FIRST_UPPER_FLOOR or SECOND_UPPER_FLOOR or MAIN_FLOOR or LOWER_FLOOR or FIRST_LOWER_FLOOR or SECOND_LOWER_FLOOR or UNIT_1 or UNIT_2 or UNIT_3 or UNIT_4</Name> <!-- Name of the floor --> <IndoorStaircase>boolean</IndoorStaircase> <!-- Indoor staircase--> <LivingRoom>boolean</LivingRoom> <!-- Living room --> <DiningRoom>boolean</DiningRoom> <!-- Dining room --> <LivingDiningRoom>boolean</LivingDiningRoom> <!-- Living/dining room --> <OpenFireplace>boolean</OpenFireplace> <!-- Open fireplace --> <TV>boolean</TV> <!-- Television set --> <Video>boolean</Video> <!-- Video player --> <DVD>boolean</DVD> <!-- DVD player--> <HiFi>boolean</HiFi> <!-- Music player --> <AircoLivingRoom>boolean</AircoLivingRoom> <!-- Air conditioning in the living room --> <AircoDiningRoom>boolean</AircoDiningRoom> <!-- Air conditioning in the dining room --> <SofaBedLivingRoom>boolean</SofaBedLivingRoom> <!-- Sofa bed in the living room --> <Kitchen>boolean</Kitchen> <!-- Kitchen --> <KitchenDiningRoom>boolean</KitchenDiningRoom> <!-- Kitchen/dining room --> <KitchenType>N_A or CLOSED or OPEN</KitchenType> <!-- Type of kitchen --> <Cooker>NO or GAS or ELECTRIC or GAS_AND_ELECTRIC</Cooker> <!-- Type of cooker --> <Refrigerator>boolean</Refrigerator> <!-- Refrigerator -->

<Oven>NO or GAS or ELECTRIC or GAS_AND_ELECTRIC</Oven> <!-- Oven --> <Microwave>boolean</Microwave> <!-- Microwave unit --> <CoffeeMachine>boolean</CoffeeMachine> <!-- Coffee machine --> <Toaster>boolean</Toaster> <!-- Toaste --> <Mixer>boolean</Mixer> <!-- Mixer --> <WashingMachine>boolean</WashingMachine> <!-- Washing machine--> <TumbleDryer>boolean</TumbleDryer> <!-- Tumble dryer --> <Dishwasher>boolean</Dishwasher> <!-- Dishwasher --> <ElectricKettle>boolean</ElectricKettle> <!-- Electric kettle --> <Bathrooms>unsignedByte</Bathrooms> <!-- Number of bathrooms --> <Jacuzzis>unsignedByte</Jacuzzis> <!-- Number of jacuzzis --> <ShowerRooms>unsignedByte</ShowerRooms> <!-- Number of showers --> <BathShowerRooms>unsignedByte</BathShowerRooms> <!-- Number of bathrooms with shower --> <GuestToilet>boolean</GuestToilet> <!-- Number of toilets for guests --> <Balcony>boolean</Balcony> <!-- Balcony --> <CoveredBalcony>boolean</CoveredBalcony> <!-- Covered balcony --> <Rooms> <Room> <EnSuite>boolean</EnSuite> <!-- Ensuite bedroom? --> <Airco>boolean</Airco> <!-- Air conditioning? --> <TV>boolean</TV> <!-- Television set?--> <SingleBeds>unsignedByte</SingleBeds> <!-- Number of single beds --> <DoubleBeds>unsignedByte</DoubleBeds> <!-- Number of double beds --> <KingBeds>unsignedByte</KingBeds> <!-- Number of king beds --> <BunkBeds>unsignedByte</BunkBeds> <!-- Number of bunk beds --> <SofaBeds>unsignedByte</SofaBeds> <!-- Number of sofa beds --> </Room> <Room> <EnSuite>boolean</EnSuite> <Airco>boolean</Airco> <TV>boolean</TV> <SingleBeds>unsignedByte</SingleBeds> <DoubleBeds>unsignedByte</DoubleBeds>

<KingBeds>unsignedByte</KingBeds> <BunkBeds>unsignedByte</BunkBeds> <SofaBeds>unsignedByte</SofaBeds> </Room> </Rooms> </Floor> <Floor> <Name>N_A or UPPER_FLOOR or FIRST_UPPER_FLOOR or SECOND_UPPER_FLOOR or MAIN_FLOOR or LOWER_FLOOR or FIRST_LOWER_FLOOR or SECOND_LOWER_FLOOR or UNIT_1 or UNIT_2 or UNIT_3 or UNIT_4</Name> <IndoorStaircase>boolean</IndoorStaircase> <LivingRoom>boolean</LivingRoom> <DiningRoom>boolean</DiningRoom> <LivingDiningRoom>boolean</LivingDiningRoom> <OpenFireplace>boolean</OpenFireplace> <TV>boolean</TV> <Video>boolean</Video> <DVD>boolean</DVD> <HiFi>boolean</HiFi> <AircoLivingRoom>boolean</AircoLivingRoom> <AircoDiningRoom>boolean</AircoDiningRoom> <SofaBedLivingRoom>boolean</SofaBedLivingRoom> <Kitchen>boolean</Kitchen> <KitchenDiningRoom>boolean</KitchenDiningRoom> <KitchenType>N_A or CLOSED or OPEN</KitchenType> <Cooker>NO or GAS or ELECTRIC or GAS_AND_ELECTRIC</Cooker> <Refrigerator>boolean</Refrigerator> <Oven>NO or GAS or ELECTRIC or GAS_AND_ELECTRIC</Oven> <Microwave>boolean</Microwave> <CoffeeMachine>boolean</CoffeeMachine> <Toaster>boolean</Toaster> <Mixer>boolean</Mixer> <WashingMachine>boolean</WashingMachine> <TumbleDryer>boolean</TumbleDryer>

<Dishwasher>boolean</Dishwasher> <ElectricKettle>boolean</ElectricKettle> <Bathrooms>unsignedByte</Bathrooms> <Jacuzzis>unsignedByte</Jacuzzis> <ShowerRooms>unsignedByte</ShowerRooms> <BathShowerRooms>unsignedByte</BathShowerRooms> <GuestToilet>boolean</GuestToilet> <Balcony>boolean</Balcony> <CoveredBalcony>boolean</CoveredBalcony> <Rooms> <Room> <EnSuite>boolean</EnSuite> <Airco>boolean</Airco> <TV>boolean</TV> <SingleBeds>unsignedByte</SingleBeds> <DoubleBeds>unsignedByte</DoubleBeds> <KingBeds>unsignedByte</KingBeds> <BunkBeds>unsignedByte</BunkBeds> <SofaBeds>unsignedByte</SofaBeds> </Room> <Room> <EnSuite>boolean</EnSuite> <Airco>boolean</Airco> <TV>boolean</TV> <SingleBeds>unsignedByte</SingleBeds> <DoubleBeds>unsignedByte</DoubleBeds> <KingBeds>unsignedByte</KingBeds> <BunkBeds>unsignedByte</BunkBeds> <SofaBeds>unsignedByte</SofaBeds> </Room> </Rooms> </Floor> </Floors>

3. d- Descriptions: Arrangement of objects that are sent as parameters in published functions . <Descriptions> <Description> <Language>NL or DE or GB or FR or ES or IT or PT or GR or SW or RU or ID or CH or JP or DK or NO or CZ or CA or PL or HR or TR</Language> <!-- Language of description --> <Text>string</Text> <!-- Full text of the description --> <ShortText>string</ShortText> <!-- Small text description, used for listing --> </Description> <Description> <Language>NL or DE or GB or FR or ES or IT or PT or GR or SW or RU or ID or CH or JP or DK or NO or CZ or CA or PL or HR or TR</Language> <Text>string</Text> <ShortText>string</ShortText> </Description> </Descriptions> 3. e- Photos: Arrangement of objects that are sent as parameters in published functions . <Photos> <Photo> <URL>string</URL> <!-- URL of the picture to be copied to the server-Rent --> </Photo> <Photo> <URL>string</URL> </Photo> </Photos> 3. f- SalePrices: Arrangement of objects that are sent as parameters in published functions . <SalePrices> <Price> <StartDate>dateTime</StartDate> <!-- Start date of the sale price interval --> <EndDate>dateTime</EndDate> <!-- End date of the sale price interval -->

<Name>string</Name> <!-- Name of the price interval --> <MinimumStay>int</MinimumStay> <!-- Minimum stay for the interval --> <Price>double</Price> <!-- Rental price for the interval --> </Price> <Price> <StartDate>dateTime</StartDate> <EndDate>dateTime</EndDate> <Name>string</Name> <MinimumStay>int</MinimumStay> <Price>double</Price> </Price> </SalePrices>

3.g- PurchasePrices : Arrangement of objects that are sent as parameters in published functions . <PurchasePrices> <Price> <StartDate>dateTime</StartDate> <!-- Start date of the purchase price interval --> <EndDate>dateTime</EndDate> <!-- End date of the purchase price interval --> <Name>string</Name> <!-- Name of the price interval --> <MinimumStay>int</MinimumStay> <!-- Doesn't apply --> <Price>double</Price> <!-- Purchase price for the interval --> </Price> <Price> <StartDate>dateTime</StartDate> <EndDate>dateTime</EndDate> <Name>string</Name> <MinimumStay>int</MinimumStay> <Price>double</Price> </Price> </PurchasePrices> 3. h- Discounts: Arrangement of objects that are sent as parameters in published functions . <Discounts>

<Discount> <Name>string</Name> <!-- Name of the discount (for internal use) --> <ValidFrom>dateTime</ValidFrom> <!-- Start date of the term of discount, if any --> <ValidUntil>dateTime</ValidUntil> <!-- End date of the term of discount, if any --> <MinimumArrival>dateTime</MinimumArrival> <!-- Minimum start date of the booking period to apply discount --> <MaximumDeparture>dateTime</MaximumDeparture> <!-- Maximum end date of the booking period to apply discount --> <Application>PERCENTAGE_BASED or TIME_BASED</Application> <!-- How to apply the discount --> <CalculationMethod>OFFER_PRICE_WHOLE_BOOKING or OFFER_PRICE_DAYS_IN_PERIOD</CalculationMethod> <!-- Period of the
reservation on which the discount applies -->

<MinimumDays>int</MinimumDays> <!-- Minimum number of days of booking to apply discount --> <MaximumDays>int</MaximumDays> <!-- Maximum number of days of booking to apply discount --> <Discount>double</Discount> <!-- Discount rate --> <Titles> <Title> <Language>NL or DE or GB or FR or ES or IT or PT or GR or SW or RU or ID or CH or JP or DK or NO or CZ or CA or PL or HR or TR</Language> <!-- Language of the description of the discount --> <Text>string</Text> <!-- Description of the discount to be displayed on web sites --> </Title> </Titles> </Discount> <Discount> <Name>string</Name> <ValidFrom>dateTime</ValidFrom> <ValidUntil>dateTime</ValidUntil> <MinimumArrival>dateTime</MinimumArrival> <MaximumDeparture>dateTime</MaximumDeparture> <Application>PERCENTAGE_BASED or TIME_BASED</Application> <CalculationMethod>OFFER_PRICE_WHOLE_BOOKING or OFFER_PRICE_DAYS_IN_PERIOD</CalculationMethod> <MinimumDays>int</MinimumDays> <MaximumDays>int</MaximumDays> <Discount>double</Discount> <Titles> <Title>

<Language>NL or DE or GB or FR or ES or IT or PT or GR or SW or RU or ID or CH or JP or DK or NO or CZ or CA or PL or HR or TR</Language> <Text>string</Text> </Title> </Titles> </Discount> </Discounts>

3.i - Surcharges: Arrangement of objects that are sent as parameters in published functions . <Surcharges> <Surcharge> <Name>string</Name> <!-- Name of the surcharge (for internal use) --> <ValidFrom>dateTime</ValidFrom> <!-- Start date of the term of surcharge, if any --> <ValidUntil>dateTime</ValidUntil> <!-- End date of the term of surcharge, if any --> <MinimumArrival>dateTime</MinimumArrival> <!-- Minimum start date of the booking period to apply surcharge --> <MaximumDeparture>dateTime</MaximumDeparture> <!-- Maximum end date of the booking period to apply surcharge --> <Application>PERCENTAGE_BASED or TIME_BASED</Application> <!-- How to apply the surcharge --> <CalculationMethod>OFFER_PRICE_WHOLE_BOOKING or OFFER_PRICE_DAYS_IN_PERIOD</CalculationMethod> <!-- Period of the
reservation on which the surcharge applies -->

<MinimumDays>int</MinimumDays> <!-- Minimum number of days of booking to apply surcharge --> <MaximumDays>int</MaximumDays> <!-- Maximum number of days of booking to apply surcharge --> <Surcharge>double</Surcharge> <!-- Surcharge rate --> <Titles> <Title> <Language>NL or DE or GB or FR or ES or IT or PT or GR or SW or RU or ID or CH or JP or DK or NO or CZ or CA or PL or HR or TR</Language> <!-- Language of the description of the surcharge --> <Text>string</Text> <!-- Description of the surcharge to be displayed on web sites --> </Title> </Titles> </Surcharge> <Surcharge> <Name>string</Name> <ValidFrom>dateTime</ValidFrom>

<ValidUntil>dateTime</ValidUntil> <MinimumArrival>dateTime</MinimumArrival> <MaximumDeparture>dateTime</MaximumDeparture> <Application>PERCENTAGE_BASED or TIME_BASED</Application> <CalculationMethod>OFFER_PRICE_WHOLE_BOOKING or OFFER_PRICE_DAYS_IN_PERIOD</CalculationMethod> <MinimumDays>int</MinimumDays> <MaximumDays>int</MaximumDays> <Surcharge>double</Surcharge> <Titles> <Title> <Language>NL or DE or GB or FR or ES or IT or PT or GR or SW or RU or ID or CH or JP or DK or NO or CZ or CA or PL or HR or TR</Language> <Text>string</Text> </Title> </Titles> </Surcharge> </Surcharges>

3.j- Extras: Arrangement of objects that are sent as parameters in published functions . <Extras> <Extra> <Name>string</Name> <!-- Name of the extra (for internal use) --> <Type>CLEANING or AIRCO or HEATING or BEDS or CHAIRS or CRADLES or PLAYPENS or TOWELLS or ENERGY or PETS or TAXES or RESERVATION or CALAMITY or SKIPPER or INSURANCE or DEPOSIT or OTHER or ACCORDING_TO_CONSUMPTION</Type> <!-- Type of
extra - -->

<Obligatory>EXTRA_IS_OPTIONAL or EXTRA_IS_MANDATORY</Obligatory> <!-- Mandatory or optional extra - --> <CalculationMethod>PER_BOOKING or PER_DAY or PER_BOOKING_PEOPLE or PER_BOOKING_PEOPLE_DAY or PER_BOOKING_PERCENTAGE or PER_ACCOMMODATION_PEOPLE or PER_WEEK</CalculationMethod> <!-- Method of calculation --> <Payable>WHEN_BOOKING or UPON_ARRIVAL or ON_DEPARTURE</Payable> <!-- Time of payment --> <Use>APPLY_ALWAYS or APPLY_BY_SEASONS or APPLY_AIRCO_SEASON or APPLY_HEATING_SEASON</Use> <!-- Application of extra
time -->

<Periods> <Period>

<From>dateTime</From> <!-- Beginning of period of the extra, if any --> <Until>dateTime</Until> <!-- End of period of the extra, if any --> </Period> </Periods> <MaximumQuantity>unsignedByte</MaximumQuantity> <Price>double</Price> <Percentage>double</Percentage> <TaxIncluded>double</TaxIncluded> <Titles> <Title> <Language>NL or DE or GB or FR or ES or IT or PT or GR or SW or RU or ID or CH or JP or DK or NO or CZ or CA or PL or HR or TR</Language> <!-- Language extra description --> <Text>string</Text> <!-- Description of the extra, to be displayed on websites --> </Title> </Titles> </Extra> <Extra> <Name>string</Name> <Type>CLEANING or AIRCO or HEATING or BEDS or CHAIRS or CRADLES or PLAYPENS or TOWELLS or ENERGY or PETS or TAXES or RESERVATION or CALAMITY or SKIPPER or INSURANCE or DEPOSIT or OTHER or ACCORDING_TO_CONSUMPTION</Type> <Obligatory>EXTRA_IS_OPTIONAL or EXTRA_IS_MANDATORY</Obligatory> <CalculationMethod>PER_BOOKING or PER_DAY or PER_BOOKING_PEOPLE or PER_BOOKING_PEOPLE_DAY or PER_BOOKING_PERCENTAGE or PER_ACCOMMODATION_PEOPLE or PER_WEEK</CalculationMethod> <Payable>WHEN_BOOKING or UPON_ARRIVAL or ON_DEPARTURE</Payable> <Use>APPLY_ALWAYS or APPLY_BY_SEASONS or APPLY_AIRCO_SEASON or APPLY_HEATING_SEASON</Use> <Periods> <Period> <From>dateTime</From> <Until>dateTime</Until> </Period> </Periods> <MaximumQuantity>unsignedByte</MaximumQuantity> <Price>double</Price>

<Percentage>double</Percentage> <TaxIncluded>double</TaxIncluded> <Titles> <Title> <Language>NL or DE or GB or FR or ES or IT or PT or GR or SW or RU or ID or CH or JP or DK or NO or CZ or CA or PL or HR or TR</Language> <Text>string</Text> </Title> </Titles> </Extra> </Extras>

4- CONSIDERATIONS

TO TAKE INTO ACCOUNT

- The correct date parameters format is : YYYY-MM-DDTHH:MM:SS (Ej: 2010-12-31T00:00:00) - When making requests from any SOAP client with the POST method, it has to meet strictly the definitions set out in: http://test8.i-rent.net/service/service.asmx?op=Insert_Accommodation http://test8.i-rent.net/service/service.asmx?op=Update_Accommodation

5- AGENT

CODES FOR TESTING

Agent: 29B044E0-DE5B-4788-B73E-AF4E0379F8F6

You might also like