Use this class to create a Request for an operation to retrieve a list of Regions with encapsulated Locations. The use of this method is recommended to create a (lazy loading) TreeView of Regions and Locations. The returned Regions are located on the same Level, if ParentId is handed over. For Regions having HasLocations-property set as "True", the corresponding Locations are delivered in the Locations-property.
For a list of all members of this type, see RegionsTreeRequest Members.
System.Object
Request
RegionsTreeRequest
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
An instance of this class has to be used for a call to SOAP-Implementation of GetRegionsTree - Method.
This method allows to request the CarRentalAgentService for a list of Regions of one Level, whereby one level means a list of countries, federal states or Cities and Airports. Furthermore it is possible to request all Regions, whose Name matches a search-string. Thereby the directly linked Locations are delivered within an embeded list for each Region-object in the Locations-proeprty too. The delivered Locations are filtered in terms of opening hours and stopsales, depending on the DepartureDateTime and ArrivalDateTime handed over in the corresponding RegionsTreeRequest.For the reasons mentioned above, the GetRegionsTree - Method is the appropriate method to provide the data for a lazy loading tree-view in your web-frontend.
Namespace: SunnyCars.Schema.Osi.WsReservation.V4
Assembly: Sunnycars.Schema.Osi.WsReservation.V4 (in Sunnycars.Schema.Osi.WsReservation.V4.dll)
RegionsTreeRequest Members | SunnyCars.Schema.Osi.WsReservation.V4 Namespace | Location | Region | RegionsTreeResponse