Ejemplo n.º 1
0
 /// <summary>
 /// Sets the reviewer for multiple queue items
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Queues or Queues.Write.
 ///
 /// Required permissions: Queues.View and Transactions.Edit.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='body'>
 /// &lt;para /&gt;UserId - The ID of the user to be set as the reviewer. If not
 /// set, the reviewer is cleared.
 /// &lt;para /&gt;QueueItems - The collection of ids of queue items for which
 /// the reviewer is set.
 /// </param>
 /// <param name='expand'>
 /// Indicates the related entities to be represented inline. The maximum depth
 /// is 2.
 /// </param>
 /// <param name='select'>
 /// Limits the properties returned in the result.
 /// </param>
 /// <param name='xUIPATHOrganizationUnitId'>
 /// Folder/OrganizationUnit Id
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <BulkOperationResponseDtoOfInt64> SetItemReviewerAsync(this IQueueItems operations, QueueItemsSetItemReviewerParameters body = default(QueueItemsSetItemReviewerParameters), string expand = default(string), string select = default(string), long?xUIPATHOrganizationUnitId = default(long?), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.SetItemReviewerWithHttpMessagesAsync(body, expand, select, xUIPATHOrganizationUnitId, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Sets the reviewer for multiple queue items
 /// </summary>
 /// <remarks>
 /// Required permissions: Queues.View and Transactions.Edit.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='setReviewerBulkParameters'>
 /// &lt;para /&gt;UserId - The ID of the user to be set as the reviewer. If not
 /// set, the reviewer is cleared.
 /// &lt;para /&gt;QueueItems - The collection of ids of queue items for which
 /// the reviewer is set.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <BulkOperationResponseDtoInt64> SetItemReviewerAsync(this IQueueItems operations, SetReviewerBulkParameters setReviewerBulkParameters, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     using (var _result = await operations.SetItemReviewerWithHttpMessagesAsync(setReviewerBulkParameters, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }