Documentation of the CarRentalAgentService

RegionsWithLocationsRequest.DropoffSearchString Property

Gets or sets the search-string of the dropoff - Region or Location, which is either a RegionName, a LocationCode or an AirportCode.

public  DropoffSearchString {get; set;}

Remarks

This property is optional, whereby it has to be handed over as empty string if DropoffLocationId is set.

Due to the different possibilities of input values(RegionName, LocationCode, AirportCode), there was a strict search-algorithm defined, which is described in detail below.

Search-Algorithm:

1.) The search-string consists of exactly three characters(Example:"Mia"):
a)
The RegionsWithLocationsResponse will contain all Regions (and their Locations) whose IATACode is exactly the search-string.
b)
The RegionsWithLocationsResponse will contain all Regions (and their Locations) whose Name is exactly the search-string.
c)
If DoLikeSearch-property was handed over as "True", the RegionsWithLocationsResponse will aditionally contain all Regions (and their Locations) whose Name begins with the search-string.

2.) The search-string consists of exactly four characters:
a)
The RegionsWithLocationsResponse will contain all Locations (and the corresponding Regions) whose LocationCode is in identical with the search-string, concerning the first four characters. For Example a PickupSearchString="MIA0" will deliver the Locations having LocationCode = "MIA01" to "MIA09" and the corresponding Region(Mami Airport), of course.
b)
The RegionsWithLocationsResponse will contain all Regions (and their Locations) whose Name is exactly the search-string.
c)
If DoLikeSearch-property was handed over as "True", the RegionsWithLocationsResponse will aditionally contain all Regions (and their Locations) whose Name begins with the search-string.

3.) The search-string consists of exactly five characters:
a)
The RegionsWithLocationsResponse will contain all Locations (and the corresponding Regions) whose LocationCode is exactly the search-string.
b)
The RegionsWithLocationsResponse will contain all Regions (and their Locations) whose Name is exactly the search-string.
c)
If DoLikeSearch-property was handed over as "True", the RegionsWithLocationsResponse will aditionally contain all Regions (and their Locations) whose Name begins with the search-string.

Attention:
Even if this property named "DropoffSearchString" is set, the returned Regions and Locations may be either, Arrival(Dropoff) or Departure(Pickup) Regions and Locations. The type of returned items is controlled by the RequestType-property.

See Also

RegionsWithLocationsRequest Class | SunnyCars.Schema.Osi.WsReservation.V4 Namespace