List of spots
http://schedulebull.com/api3.php?key=KEY&q=service/spotList
Available parameters:
category : varchar : list spots of one category
ID : int : if you want to get only one spot and already know id (to get subject, category, etc)
Booked times for the date
http://schedulebull.com/api3.php?key=KEY&q=service/itemDay
Required parameters:
itemID : int : ID of spot from spotList
date : date : YYYY-MM-DD
Car information
http://schedulebull.com/api3.php?key=KEY&q=service/csddInfo
Required parameters:
vNr : varchar : number without spaces, dashes etc. Only letters and numbers. For example: AA1234
Check free time for spot
http://schedulebull.com/api3.php?key=KEY&q=service/shedule/check
Required parameters:
ID : int : ID of spot from spotList
from : datetime : YYYY-MM-DD HH:MM
till : datetime : YYYY-MM-DD HH:MM
this enpoint will return "error" and "ID" if spot already have planned something in that time period, or "info" if its free to book
Check tyres in storage for the car
http://schedulebull.com/api3.php?key=KEY&q=service/tyres
Required parameters:
vNr : varchar : vehichle registration number
this enpoint will return list of tyres in storage for car
Get client info
http://schedulebull.com/api3.php?key=KEY&q=service/clients
Required parameter (one of):
ID : int : ID of client
telnr : int : phone number of client
Save client data
http://schedulebull.com/api3.php?key=KEY&q=service/clients/save
Available parameters:
ID : int : ID of existing client, if You want to update it
tel : int : phone number of client
name : int : name, surname or company title of client
allowSMS : 1/0 : client agreement to send marketing sms
email : varchar : email of the cleint
clientlanguage : varchar(2) : communication language with client, ISO 639-1 two-letter language code
Get car info
http://schedulebull.com/api3.php?key=KEY&q=service/car
Required parameter (one of):
ID : int : ID of vehichle
vnr : int : vnr of vehichle
Save car info
http://schedulebull.com/api3.php?key=KEY&q=service/cars/save
Available parameters:
ID : int : ID of existing car, if You want to update it
vNr : varchar : vehichle registration number
nextInspection : date : next inspection date of car
regDate : date : registration date of car
owner : int : ID of owner of car
VIN : varchar : VIN number of car
Made : varchar : car manufacturer
Model : varchar : car model
Save new booking
http://schedulebull.com/api3.php?key=KEY&q=service/shedule/save
Required parameters:
from : datetime : YYYY-MM-DD HH:MM
till : datetime : YYYY-MM-DD HH:MM</
item : int : ID of spot from spotList
Available parameters:
editID : int : ID of existing booking, if You want to update it
car : int : ID of car
client : int : ID of client
telnr : int : phone number of client
comment : varchar : comment for booking