Overview

Summary

ContactDonateImprint


Appendix E-51: ATTRACTION (UI prompt)


AttractionPartnerAccountModuleBookingCom

Properties (9)

PropertyTypeEntityReferenceModule
(1) AddressLine1STRINGAttraction
(2) AddressLine2STRINGAttraction
(3) DescriptionSTRINGAttraction
(4) LatitudeSTRINGAttraction
(5) LocationCityINTAttractionLocationCityLocationCityModule
(6) LongitudeSTRINGAttraction
(7) NameSTRINGAttraction
(8) PartnerAccountINTAttractionPartnerAccountPartnerAccountModule
(9) PostalCodeSTRINGAttraction


Module Interfaces (8)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /attraction/{id}deleteAttractionById(id)PartnerAccountModuleDELETEAttraction
(2) /attraction/partneraccount/{id}findAllAttractionOfPartnerAccount(id)PartnerAccountModuleGETPartnerAccount Attraction
(3) /attractionschedule/attraction/{id}findAllAttractionScheduleOfAttraction(id)PartnerAccountModuleGETAttraction AttractionSchedule
(4) /attraction/{id}updateAttractionById(attraction)PartnerAccountModulePUTAttraction
(5) /attraction/locationcity/{id}findAllAttractionOfLocationCity(id)PartnerAccountModuleGETLocationCity Attraction
(6) /attractioninsertAttraction(attraction)PartnerAccountModulePOSTAttraction
(7) /attraction/{id}findAttractionById(id)PartnerAccountModuleGETAttraction
(8) /attractionfindAllAttraction()PartnerAccountModuleGETAttraction





Example:

final Attraction attraction = (Attraction) invokeModule(PARTNER_ACCOUNT_MODULE + "/attraction/" + id, Attraction.class);
if (attraction != null) {
    final LocationCity locationcity1 = (LocationCity) invokeModule(LOCATION_CITY_MODULE + "/locationcity/" + attraction.getLocationCity().getId(), LocationCity.class);
    if (locationcity1 != null) {
        final LocationRegion locationregion2 = (LocationRegion) invokeModule(LOCATION_CITY_MODULE + "/locationregion/" + locationcity1.getLocationRegion().getId(), LocationRegion.class);
        if (locationregion2 != null) {
            final LocationCountry locationcountry3 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationregion2.getLocationCountry().getId(), LocationCountry.class);
            if (locationcountry3 != null) {
            }
        }
        final LocationCountry locationcountry4 = (LocationCountry) invokeModule(LOCATION_CITY_MODULE + "/locationcountry/" + locationcity1.getLocationCountry().getId(), LocationCountry.class);
        if (locationcountry4 != null) {
        }
    }
    final PartnerAccount partneraccount5 = (PartnerAccount) invokeModule(PARTNER_ACCOUNT_MODULE + "/partneraccount/" + attraction.getPartnerAccount().getId(), PartnerAccount.class);
    if (partneraccount5 != null) {
    }
}
return attraction;


Overview

Summary

ContactDonateImprint