$response = BLAM::becomeChildTicket($_POST['id'], $_POST['parent_id']); // returns null or exception break; case 'becomeParentTicket': BLAM::checkLogged(); $response = BLAM::becomeParentTicket($_POST['id']); // returns null or exception break; case 'getAutotext': BLAM::checkLogged(); $response = BLAM::getAutotext(); // returns null or exception break; case 'getReminders': BLAM::checkLogged(); $response = BLAM::getReminders($_POST['timestamp_day']); // returns null or exception break; case 'getTaskDetail': BLAM::checkLogged(); $response = BLAM::getTaskDetail($_POST['id']); break; case 'confirmNotification': BLAM::checkLogged(); $response = BLAM::confirmNotification($_POST['ticket_id'], $_POST['update_id'], $_POST['type']); break; case 'getSMSList': BLAM::checkLogged(); $response = BLAM::getSMSList($_POST['handled'], $_POST['first_id'], $_POST['timestamp_last_update']); break; case 'getSMS':