Translations:User API guide/50/nl
From SimplyBook.me
$jaar = 2015;
$maand = 3; // maart
$artiestId = 1; // kan null zijn
$werkdagenInfo = $client->getWorkCalendar($jaar, $maand, $artiestId);
// retourneert array(
// '2015-03-01' => array('van' => '09:00:00', 'to' => '18:00:00', 'is_day_off' => 0),
// '2015-03-02' => array('from' => '09:00:00', 'to' => '18:00:00', 'is_day_off' => 0),
// ...
//);
Codevoorbeeld voor het ophalen van de starttijdmatrix
$dateFrom = '2015-03-03';
$dateTo = '2015-03-04';
$serviceId = 1;
$performerId = 1;
$qty = 1;
$availableTime = $client->getStartTimeMatrix($dateFrom, $dateTo, $serviceId, $performerId, $qty);
// retourneert array(
// '2015-03-03' => array('09:00:00', '09:30:00', '10:00:00', ....),
// '2015-03-04' => array('09:00:00', '09:30:00', '10:00:00', ....),
//);