Esempio n. 1
0
 /// <summary>
 /// Gets a single process schedule based on its key.
 /// </summary>
 /// <remarks>
 /// Required permissions: Schedules.View.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// key: Id
 /// </param>
 /// <param name='expand'>
 /// Expands related entities inline.
 /// </param>
 /// <param name='select'>
 /// Selects which properties to include in the response.
 /// </param>
 public static ProcessScheduleDto GetById(this IProcessSchedules operations, long id, string expand = default(string), string select = default(string))
 {
     return(operations.GetByIdAsync(id, expand, select).GetAwaiter().GetResult());
 }
Esempio n. 2
0
 /// <summary>
 /// Gets a single process schedule based on its key.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Jobs or Jobs.Read.
 ///
 /// Required permissions: Schedules.View.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// key: Id
 /// </param>
 /// <param name='expand'>
 /// Expands related entities inline.
 /// </param>
 /// <param name='select'>
 /// Selects which properties to include in the response.
 /// </param>
 /// <param name='xUIPATHOrganizationUnitId'>
 /// Folder/OrganizationUnit Id
 /// </param>
 public static ProcessScheduleDto GetById(this IProcessSchedules operations, long id, string expand = default(string), string select = default(string), long?xUIPATHOrganizationUnitId = default(long?))
 {
     return(operations.GetByIdAsync(id, expand, select, xUIPATHOrganizationUnitId).GetAwaiter().GetResult());
 }