Files
Facilitor/APPL/MGT/aut_app_test_notification.asp
Jos Groot Lipman df29d6954b FCLT#60353 Notificaties nieuwe App via Firebase
svn path=/Website/branches/v2019.2/; revision=45514
2020-01-20 14:31:12 +00:00

27 lines
734 B
Plaintext

<%@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 };
Response.Write(JSON.stringify(result));
%>