/// <summary> /// Adds a new queue item. /// </summary> /// <remarks> /// Required permissions: Queues.View and Transactions.Create. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='queueItemParameters'> /// </param> /// <param name='xUIPATHOrganizationUnitId'> /// Folder/OrganizationUnit Id /// </param> public static QueueItemDto AddQueueItem(this IQueues operations, QueueItemParameters queueItemParameters = default(QueueItemParameters), long?xUIPATHOrganizationUnitId = default(long?)) { return(operations.AddQueueItemAsync(queueItemParameters, xUIPATHOrganizationUnitId).GetAwaiter().GetResult()); }
/// <summary> /// Adds a new queue item. /// </summary> /// <remarks> /// Required permissions: Queues.View and Transactions.Create. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='queueItemParameters'> /// </param> public static QueueItemDto AddQueueItem(this IQueues operations, QueueItemParameters queueItemParameters = default(QueueItemParameters)) { return(operations.AddQueueItemAsync(queueItemParameters).GetAwaiter().GetResult()); }
/// <summary> /// Adds a new queue item. /// </summary> /// <remarks> /// Client Credentials Flow required permissions: Queues or Queues.Write. /// /// Required permissions: Queues.View and Transactions.Create. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='body'> /// </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 QueueItemDto AddQueueItem(this IQueues operations, QueuesAddQueueItemParameters body = default(QueuesAddQueueItemParameters), string expand = default(string), string select = default(string), long?xUIPATHOrganizationUnitId = default(long?)) { return(operations.AddQueueItemAsync(body, expand, select, xUIPATHOrganizationUnitId).GetAwaiter().GetResult()); }