/// <summary> /// Get adoxio_event_ServiceAppointments from adoxio_events /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='adoxioEventid'> /// key: adoxio_eventid of adoxio_event /// </param> /// <param name='activityid'> /// key: activityid of serviceappointment /// </param> /// <param name='select'> /// Select properties to be returned /// </param> /// <param name='expand'> /// Expand related entities /// </param> public static MicrosoftDynamicsCRMserviceappointment ServiceAppointmentsByKey(this IEventserviceappointments operations, string adoxioEventid, string activityid, IList <string> select = default(IList <string>), IList <string> expand = default(IList <string>)) { return(operations.ServiceAppointmentsByKeyAsync(adoxioEventid, activityid, select, expand).GetAwaiter().GetResult()); }