GET api/v1/BookableRates?AccountCode={AccountCode}&Country={Country}&City={City}&PlaceType={PlaceType}&VoucherCode={VoucherCode}

If you want to use quoting, it is advisable that you use this method to limit the user input on the UI on available jobs that can be booked

Request Information

URI Parameters

NameDescriptionTypeAdditional information
AccountCode

List of available rates for this account

string

Required

Country

If given, limit results to this country only

string

Default value is Empty

City

If given, limit results to this city only

string

Default value is Empty

PlaceType

If given, find this type of locations only (try L)

string

Default value is L

VoucherCode

If given, find available rates for this voucher and account

string

Default value is Empty

Body Parameters

None.

Response Information

Resource Description

A list of bookable rates

Collection of Address
NameDescriptionTypeAdditional information
AirportCode

Airport Code / Trainstation Code (GLA, LHR, JFK, NYP) if available. If specified, the City and AddressLine1 can be left unset.

string

None.

AddressLine1

First line of the address. Required if AirportCode is blank

string

Required

AddressLine2

Second line of the address

string

None.

AddressLine3

Third line of the address

string

None.

Postcode

Postcode / Zipcode

string

None.

City

Name of the city, Required if AirportCode is blank

string

Required

Country

Name of the Country / ISO Code

string

None.

State

Name of the State / Short Code

string

None.

Longitude

Longitude of the address in WSG84 notation

decimal number

None.

Latitude

Latitude of the address in WSG84 notation

decimal number

None.

PostalAddress

Pass an address from the Google typeahead Dropdown list. You can ignore City and addressLine1 because it will find the city afterwards.

string

None.

GooglePlaceID

Pass a unique identifier from the Google typeahead dropdown list.

string

None.

GoogleUserInputAddress

The address selected from the Google autocomplete, exactly how the user sees it.

string

None.

LocationType

The location type of the address, ie Airport, Train Station, Hotel.

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "airportCode": "sample string 1",
    "addressLine1": "sample string 2",
    "addressLine2": "sample string 3",
    "addressLine3": "sample string 4",
    "postcode": "sample string 5",
    "city": "sample string 6",
    "country": "sample string 7",
    "state": "sample string 8",
    "longitude": 9.1,
    "latitude": 10.1,
    "postalAddress": "sample string 11",
    "googlePlaceID": "sample string 12",
    "googleUserInputAddress": "sample string 13",
    "locationType": "sample string 14"
  },
  {
    "airportCode": "sample string 1",
    "addressLine1": "sample string 2",
    "addressLine2": "sample string 3",
    "addressLine3": "sample string 4",
    "postcode": "sample string 5",
    "city": "sample string 6",
    "country": "sample string 7",
    "state": "sample string 8",
    "longitude": 9.1,
    "latitude": 10.1,
    "postalAddress": "sample string 11",
    "googlePlaceID": "sample string 12",
    "googleUserInputAddress": "sample string 13",
    "locationType": "sample string 14"
  }
]