Is there anyway to particular crm users appointment details using javascript ODATA or is there any other way.
Thanks Vishnu
Is there anyway to particular crm users appointment details using javascript ODATA or is there any other way.
Thanks Vishnu
You can use the Rest JavaScript SDK to do so.
var retrieveAppointmentsCallBack = function(results){
for(var i = 0;i<results.length;i++){
var appointment = results[i];
//do something
}
}
var options = "$filter=OwnerId\Id eq guid'" + userId + "'";
SDK.REST.retrieveMultipleRecords("AppointmentSet", options, retrieveAppointmentsCallBack, function (error) { alert(error.message); }, appointmentsRetrieveComplete);