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

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