Helios Auto ApS, Tølløsevej 47, DK-2700 Brønshøj - +45 4457 0088 - hotline@heliosauto.dk
<!DOCTYPE html>
<html>
<!-- HELIOS WebServices Demo. Copyright (C) 2017,2018 Torben Ring. -->
<head>
<meta http-equiv="content-type" content="text/html; charset=Windows-1252">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="css/style.css">
<script type="text/javascript" src="js/jquery-3.2.1.min.js"></script>
</head>
<body onload="OnPageLoaded()">
<script type="text/javascript">
function DoQuery()
{
var Query = { Proxy:
{ Function: "HeliosWs",
HostName: "xxxxx",
UserName: "yyyyy",
Password: "zzzzz",
ReportName: "webservice"
},
AuthenticationType: "SYSTEM",
Username: "16984205",
Password: "8G56A2NrB",
Function: "GetCustomerList",
FromCustomerNo: "44570088",
ToCustomerNo: "",
CustomerGrp: "",
Email: "",
Mobile: ""
};
jQuery.ajax({ url: "http://wsproxy.rst.dk:8081/wsproxy.sys",
type: "POST",
contentType: "text/plain; charset=utf-8",
crossDomain: true,
async: true,
cache: false,
timeout: 60000, // Millisecs.
data: JSON.stringify(Query),
dataType: "json",
success: function (AData)
{
alert(JSON.stringify(AData));
},
error: function ()
{
alert("WSProxy comms error!");
}
});
}
function OnPageLoaded()
{
DoQuery();
}
</script>
</body>
</html>