Documentation of the CarRentalAgentService

RegionsWithLocationsRequest Class

Use this class to create a Request for an operation to retrieve a list of Regions with encapsulated Locations. 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 RegionsWithLocationsRequest Members.

System.Object
   Request
      RegionsWithLocationsRequest

public class RegionsWithLocationsRequest : Request

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

An instance of this class has to be used for a call to SOAP-Implementation of GetRegionsWithLocations - Method.

This Request allows to request the CarRentalAgentService for a list of Regions, whose Name matches a search-string. Furthermore it is possible to request Pickup-Regions fo an already known dropoff-Location and vice versa. This possibility makes the GetRegionsWithLocations - Method a very powerful Tool while searching for Pickup- and Dropoff-Destinations. 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 RegionsWithLocationsRequest.

If you're looking for a method providing the data for a lazy loading tree-view in your web-frontend, please refer to GetRegionsTree - Method.

Requirements

Namespace: SunnyCars.Schema.Osi.WsReservation.V4

Assembly: Sunnycars.Schema.Osi.WsReservation.V4 (in Sunnycars.Schema.Osi.WsReservation.V4.dll)

See Also

RegionsWithLocationsRequest Members | SunnyCars.Schema.Osi.WsReservation.V4 Namespace | Location | Region | RegionsWithLocationsResponse