function HTTP_PUT()
 {
     $json = new paloSantoJSON();
     $data = file_get_contents('php://input');
     $pCore_calendar = new core_Calendar();
     $result = $pCore_calendar->eventDifferentialSync($data);
     if (!$result) {
         $error = $pCore_calendar->getError();
         if ($error["fc"] == "DBERROR") {
             header("HTTP/1.1 500 Internal Server Error");
         } else {
             header("HTTP/1.1 400 Bad Request");
         }
         $json->set_status("ERROR");
         $json->set_error($error);
         return $json->createJSON();
     } else {
         $json = new Services_JSON();
         $response["ticket_queue"] = $result;
         return $json->encode($response);
     }
 }