Transfer API



List of cities

http://schedulebull.com/api3.php?key=KEY&q=transphere/locations
Available parameters:
     find :  varchar :  part of city title.
 

List of Routes

http://schedulebull.com/api3.php?key=KEY&q=transphere/routes
Available parameters:
     find :  varchar :  city title.
     id :  int :  route ID. If this is set, then you will receive also price information
     date : date in format YYYY-MM-DD :  this works only if ID is set. Will find price information for exact day and return it as price param
 

Price for route

http://schedulebull.com/api3.php?key=KEY&q=transphere/routePrice
Required parameters:
     from :  varchar :  city title.
     to :  varchar :  city title.
     datetime :  date and time of pickup in format YYYY-MM-DD HH:MM:SS
 

Create reservation

http://schedulebull.com/api3.php?key=KEY&q=transphere/ shedule/save
Required parameters: 
      from :  date and time of period start in format YYYY-MM-DD HH:MM:SS
     till :  date and time of period end in format YYYY-MM-DD HH:MM:SS
     client : varchar : client name and surname
      telnr : varchar : client phone number
      price : double : price of transfer
     place_from : varchar : place to pick up client
      place_to : varchar : place where to transfer client
Available parameters:
      flightNr  : varchar : flight number
     passengers : int : passenger count
      comment : text : comment in free form. If comment first line is in format "email+space+[+language+]", for example "test@example.com [en]", application will use it for integrated email sending in GUI.