0

Is there anyway to particular crm users appointment details using javascript ODATA or is there any other way.

Thanks Vishnu

Vishnu S
  • 3
  • 1

1 Answers1

0

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);
BlueSam
  • 1,888
  • 10
  • 17