API reference
Application Programming Interface for car rental brokers
This page contains detailed API documentation to- retrieve office locations- retrieve vehicle availability and price information- save and cancel reservations- retrieve reservation information
GET Office locations (json_locations.php)
POST Vehicle availability (json_vehavailrate.php)
POST Vehicle equipments (json_equipments.php)
POST Vehicle reservation (json_vehres.php)
POST Vehicle reservation details (json_vehretres.php)
POST Cancel reservation (json_vehcancel.php)
GET Office locations (json_locations.php)
DESCRIPTION
Returns all office locations. Request parameters not required.
REQUEST
RESPONSE
Parameters
code
Name
type
Address
City
PostalCode
Country
Phone
LocationX
LocationY
MonOpen
MonClose
TueOpen
TueClose
WedOpen
WedClose
ThuOpen
ThuClose
FriOpen
FriClose
SatOpen
SatClose
SunOpen
SunClose
minNoticeTime
Service24h
Data type
String
String
String
String
String
String
String
String
String
Float
Float
String
String
String
String
String
String
String
String
String
String
String
String
String
String
String
Integer
Mandatory
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
Description
ID of the Office
Name of the office
type of the office: city/airport/rws (railway station) post
address of the office
City of the Office
Postal Code of the Office
Country of the Office
Phone number of the office
Email address of the office
Horizontal coordinates for the location
Vertical coordinates for the location
Monday Office Opening time
Monday Office Closing Time
Tuesday Office Opening time
Tuesday Office Closing Time
Wednesday Office Opening time
Wednesday Office Closing Time
Thursday Office Opening time
Thursday Office Closing Time
Friday Office Opening time
Friday Office Closing Time
Saturday Office Opening time
Saturday Office Closing Time
Sunday Office Opening time
Sunday Office Closing Time
Minimum time the car rental company needs to arrange the car i.e. time between making the reservation and time when rental can begin
Information If there is 24h pickup and return available outside office hours (0/1)
EXAMPLE
Request
Response
{ “Locations”: [ { “Code”: HELA, “Name”: “Helsinki-Vantaa Airport”, “Type”: “Airport”, “Address”: “Lentoasemantie 1”, “City”: “Vantaa”, “PostalCode”: “01530”, “Country”: “Finland”, “Phone”: “+35820014636”, “Email”: “name@finavia.fi”, “LocationX”: “60.3180465”, “LocationY”: “24.9595873”, “MonOpen”: “08:00”, “MonClose”: “16:00”, “TueOpen”: “08:00”, “TueClose”: “16:00”, “WedOpen”: “08:00”, “WedClose”: “16:00”, “ThuOpen”: “08:00”, “ThuClose”: “16:00”, “FriOpen”: “08:00”, “FriClose”: “16:00”, “SatOpen”: “09:00”, “SatClose”: “16:00”, “SunOpen”: “00:00”, “SunClose”: “00:00”, “minNoticeTime”: “1”, “Service24h”: “1” }, { “Code”: HELC, “Name”: “Helsinki City”, “Type”: City, “Address”: “Pohjoisesplanadi 11-13”, “City”: “Helsinki”, “PostalCode”: “00099”, “Country”: “Finland”, “Phone”: “+358931011111”, “Email”: “name@hel.fi”, “LocationX”: “60.1698374”, “LocationY”: “24.9352095”, “MonOpen”: “08:00”, “MonClose”: “16:00”, “TueOpen”: “08:00”, “TueClose”: “16:00”, “WedOpen”: “08:00”, “WedClose”: “16:00”, “ThuOpen”: “08:00”, “ThuClose”: “16:00”, “FriOpen”: “08:00”, “FriClose”: “16:00”, “SatOpen”: “00:00”, “SatClose”: “00:00”, “SunOpen”: “00:00”, “SunClose”: “00:00”, “minNoticeTime”: “24”, “Service24h”: “0” } ]}