Documentation of the CarRentalAgentService

Location Class

This class represents a specific car rental location, where Sunny Cars offers car rentals.

For a list of all members of this type, see Location Members.

System.Object
   Data
      Location

public class Location : Data

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

Available Locations can be requested using multiple methods of the CarRentalAgentService.

But in general there are four different ways:

1.) You are searching for Locations located at an already known Region. In this case the different variants of GetLocations - Method may be the first choice.

2.) You are looking for both Regions and the Locations located within these Regions. Then the different variants of GetRegionsWithLocations - Method or GetRegionsTree - Method meet your demands.

3.) You are looking for the Locations where an already known Rate can be booked. To achieve this, there's only one variant of GetLocations - Method, namely GetLocationsP7.

4.) You need some more detailed information about a single Location of which the only thing you know about is the Id. In this case please use the different variants of GetLocation - Method.

A Location-object includes all information about one single Station.

Requirements

Namespace: SunnyCars.Schema.Osi.WsReservation.V4

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

See Also

Location Members | SunnyCars.Schema.Osi.WsReservation.V4 Namespace | LocationRequest | LocationResponse | LocationsRequest | LocationsResponse