Ajax utick

Developer
Size
2,233 Kb
Views
32,384

How do I make an ajax utick?

What is a ajax utick? How do you make a ajax utick? This script and codes were developed by Robic on 11 August 2022, Thursday.

Ajax utick Previews

Ajax utick - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>ajax utick</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css">
</head>
<body> <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Ajax utick - Script Codes JS Codes

function connect(){ return $.ajax({ url : "https://api2016.utick.be", type : 'POST', data : JSON.stringify({ "id": 1, "method": "System.ping", "jsonrpc": 2 }) })
}
//log to the account
function log(){ return $.ajax({ url : "https://api2016.utick.be", type : 'POST', data : JSON.stringify({ "id": 3, "method": "System.login", "jsonrpc": 2, "params": { "language": "fr", "applicationid": "51C2F46E-CE22-4BAB-3875-A27A155EFC88" } }) })
}
//list of event
function getActivities(id){ return $.ajax({ url : "https://api2016.utick.be", type : "POST", data : JSON.stringify({ "id": 10, "method": "Activities.get", "jsonrpc": 2, "params": { "sessionid": "qmaqlv17ge7je47qs58meltoa6", "id": "", "includepassed": "", "periodid": "" } }) })
}
//event sell details
function getMev(id){ return $.ajax({ url:"https://api2016.utick.be", type: "POST", data: JSON.stringify({ "id": 13, "method": "Mevs.get", "jsonrpc": 2, "params": { "sessionid": "qmaqlv17ge7je47qs58meltoa6", "id": id, "dateid": "" } }) })
}
connect().then(function(data){ log().then(function(data){ getActivities().then(function(data, id){ //the event var result = data.result; for (var i = 0; i < result.length; i++) { result[i]; var activityId = result[i].id; //console.log(result[i].label + activityId); var activityName = result[i].label; //console.log(result[i].series[0].dates +' '+ activityId); var resultD = result[i].series[0].dates; //the event dates for (var d = 0; d < resultD.length; d++) { resultD[d]; var dI = resultD[d].id; var dN = resultD[d].label; if(dI.length > 0){ //console.log(dI +' '+ dN + ' ' + activityId); } console.log('dI' + dI); }//for getMev().then(function(data){ resultMev = data.result; for(var j = 0; j < resultMev.length; j++){ resultMev[j]; var mev = resultMev[j].datelabel; var mev = resultMev[j].dateid; var mevP = resultMev[j].productfree; //if( mev == 0 ){ //console.log(mev +' '+ "complete" + activityId); //}else{ //console.log(mev +' '+ "Il reste des places"); //} console.log('mev' + mev); }//for })//getMev }//loop })//getActivities })
});
Ajax utick - Script Codes
Ajax utick - Script Codes
Home Page Home
Developer Robic
Username AudreyRBC
Uploaded August 11, 2022
Rating 3
Size 2,233 Kb
Views 32,384
Do you need developer help for Ajax utick?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Robic (AudreyRBC) Script Codes
Create amazing blog posts with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!