Use this class to create a Request for an operation to retrieve a multiple set of Regions.
For a list of all members of this type, see RegionsRequest Members.
System.Object
Request
RegionsRequest
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 GetRegions - Method.
Contrary to the RegionRequest, this request class should be used if you want to operate on multiple regions , i.e. to search a specific Region by name.
Generally the GetRegions - Method is used, in four use-cases.1.) You are searching for sub-Regions located at an already known Parent-Region or Regions located at an already known Country. In this case different variants of GetRegions - Method may be the used. Thereby the properties CountryCode and ParentId are mainly important.
2.) You are looking for Regions whose name matches a search-string. In this case, all variants of GetRegions - Method using the language dependent Name - property would be of interest.
3.) You are looking for Regions that may be chosen as Arrival-Regions by the user of your web-frontend. That is helppful, if the user has already chosen a Departure-Region and wants to return the car at another Region. This use-case is named One-Way-Rental. In this case, all variants of GetRegions - Method using the PickupRegionId - property would be of interest.
4.) You are looking for the alternative Departure-Regions for an already created Reservation. In this case, all of the variants using the ReservationId - parameter would be of interest.
Namespace: SunnyCars.Schema.Osi.WsReservation.V4
Assembly: Sunnycars.Schema.Osi.WsReservation.V4 (in Sunnycars.Schema.Osi.WsReservation.V4.dll)
RegionsRequest Members | SunnyCars.Schema.Osi.WsReservation.V4 Namespace | Region | RegionsResponse