Data Types

XML Schema (XSD)

XML Schema formally describes what a given XML document contains, typically expressed in terms of constraints on the structure and content of documents of that type. More about XML Schema you can find at http://www.w3.org/XML/Schema

GLink XML Schema is available on http://api.groundlink.com/schema. Every GLink request/response pair are validated against GLink XML schema.

Location

Field Type Required Description
for Search for Booking
name String Yes Yes Full location name
address String Address line (number and street name)
city String City or town
postal-code String Zip or postal code
region String State or province
country String ISO 2 digit country code or country name
latitude Double Yes Yes WGS-84 format latitude
longitude Double Yes Yes WGS-84 format longitude
category String Location category, such as Address, Airport, Hotel etc.

Flight

Field Type Required Description
for Search for Booking
airline String Yes Airline company
number String Yes Flight number
arrival-from String Arrival from
terminal String Airport terminal
meeting-area String Yes Meeting area
track-flight Boolean Yes Track flight and update schedule time

TravelPoint

Field Type Required Description
for Search for Booking
location Location Yes Yes Location element
flight Flight Flight element

LimoService

Field Type Required Description
for Search for Booking
Point to point By the hour Point to point By the hour
type* Integer - - - - 0 - Point to Point, 1 - By The Hour
pickup TravelPoint Yes Yes Yes Yes Pickup
destination TravelPoint Yes Yes Destination
stops TravelPoint[] Stops array
round-trip Boolean Round trip
hours Integer Yes Yes Number of hours for By The Hour service
event String Event name for By The Hour service
schedule-time DateTime Yes Yes Date and time of ride (format: M/dd/yyyy hh:mm aa)
vehicle-type String Yes Yes Vehicle type, such as BD, LX, VIP
adults Integer Yes Yes Number of adults
babies Integer Yes Yes Number of babies
luggage Integer Yes Yes Luggage count
passengers Person[] Yes Yes Array of passengers
coupon String Coupon promotion code
search-id String Yes Yes Search response Id

* - Type is always required field and validation of other fields are dependent on type selection

LimoResult

Field Type Description
id Integer Unique Id
vehicle-type String Vehicle type, such as BD, LX, VIP etc
description String Description about vehicle
image-url String Vehicle URL image
notes String Notes about service
base-fare Money Base fare (price without additional charges)
total-fare Money All inclusive price

Reservation

Field Type Required Description
for Booking
id Integer Unique Id
service Service Yes Service elemenent
status ReservationStatus Status Type

Booking

Field Type Required Description
for Booking
id Integer Unique Id
reservations Reservation[] Yes Array of reservations
booker Person Yes Booker information
payment Payment Yes Payment information
notice String Text notice

Payment

Field Type Required Description
for Booking
type Integer Yes 0 - Credit Card, 1 - Account
credit-card CreditCard Yes Credit card element
account Account Yes Account element

CreditCard

Field Type Required Description
for Booking
type String Yes AE, VI, MC, DC
number String Yes Credit card number
expiration String Yes Expiration date (format: MM/yyyy or MM/yy)
security-code String Security code (CVV)
holder-name String Yes Name on credit card

Account

Field Type Required Description
for Booking
number String Yes Account number
authorization-code String Yes Authorization code for account
requirements Requirement[] Array of requirements

Requirement

Field Type Required Description
for Booking
key String Yes Requirement key
value String Yes Requirement value

Person

Field Type Required Description
for Booking
name String Yes First, Middle and Last name
email String Yes Email address
phones String[] Yes Array of telephones

LocationResponse

Field Type Description
locations Location Array of locations

SearchRequest

Field Type Required Description
for Search
limo LimoService Yes LimoService specification

SearchResponse

Field Type Description
limo-results LimoResult[] Array of limo results

BookingRequest

Field Type Required Description
for Booking
booking Booking Yes Booking Request

BookingResponse

Field Type Description
booking Booking Booking response

CancelRequest

Field Type Required Description
for Cancel
booking Booking Yes Cancel Request

CancelResponse

Field Type Description
cancellations Cancellation[] Array of cancellations

Cancellation

Field Type Description
cancellation-id Integer Unique cancellation id
booking-id Integer Booking id
reservation-id Integer Reservation id
charge Decimal Cancellation charge
description String Cancellation description