<cfsetting showdebugoutput="false">
<cfcontent type="application/json; charset=utf-8" reset="true">
<cfscript>
qTask = queryExecute("
    SELECT TaskID, TaskTypeID, TaskClaimedByUserID, TaskCompletedOn
    FROM Tasks
    WHERE TaskID = 57
", [], { datasource: "payfrit" });

writeOutput(serializeJSON({
    "OK": true,
    "TaskID": qTask.TaskID,
    "TaskTypeID": qTask.TaskTypeID,
    "TaskClaimedByUserID": qTask.TaskClaimedByUserID,
    "TaskCompletedOn": qTask.TaskCompletedOn
}));
</cfscript>
