<%@language = "javascript" %>
<% /*
     $Revision$
     $Id$

     File:               aut_app_test_notification.asp
     Description:        Stuur een test notificatie naar alle apps van de gebruiker
     Parameters:
     Context:
     Note:

*/ %>

<%
var JSON_Result = true;
%>
<!-- #include file="../Shared/common.inc" -->
<%
protectRequest.validateToken();

var msg = "Facilitor {0} test notification\nSent from {1}\nSent to {2} ({3})\nSubmitted at {4}".format(customerId, HTTP.urlzelf(), user.naam(), user_key, toDateTimeString(new Date(), true));
var puo_result = putorders.sendAPP(user_key, msg, "appl/pda/user_info.asp");

var result = { success: true, message: msg };

Response.Write(JSON.stringify(result));
%><% ASPPAGE_END(); %> 
