ITimesheetApprovalService1

Operations

NameSignatureDescription
Approvevoid Approve(Uri timesheetUri, String unitOfWorkId, String comments)Approve the specified timesheet
BulkDeleteApprovalPathsTimesheetApprovalPathBulkDeleteResults1 BulkDeleteApprovalPaths(Uri[] approvalPathUris, Uri timesheetApprovalPathBulkDeleteOptionUri)Delete the specified approval paths
BulkGetTimesheetApprovalDetailsTimesheetApprovalDetails1[] BulkGetTimesheetApprovalDetails(Uri[] timesheetUris)Gets the list of approval actions for the specified timesheets.
BulkGetTimesheetApprovalDetails2TimesheetApprovalDetailsBulkGetResult1 BulkGetTimesheetApprovalDetails2(TimesheetTargetParameter1[] timesheets)Gets the list of approval actions for the specified timesheets.
CreateApproveBatchUri CreateApproveBatch(Uri[] timesheetUris, String comments)Create a batch of timesheets to perform the 'approve' approval action upon
CreateEditApprovalPathDraftUri CreateEditApprovalPathDraft(Uri approvalPathUri)Create an edit draft of a timesheet approval path.
CreateForcedApproveBatchUri CreateForcedApproveBatch(Uri[] timesheetUris, String comments)Create a batch of timesheets to perform the 'forced approve' approval action upon
CreateNewApprovalPathDraftUri CreateNewApprovalPathDraft()Create a new timesheet approval path draft.
CreateRejectBatchUri CreateRejectBatch(Uri[] timesheetUris, String comments)Create a batch of timesheets to perform the 'reject' approval action upon
CreateReopenBatchUri CreateReopenBatch(Uri[] timesheetUris, String comments)Create a batch of timesheets to perform the 'reopen' approval action upon
CreateSubmitBatch2Uri CreateSubmitBatch2(Uri[] timesheetUris, String comments, Uri[] submitOptions)Create a batch of timesheets to perform the 'submit' approval action upon
DeleteApprovalPathvoid DeleteApprovalPath(Uri approvalPathUri)Delete an approval path
DisableApprovalPathvoid DisableApprovalPath(Uri approvalPathUri)Disable a timesheet approval path.
EnableApprovalPathvoid EnableApprovalPath(Uri approvalPathUri)Enable a timesheet approval path.
ExecuteTimesheetApprovalBatch2TimesheetApprovalBatchResults2 ExecuteTimesheetApprovalBatch2(Uri timesheetApprovalBatchUri)Execute the specified timesheet approval batch
ForceApprovevoid ForceApprove(Uri timesheetUri, String unitOfWorkId, String comments)Force approve the specified timesheet
GetAllApprovalPathsTimesheetApprovalPathReference1[] GetAllApprovalPaths()Get all timesheet approval paths.
GetAllApprovalStatusSummaryTimesheetApprovalStatusSummary1 GetAllApprovalStatusSummary()Get the count of all timesheets by approval status
GetApprovalPathDetails2TimesheetApprovalPathDetails1 GetApprovalPathDetails2(Uri approvalPathUri)Get the details of a timesheet approval path.
GetApprovalPathForNewUsersTimesheetApprovalPathReference1 GetApprovalPathForNewUsers()Get the default approval path template.
GetApprovalPathForUserTimesheetApprovalPathReference1 GetApprovalPathForUser(Uri userUri)Get the approval path for the specified user
GetCurrentlyWaitingOnApproversApproverReference1[] GetCurrentlyWaitingOnApprovers(Uri timesheetUri)Gets the list of approvers whose approval is currently needed for the specified timesheet. This does not list approvers who have already approved.
GetDueDatePolicyUri GetDueDatePolicy()Get the timesheet due date policy
GetEligibleTimesheetApproverRolesUri[] GetEligibleTimesheetApproverRoles()Get the list of eligible timesheet approval roles
GetExpectedApproversApproverReference1[] GetExpectedApprovers(Uri timesheetUri)Gets the list of approvers expected in the future for this timesheet.
GetPageOfApprovalPathsByTextSearchTimesheetApprovalPathReference1[] GetPageOfApprovalPathsByTextSearch(Int32 page, Int32 pageSize, ApprovalPathTextSearchParameter1 textSearch)Searches for approval paths matching a given text search parameter.
GetTeamApprovalStatusSummaryTimesheetTeamApprovalStatusSummary1 GetTeamApprovalStatusSummary(Uri userUri)Get the count of the timesheets for the giver user's team by approval status
GetTimesheetApprovalBatchResults2TimesheetApprovalBatchResults2 GetTimesheetApprovalBatchResults2(Uri timesheetApprovalBatchUri)Retrieve results of a ExecuteTimesheetApprovalBatch operation. Returns null if the batch has not completed.
GetTimesheetApprovalDetails2TimesheetApprovalDetails1 GetTimesheetApprovalDetails2(Uri timesheetUri)Gets the list of approval actions for the specified timesheet.
GetTimesheetApprovalSummaryTimesheetApprovalSummary1 GetTimesheetApprovalSummary(Uri timesheetUri)Gets the timesheet approval summary.
GetTimesheetApprovalSummary2TimesheetApprovalSummary2 GetTimesheetApprovalSummary2(Uri timesheetUri)Gets the timesheet approval summary.
GetTimesheetApprovalSummary3TimesheetApprovalSummary2 GetTimesheetApprovalSummary3(Uri timesheetUri, Uri[] approvalSummaryOptions)Gets the timesheet approval summary. Can exclude fetching certain fields by passing appropriate Uris in approvalSummaryOptions.
GetUriFromApprovalPathSlugUri GetUriFromApprovalPathSlug(String approvalPathSlug)Get Uri from a timesheet approval path slug.
GetUserApprovalStatusSummaryTimesheetUserApprovalStatusSummary1 GetUserApprovalStatusSummary(Uri userUri)Get the count of the timesheets for the given user by approval status
GetUserPermittedApprovalActionsForTimesheetApprovalActionReference1[] GetUserPermittedApprovalActionsForTimesheet(Uri userUri, Uri timesheetUri)Get the permitted approval actions for the given user and timesheet
GetUserPermittedApprovalActionSummaryForTimesheetTimesheetApprovalPermittedActionSummary1 GetUserPermittedApprovalActionSummaryForTimesheet(Uri userUri, Uri timesheetUri)Get the permitted approval action summary for the given user and timesheet
PublishApprovalPathDraftTimesheetApprovalPathReference1 PublishApprovalPathDraft(Uri approvalPathUri)Publish a draft approval path
PutApprovalPathApprovalRules2void PutApprovalPathApprovalRules2(Uri approvalPathUri, TimesheetApprovalPathRuleParameter1[] rules)Put timesheet approval path rules.
PutInOutTimesheetThenValidateApprovalAction3InOutTimesheetPutThenValidateApprovalActionResults3 PutInOutTimesheetThenValidateApprovalAction3(InOutTimesheetParameter3 parameter, Uri approvalAction, String changeReason)Put the contents of the specified timesheet and return validation results or a particular approval action. The 'put' completes even if the validation of the specified approval action is not valid.
PutStandardTimesheetThenValidateApprovalAction2StandardTimesheetPutThenValidateApprovalActionResults1 PutStandardTimesheetThenValidateApprovalAction2(StandardTimesheetParameter2 timesheet, Uri approvalAction, String changeReason)Put an entire 'standard format' timesheet and return validation results or a particular approval action. The 'put' completes even if the validation of the specified approval action is not valid.
Rejectvoid Reject(Uri timesheetUri, String unitOfWorkId, String comments)Reject the specified timesheet
Reopenvoid Reopen(Uri timesheetUri, String unitOfWorkId, String comments)Reopen the specified timesheet
ReopenPutAndSubmitInOutTimesheet3InOutTimesheetReopenPutAndSubmitResults3 ReopenPutAndSubmitInOutTimesheet3(InOutTimesheetParameter3 parameter, String comments, String unitOfWorkId, String changeReason)Put the contents of the specified non-open timesheet
ReopenPutAndSubmitStandardTimesheet2StandardTimesheetReopenPutAndSubmitResults1 ReopenPutAndSubmitStandardTimesheet2(StandardTimesheetParameter2 timesheet, String comments, String unitOfWorkId, String changeReason)Put an entire 'standard format' non-open timesheet
Submit2void Submit2(Uri timesheetUri, String unitOfWorkId, String comments, String changeReason)Submit the specified timesheet for approval
UpdateApprovalPathDescriptionvoid UpdateApprovalPathDescription(Uri approvalPathUri, String description)Update a timesheet approval path description.
UpdateApprovalPathForNewUsersvoid UpdateApprovalPathForNewUsers(Uri approvalPathUri)Sets the default approval path template
UpdateApprovalPathForUservoid UpdateApprovalPathForUser(Uri userUri, Uri approvalPathUri)Update the approval path for the specified user
UpdateApprovalPathNamevoid UpdateApprovalPathName(Uri approvalPathUri, String name)Update a timesheet approval path name.
UpdateDueDatePolicyvoid UpdateDueDatePolicy(Uri dueDatePolicy)Update the timesheet due date policy
ValidateValidationResultsSummary1 Validate(Uri approvalPathUri)Validate the timesheet approval path
ValidateInOutTimesheetForApprovalAction2InOutTimesheetValidationResultsSummary3 ValidateInOutTimesheetForApprovalAction2(Uri timesheetUri, Uri approvalAction)Validate a timesheet
ValidateStandardTimesheetForApprovalActionStandardTimesheetValidationResultsSummary1 ValidateStandardTimesheetForApprovalAction(Uri timesheetUri, Uri approvalAction)Validate a timesheet