Esempio n. 1
0
 /// <summary>
 /// Creates a new process schedule.
 /// </summary>
 /// <remarks>
 /// Required permissions: Schedules.Create.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='processScheduleDto'>
 /// The entity to post
 /// </param>
 public static ProcessScheduleDto Post(this IProcessSchedules operations, ProcessScheduleDto processScheduleDto)
 {
     return(operations.PostAsync(processScheduleDto).GetAwaiter().GetResult());
 }
Esempio n. 2
0
 /// <summary>
 /// Creates a new process schedule.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Jobs or Jobs.Write.
 ///
 /// Required permissions: Schedules.Create.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='processScheduleDto'>
 /// The entity to post
 /// </param>
 /// <param name='xUIPATHOrganizationUnitId'>
 /// Folder/OrganizationUnit Id
 /// </param>
 public static ProcessScheduleDto Post(this IProcessSchedules operations, ProcessScheduleDto processScheduleDto, long?xUIPATHOrganizationUnitId = default(long?))
 {
     return(operations.PostAsync(processScheduleDto, xUIPATHOrganizationUnitId).GetAwaiter().GetResult());
 }