How to call QuerySchedule using WebApi – Andrew Butenko’s Blog

Andrew ButenkoDyn365CE7 years ago122 Views

var context;

 

if (typeof GetGlobalContext === “function”) {

    context = GetGlobalContext();

} else {

    context = Xrm.Page.context;

}

 

var start = new Date(); //Put Start datetime here

 

var end = new Date(); //Put End datetime here

end.setDate(end.getDate() + 1);

 

var requestUrl = “/api/data/v8.2/QuerySchedule(ResourceId=@p1,Start=@p2,End=@p3,TimeCodes=@p4)”;

requestUrl += “?@p1=” +

Continue Reading Andrew Butenko’s Article on their blog

How to call QuerySchedule using WebApi – Andrew Butenko’s Blog

Blog Syndicated with Andrew Butenko’s Permission

0 Votes: 0 Upvotes, 0 Downvotes (0 Points)

Leave a reply

Join Us
  • X Network2.1K
  • LinkedIn3.8k
  • Bluesky0.5K
Support The Site
Events
August 2025
MTWTFSS
     1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
« Jul   Sep »
Follow
Search
Popular Now
Loading

Signing-in 3 seconds...

Signing-up 3 seconds...