Name | Signature | Description |
---|
Approve | void Approve(Uri timeOffUri, String unitOfWorkId, String comments) | Approve the specified time off |
BulkDeleteApprovalPaths | TimeOffApprovalPathBulkDeleteResults1 BulkDeleteApprovalPaths(Uri[] approvalPathUris, Uri timeOffApprovalPathBulkDeleteOptionUri) | Delete the specified approval paths |
BulkGetApprovalHistoryDetails | BulkGetTimeOffApprovalHistoryDetailsResult1[] BulkGetApprovalHistoryDetails(Uri[] timeOffUris) | Gets the list of approval actions for the supplied time off. |
BulkGetCurrentlyWaitingOnApprovers | BulkGetTimeOffApproversResult1[] BulkGetCurrentlyWaitingOnApprovers(Uri[] timeOffUris) | Gets the list of approvers whose approval is currently needed for the supplied time offs. |
CreateApproveBatch | Uri CreateApproveBatch(Uri[] timeOffUris, String comments) | Create a batch of time offs to perform the 'approve' approval action upon |
CreateEditApprovalPathDraft | Uri CreateEditApprovalPathDraft(Uri approvalPathUri) | Create an edit draft of a time off approval path. |
CreateForcedApproveBatch | Uri CreateForcedApproveBatch(Uri[] timeOffUris, String comments) | Create a batch of time offs to perform the 'forced approve' approval action upon |
CreateNewApprovalPathDraft | Uri CreateNewApprovalPathDraft() | Create a new time off approval path draft. |
CreateRejectBatch | Uri CreateRejectBatch(Uri[] timeOffUris, String comments) | Create a batch of time offs to perform the 'reject' approval action upon |
CreateReopenBatch | Uri CreateReopenBatch(Uri[] timeOffUris, String comments) | Create a batch of time offs to perform the 'reopen' approval action upon |
CreateSubmitBatch | Uri CreateSubmitBatch(Uri[] timeOffUris, String comments) | Create a batch of time offs to perform the 'submit' approval action upon |
CreateTimeOffOrApplyModifications | TimeOffReference1 CreateTimeOffOrApplyModifications(TimeOffTargetParameter1 target, TimeOffModificationParameter1 modifications, String comments, String unitOfWorkId) | This operation is for creating/updating the timeoff along with submission. This operation also handles reopening submitted timeoffs |
DeleteApprovalPath | void DeleteApprovalPath(Uri approvalPathUri) | Delete an approval path |
DisableApprovalPath | void DisableApprovalPath(Uri approvalPathUri) | Disable a time off approval path. |
EnableApprovalPath | void EnableApprovalPath(Uri approvalPathUri) | Enable a time off approval path. |
ExecuteTimeOffApprovalBatch | TimeOffApprovalBatchResults1 ExecuteTimeOffApprovalBatch(Uri timeOffApprovalBatchUri) | Execute the specified time offs approval batch |
ForceApprove | void ForceApprove(Uri timeOffUri, String unitOfWorkId, String comments) | Force approve the specified time off |
GetAllApprovalPaths | TimeOffApprovalPathReference1[] GetAllApprovalPaths() | Get all time off approval paths. |
GetApprovalHistoryDetails | TimeOffApprovalHistoryDetails1 GetApprovalHistoryDetails(Uri timeOffUri) | Gets the list of approval actions for the supplied time off. |
GetApprovalPathDetails | TimeOffApprovalPathDetails1 GetApprovalPathDetails(Uri approvalPathUri) | Get the details of a time off approval path. |
GetApprovalPathForNewUsers | TimeOffApprovalPathReference1 GetApprovalPathForNewUsers() | Get the default approval path |
GetApprovalPathForUser | TimeOffApprovalPathReference1 GetApprovalPathForUser(Uri userUri) | Get the approval path for the specified user |
GetCurrentlyWaitingOnApprovers | ApproverReference1[] GetCurrentlyWaitingOnApprovers(Uri timeOffUri) | Gets the list of approvers whose approval is currently needed for the supplied time off. |
GetEligibleTimeOffApproverRoles | Uri[] GetEligibleTimeOffApproverRoles() | Get the list of eligible time off approval roles |
GetExpectedApprovers | ApproverReference1[] GetExpectedApprovers(Uri timeOffUri) | Gets the list of approvers expected in the future for this time off. |
GetExpectedApproversForProposedTimeOff | ApproverReference1[] GetExpectedApproversForProposedTimeOff(TimeOffParameter1 timeOff) | Get the list of approvers expected if the proposed time off is submitted for approval |
GetTeamApprovalStatusSummary | TimeOffTeamApprovalStatusSummary1 GetTeamApprovalStatusSummary(Uri userUri, DateRangeParameter1 dateRange) | Get the count of the time offs for the given user's team by approval status. Excludes time offs falling outside of the daterange. |
GetTimeOffApprovalBatchResults | TimeOffApprovalBatchResults1 GetTimeOffApprovalBatchResults(Uri timeOffApprovalBatchUri) | Retrieve results of a completed ExecuteTimeOffApprovalBatch operation. Returns null if the batch has not completed. |
GetUriFromApprovalPathSlug | Uri GetUriFromApprovalPathSlug(String approvalPathSlug) | Get Uri from a time off approval path slug. |
GetUserApprovalStatusSummary | TimeOffUserApprovalStatusSummary1 GetUserApprovalStatusSummary(Uri userUri) | Get the count of time offs for the given user by approval status |
GetUserPermittedApprovalActionsForTimeOff | ApprovalActionReference1[] GetUserPermittedApprovalActionsForTimeOff(Uri userUri, Uri timeOffUri) | Get the permitted approval actions for the given user and time off |
GetUserPermittedApprovalActionSummaryForTimeOff | TimeOffApprovalPermittedActionSummary1 GetUserPermittedApprovalActionSummaryForTimeOff(Uri userUri, Uri timeOffUri) | Get the permitted approval action summary for the given user and time off |
PublishAndSubmitTimeOff | TimeOffReference1 PublishAndSubmitTimeOff(Uri timeOffUri, String comments, String unitOfWorkId) | Publish the specified open time off and submit it. The time off URI must refer to a draft object. |
PublishApprovalPathDraft | TimeOffApprovalPathReference1 PublishApprovalPathDraft(Uri approvalPathUri) | Publish a draft approval path |
PutAndSubmitTimeOff | TimeOffReference1 PutAndSubmitTimeOff(TimeOffParameter3 timeOff, String comments, String unitOfWorkId) | Puts and submits a timeoff in a single service call. Supports script based time off validation. |
PutApprovalPathApprovalRules | void PutApprovalPathApprovalRules(Uri approvalPathUri, TimeOffApprovalPathRuleParameter1[] rules) | Put time off approval path rules. |
Reject | void Reject(Uri timeOffUri, String unitOfWorkId, String comments) | Reject the specified time off |
Reopen | void Reopen(Uri timeOffUri, String unitOfWorkId, String comments) | Reopen the specified time off |
ReopenPutAndSubmitTimeOff2 | TimeOffReference1 ReopenPutAndSubmitTimeOff2(TimeOffParameter2 timeOff, String comments, String unitOfWorkId) | Put the specified non-open time off. The time off must exist already: you cannot create a new one with this service. |
ReopenPutAndSubmitTimeOff3 | TimeOffReference1 ReopenPutAndSubmitTimeOff3(TimeOffParameter3 timeOff, String comments, String unitOfWorkId) | Put the specified non-open time off. The time off must exist already: you cannot create a new one with this service. Caution: This service will delete the timeoff if the operation fails currently. A fix to this is currently behind a feature flag. |
Submit | void Submit(Uri timeOffUri, String unitOfWorkId, String comments) | Submit the specified time off for approval |
UpdateApprovalPathDescription | void UpdateApprovalPathDescription(Uri approvalPathUri, String description) | Update a time off approval path description. |
UpdateApprovalPathForNewUsers | void UpdateApprovalPathForNewUsers(Uri approvalPathUri) | Sets the default approval path |
UpdateApprovalPathForUser | void UpdateApprovalPathForUser(Uri userUri, Uri approvalPathUri) | Update the approval path for the specified user |
UpdateApprovalPathName | void UpdateApprovalPathName(Uri approvalPathUri, String name) | Update a time off approval path name. |
Validate | ValidationResultsSummary1 Validate(Uri approvalPathUri) | Validate the time off approval path |
ValidateApprovalActionForUser | ValidationResultsSummary1 ValidateApprovalActionForUser(Uri timeOffUri, Uri userUri, Uri approvalActionUri) | Ensure whether it would be valid for the supplied user to take the specified approval action with respect to the given time off. |