/// <summary> /// This will list all the processes filtered by package identifier and version /// cross-folder when no current folder is sent by header. /// </summary> /// <remarks> /// Client Credentials Flow required permissions: Execution or Execution.Read. /// /// Required permissions: Processes.View. /// /// Responses: /// 200 OK /// 404 If there is no release for the specified package identifier /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='packageIdentifier'> /// </param> /// <param name='version'> /// </param> /// <param name='mandatoryPermissions'> /// If in a cross-folder scenario, these represent the additional permissions /// required in the folders the data is retrieved from; all permissions in this /// set must be met /// </param> /// <param name='atLeastOnePermissions'> /// If in a cross-folder scenario, these represent the additional permissions /// required in the folders the data is retrieved from; at least one permission /// in this set must be met /// </param> /// <param name='xUIPATHOrganizationUnitId'> /// Folder/OrganizationUnit Id /// </param> public static IList <TestReleaseVersionDto> GetReleasesForPackageVersion(this ITestAutomation operations, string packageIdentifier = default(string), string version = default(string), IList <string> mandatoryPermissions = default(IList <string>), IList <string> atLeastOnePermissions = default(IList <string>), long?xUIPATHOrganizationUnitId = default(long?)) { return(operations.GetReleasesForPackageVersionAsync(packageIdentifier, version, mandatoryPermissions, atLeastOnePermissions, xUIPATHOrganizationUnitId).GetAwaiter().GetResult()); }
/// <summary> /// Client Credentials Flow required permissions: Execution or Execution.Read. /// /// Requires authentication. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='packageIdentifier'> /// </param> /// <param name='version'> /// </param> public static IList <TestReleaseVersionDto> GetReleasesForPackageVersion(this ITestAutomation operations, string packageIdentifier, string version) { return(operations.GetReleasesForPackageVersionAsync(packageIdentifier, version).GetAwaiter().GetResult()); }