/// <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'> /// <para />UserId - The ID of the user to be set as the reviewer. If not /// set, the reviewer is cleared. /// <para />QueueItems - The collection of ids of queue items for which /// the reviewer is set. /// </param> public static BulkOperationResponseDtoInt64 SetItemReviewer(this IQueueItems operations, SetReviewerBulkParameters setReviewerBulkParameters) { return(operations.SetItemReviewerAsync(setReviewerBulkParameters).GetAwaiter().GetResult()); }
/// <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'> /// <para />UserId - The ID of the user to be set as the reviewer. If not /// set, the reviewer is cleared. /// <para />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> public static BulkOperationResponseDtoOfInt64 SetItemReviewer(this IQueueItems operations, QueueItemsSetItemReviewerParameters body = default(QueueItemsSetItemReviewerParameters), string expand = default(string), string select = default(string), long?xUIPATHOrganizationUnitId = default(long?)) { return(operations.SetItemReviewerAsync(body, expand, select, xUIPATHOrganizationUnitId).GetAwaiter().GetResult()); }
/// <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'> /// <para />UserId - The ID of the user to be set as the reviewer. If not /// set, the reviewer is cleared. /// <para />QueueItems - The collection of ids of queue items for which /// the reviewer is set. /// </param> /// <param name='xUIPATHOrganizationUnitId'> /// Folder/OrganizationUnit Id /// </param> public static BulkOperationResponseDtoInt64 SetItemReviewer(this IQueueItems operations, SetReviewerBulkParameters setReviewerBulkParameters, long?xUIPATHOrganizationUnitId = default(long?)) { return(operations.SetItemReviewerAsync(setReviewerBulkParameters, xUIPATHOrganizationUnitId).GetAwaiter().GetResult()); }