Пример #1
0
 /// <summary>
 /// Starts a transaction.
 /// </summary>
 /// <remarks>
 /// Required permissions: Queues.View and Transactions.View and
 /// Transactions.Create and Transactions.Edit.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='startTransactionParameters'>
 /// </param>
 /// <param name='xUIPATHOrganizationUnitId'>
 /// Folder/OrganizationUnit Id
 /// </param>
 public static QueueItemDto StartTransaction(this IQueues operations, StartTransactionParameters startTransactionParameters = default(StartTransactionParameters), long?xUIPATHOrganizationUnitId = default(long?))
 {
     return(operations.StartTransactionAsync(startTransactionParameters, xUIPATHOrganizationUnitId).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Starts a transaction.
 /// </summary>
 /// <remarks>
 /// Required permissions: Queues.View and Transactions.View and
 /// Transactions.Create and Transactions.Edit.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='startTransactionParameters'>
 /// </param>
 public static QueueItemDto StartTransaction(this IQueues operations, StartTransactionParameters startTransactionParameters = default(StartTransactionParameters))
 {
     return(operations.StartTransactionAsync(startTransactionParameters).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Starts a transaction.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Queues or Queues.Write.
 ///
 /// Required permissions: Queues.View and Transactions.View and
 /// Transactions.Create and Transactions.Edit.
 /// </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 StartTransaction(this IQueues operations, QueuesStartTransactionParameters body = default(QueuesStartTransactionParameters), string expand = default(string), string select = default(string), long?xUIPATHOrganizationUnitId = default(long?))
 {
     return(operations.StartTransactionAsync(body, expand, select, xUIPATHOrganizationUnitId).GetAwaiter().GetResult());
 }