/// <summary> /// Creates a new release. /// </summary> /// <remarks> /// Client Credentials Flow required permissions: Execution or Execution.Write. /// /// Required permissions: Processes.Create. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='releaseDto'> /// The entity to post /// </param> /// <param name='xUIPATHOrganizationUnitId'> /// Folder/OrganizationUnit Id /// </param> public static ReleaseDto Post(this IReleases operations, ReleaseDto releaseDto, long?xUIPATHOrganizationUnitId = default(long?)) { return(operations.PostAsync(releaseDto, xUIPATHOrganizationUnitId).GetAwaiter().GetResult()); }
/// <summary> /// Creates a new release. /// </summary> /// <remarks> /// Required permissions: Processes.Create. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='releaseDto'> /// The entity to post /// </param> public static ReleaseDto Post(this IReleases operations, ReleaseDto releaseDto) { return(operations.PostAsync(releaseDto).GetAwaiter().GetResult()); }