/// <summary>
 /// Get spice_exportrequest_Appointments from spice_exportrequests
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='spiceExportrequestid'>
 /// key: spice_exportrequestid of spice_exportrequest
 /// </param>
 /// <param name='activityid'>
 /// key: activityid of appointment
 /// </param>
 /// <param name='select'>
 /// Select properties to be returned
 /// </param>
 /// <param name='expand'>
 /// Expand related entities
 /// </param>
 public static MicrosoftDynamicsCRMappointment AppointmentsByKey(this IExportrequestappointments operations, string spiceExportrequestid, string activityid, IList <string> select = default(IList <string>), IList <string> expand = default(IList <string>))
 {
     return(operations.AppointmentsByKeyAsync(spiceExportrequestid, activityid, select, expand).GetAwaiter().GetResult());
 }