/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='studentIds'> /// Student ids for bulk query. Must contain 1 to 1000 elements /// </param> /// <param name='schoolCode'> /// String The school code for which to get data. /// </param> /// <param name='xSelectedSchoolCode'> /// Selected school code, used when multiple impersonation permissions are /// available on the token /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IList <BridgingCourseStudentExternalResponse> > PostAsync(this IBulkBridgingCourseStudentsExternal operations, IList <System.Guid> studentIds, string schoolCode, string xSelectedSchoolCode = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.PostWithHttpMessagesAsync(studentIds, schoolCode, xSelectedSchoolCode, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='studentIds'> /// Student ids for bulk query. Must contain 1 to 1000 elements /// </param> /// <param name='schoolCode'> /// String The school code for which to get data. /// </param> /// <param name='xSelectedSchoolCode'> /// Selected school code, used when multiple impersonation permissions are /// available on the token /// </param> public static IList <BridgingCourseStudentExternalResponse> Post(this IBulkBridgingCourseStudentsExternal operations, IList <System.Guid> studentIds, string schoolCode, string xSelectedSchoolCode = default(string)) { return(operations.PostAsync(studentIds, schoolCode, xSelectedSchoolCode).GetAwaiter().GetResult()); }