hello, This is my web api
function retrieveentityCollection()
{
var serverURL = window.parent.Xrm.Page.context.getClientUrl();
var req = new XMLHttpRequest();
req.open("GET", serverURL + "/api/data/v8.0/activitypointers?$select=subject,activitytypecode&$filter=statuscode eq 1", true);
req.setRequestHeader("Accept", "application/json");
req.setRequestHeader("Content-Type", "application/json; charset=utf-8");
req.setRequestHeader("Prefer", "odata.include-annotations=OData.Community.Display.V1.FormattedValue");
req.setRequestHeader("OData-MaxVersion", "4.0");
req.setRequestHeader("OData-Version", "4.0");
req.onreadystatechange = function()
{
if (this.readyState == 4 )
{
req.onreadystatechange = null;
if (this.status == 200)
{
var data = JSON.parse(this.response);
alert(data);
}
else
{
var error = JSON.parse(this.response).error;
alert(error.message);
}
}
};
req.send();
}
i want to display web api records on calendar date i added web api and when i click on date it will show this alert message.
but i will display full records of web api on date
how it can be resolve?
thanx,
*This post is locked for comments