/// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='xSelectedSchoolCode'>
 /// Selected school code, used when multiple impersonation permissions are
 /// available on the token
 /// </param>
 /// <param name='body'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <PagedResponseDepartmentsExternalResponse> Post5Async(this IKMDStudicaSchoolAdministration operations, string xSelectedSchoolCode = default(string), DepartmentsExternalRequest body = default(DepartmentsExternalRequest), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.Post5WithHttpMessagesAsync(xSelectedSchoolCode, body, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='xSelectedSchoolCode'>
 /// Selected school code, used when multiple impersonation permissions are
 /// available on the token
 /// </param>
 /// <param name='body'>
 /// </param>
 public static PagedResponseDepartmentsExternalResponse Post5(this IKMDStudicaSchoolAdministration operations, string xSelectedSchoolCode = default(string), DepartmentsExternalRequest body = default(DepartmentsExternalRequest))
 {
     return(operations.Post5Async(xSelectedSchoolCode, body).GetAwaiter().GetResult());
 }