IExpenseService1

Operations

NameSignatureDescription
BulkDeleteExpenseCodesExpenseCodeBulkDeleteResults1 BulkDeleteExpenseCodes(Uri[] expenseCodeUris, Uri expenseCodeBulkDeleteOptionUri)Delete the specified expense codes.
BulkGetExpenseCodeDetailsExpenseCodeDetails1[] BulkGetExpenseCodeDetails(Uri[] expenseCodeUris)Get expense codes Details
BulkGetExpenseSheetDetailsExpenseSheetDetails1[] BulkGetExpenseSheetDetails(Uri[] expenseSheetUris)Get the details of the specified expense sheets
CreateEditExpenseCodeDraftUri CreateEditExpenseCodeDraft(Uri expenseCodeUri)Create a draft of an existing expense code.
CreateEditExpenseSheetDraftUri CreateEditExpenseSheetDraft(Uri expenseSheetUri)Create a draft of an existing expense sheet.
CreateExpenseSheetDeleteBatchUri CreateExpenseSheetDeleteBatch(Uri[] expenseSheetUris, Uri expenseSheetBulkDeleteOptionUri)Create a batch for bulk deleting expense sheets
CreateExpenseSheetReimbursementBatchUri CreateExpenseSheetReimbursementBatch(Uri[] expenseUris, Uri expenseReimbursementOptionUri)Create a batch for changing the reimbursement state of the specified expenses
CreateNewExpenseCodeDraftUri CreateNewExpenseCodeDraft()Create a new expense code draft.
CreateNewExpenseSheetDraftUri CreateNewExpenseSheetDraft(Uri ownerUri)Create a new expense sheet draft.
DeleteExpenseCodevoid DeleteExpenseCode(Uri expenseCodeUri)Delete an expense code from the system. An expense code cannot be deleted if expenses have been entered against it already.
DeleteExpenseSheetvoid DeleteExpenseSheet(Uri expenseSheetUri)Delete the specified expense sheet from the system.
DisableExpenseCodevoid DisableExpenseCode(Uri expenseCodeUri)Disable the expense code, preventing any new expenses from being entered against this code
EnableExpenseCodevoid EnableExpenseCode(Uri expenseCodeUri)Enable expense code, allowing new expenses to be entered against this code
ExecuteExpenseReimbursementBatchExpenseReimbursementBatchResults1 ExecuteExpenseReimbursementBatch(Uri expenseReimbursementBatchUri)Delete the specified expense sheets.
ExecuteExpenseSheetDeleteBatchExpenseSheetDeleteBatchResults1 ExecuteExpenseSheetDeleteBatch(Uri expenseSheetDeleteBatchUri)Delete the specified expense sheets.
GetAllExpenseCodesExpenseCodeDetails1[] GetAllExpenseCodes()Get all enabled expense codes
GetCountOfClientsAvailableForExpenseEntryFilteredByTextSearchInt32 GetCountOfClientsAvailableForExpenseEntryFilteredByTextSearch(Uri expenseSheetUri, ClientTextSearchParameter1 textSearch)Get the number of clients available for use on a given expense sheet
GetCountOfExpenseCodesAvailableForExpenseEntryFilteredByProjectAndTextSearchInt32 GetCountOfExpenseCodesAvailableForExpenseEntryFilteredByProjectAndTextSearch(Uri expenseSheetUri, Uri projectUri, ExpenseCodeTextSearchParameter1 textSearch)Get the number of expense codes available for use on a given expense sheet on a given project
GetCountOfProgramsAvailableForExpenseEntryFilteredByTextSearchInt32 GetCountOfProgramsAvailableForExpenseEntryFilteredByTextSearch(Uri expenseSheetUri, ProgramTextSearchParameter1 textSearch)Get the number of programs available for use on a given expense sheet
GetCountOfProjectsAvailableForExpenseEntryFilteredByClientAndTextSearchInt32 GetCountOfProjectsAvailableForExpenseEntryFilteredByClientAndTextSearch(Uri expenseSheetUri, Uri clientUri, ProjectTextSearchParameter1 textSearch, Uri clientNullFilterBehaviorUri)Get the number of projects available for use on a given expense sheet
GetCountOfProjectsAvailableForExpenseEntryFilteredByProgramAndTextSearchInt32 GetCountOfProjectsAvailableForExpenseEntryFilteredByProgramAndTextSearch(Uri expenseSheetUri, Uri programUri, ProjectTextSearchParameter1 textSearch, Uri programNullFilterBehaviorUri)Get the number of projects available for use on a given expense sheet filtered by program and/or text search
GetCountOfTasksAvailableForExpenseEntryFilteredByProjectAndTextSearchInt32 GetCountOfTasksAvailableForExpenseEntryFilteredByProjectAndTextSearch(Uri expenseSheetUri, Uri projectUri, TaskTextSearchParameter1 textSearch)Get the number of tasks available for use on a given expense sheet on a given project
GetEffectivePolicyValuesForExpenseSheetPolicyKeyValue2[] GetEffectivePolicyValuesForExpenseSheet(Uri expenseSheetUri)Gets the effective policy values for the given expense sheet
GetEnabledExpenseCodesExpenseCodeDetails1[] GetEnabledExpenseCodes()Get all enabled expense codes
GetExpenseCodeDetailsExpenseCodeDetails1 GetExpenseCodeDetails(Uri expenseCodeUri)Get a specific expense code
GetExpenseCodeDetailsForEnteringExpenseAgainstProjectExpenseCodeDetails1 GetExpenseCodeDetailsForEnteringExpenseAgainstProject(Uri expenseSheetUri, Uri projectUri, Uri expenseCodeUri)Get the expense code details for the given expense code for entering an expense against a given project
GetExpenseEntriesExpenseEntryDetails1[] GetExpenseEntries(ExpenseEntryFilterParameter1 filter)Get expense entries filtered by ExpenseEntryFilterParameter
GetExpenseNoticeDetailsExpenseNoticeDetails1 GetExpenseNoticeDetails()Get expense notice details
GetExpenseReceiptDetailsExpenseReceiptDetails1 GetExpenseReceiptDetails(Uri expenseReceiptUri)Get a specific expense receipt image
GetExpenseReceiptFileContentTypeWhitelistExpenseReceiptContentTypeDetails1 GetExpenseReceiptFileContentTypeWhitelist()Get Expense Receipt content type whitelist items
GetExpenseReimbursementBatchResultsExpenseReimbursementBatchResults1 GetExpenseReimbursementBatchResults(Uri expenseReimbursementBatchUri)Retrieve results of a completed ExecuteExpenseReimbursementBatch operation. Returns null if the batch has not completed.
GetExpenseSheetDeleteBatchResultsExpenseSheetDeleteBatchResults1 GetExpenseSheetDeleteBatchResults(Uri expenseSheetDeleteBatchUri)Retrieve results of a completed ExecuteExpenseSheetDeleteBatch operation. Returns null if the batch has not completed.
GetExpenseSheetDetailsExpenseSheetDetails1 GetExpenseSheetDetails(Uri expenseSheetUri)Get the details of the specified expense sheet
GetExpenseSheetOwnerUserReference1 GetExpenseSheetOwner(Uri expenseSheetUri)Get the owner of the specified expense sheet
GetExpenseSheetSummaryForUserExpenseSheetUserSummary1 GetExpenseSheetSummaryForUser(Uri userUri)Get a summary of expense sheets for a given user
GetMostRecentlySavedExpenseForUserExpenseSheetReference1 GetMostRecentlySavedExpenseForUser(Uri userUri)Get the most recently saved expense for the specified user
GetPageOfClientsAvailableForExpenseEntryFilteredByTextSearchClientReference1[] GetPageOfClientsAvailableForExpenseEntryFilteredByTextSearch(Int32 page, Int32 pageSize, Uri expenseSheetUri, ClientTextSearchParameter1 textSearch)Get the clients available for use on a given expense sheet
GetPageOfExpenseCodesAvailableForExpenseEntryFilteredByProjectAndTextSearchExpenseCodeReference1[] GetPageOfExpenseCodesAvailableForExpenseEntryFilteredByProjectAndTextSearch(Int32 page, Int32 pageSize, Uri expenseSheetUri, Uri projectUri, ExpenseCodeTextSearchParameter1 textSearch)Get the expense codes available for use on a given expense sheet on a given project
GetPageOfProgramsAvailableForExpenseEntryFilteredByTextSearchProgramReference1[] GetPageOfProgramsAvailableForExpenseEntryFilteredByTextSearch(Int32 page, Int32 pageSize, Uri expenseSheetUri, ProgramTextSearchParameter1 textSearch)Get the programs available for use on a given expense sheet
GetPageOfProjectsAvailableForExpenseEntryFilteredByClientAndTextSearchExpenseEntryAvailableProjectDetails1[] GetPageOfProjectsAvailableForExpenseEntryFilteredByClientAndTextSearch(Int32 page, Int32 pageSize, Uri expenseSheetUri, Uri clientUri, ProjectTextSearchParameter1 textSearch, Uri clientNullFilterBehaviorUri)Get the projects available for use on a given expense sheet
GetPageOfProjectsAvailableForExpenseEntryFilteredByProgramAndTextSearchExpenseEntryAvailableProjectProgramDetails1[] GetPageOfProjectsAvailableForExpenseEntryFilteredByProgramAndTextSearch(Int32 page, Int32 pageSize, Uri expenseSheetUri, Uri programUri, ProjectTextSearchParameter1 textSearch, Uri programNullFilterBehaviorUri)Get the projects available for use on a given expense sheet filtered by program and/or text search
GetPageOfTasksAvailableForExpenseEntryFilteredByProjectAndTextSearchTaskAncestryReference1[] GetPageOfTasksAvailableForExpenseEntryFilteredByProjectAndTextSearch(Int32 page, Int32 pageSize, Uri expenseSheetUri, Uri projectUri, TaskTextSearchParameter1 textSearch)Get the tasks available for use on a given expense sheet on a given project
GetPageOfTasksAvailableForExpenseEntryFilteredByProjectAndTextSearch2ExpenseEntryAvailableTaskAncestryDetails1[] GetPageOfTasksAvailableForExpenseEntryFilteredByProjectAndTextSearch2(Int32 page, Int32 pageSize, Uri expenseSheetUri, Uri projectUri, TaskTextSearchParameter1 textSearch)Get the tasks available for use on a given expense sheet on a given project
GetProjectTaskDetailsForExpenseSheetExpenseProjectTaskDetails1 GetProjectTaskDetailsForExpenseSheet(Uri expenseSheetUri)Get details of projects and tasks on expense sheet
GetUriFromExpenseSheetSlugUri GetUriFromExpenseSheetSlug(String expenseSheetSlug)Get the uri for an expense sheet slug
PublishExpenseCodeDraftExpenseCodeReference1 PublishExpenseCodeDraft(Uri draftUri)Publish the expense code draft into a persisted expense code.
PublishExpenseSheetDraftExpenseSheetReference1 PublishExpenseSheetDraft(Uri draftUri)Publish the expense sheet draft into a persisted expense sheet.
PutExpenseCodeExpenseCodeReference1 PutExpenseCode(ExpenseCodeParameter1 expenseCode)Put the details of the expense code. If ExpenseCodeParameter1.target.name is specified and not found, an expense code with that name will be created
PutExpenseCodeApplicableTaxesvoid PutExpenseCodeApplicableTaxes(Uri expenseCodeUri, ExpenseCodeTaxParameter1[] applicableTaxes)Put the tax details of the expense code
PutExpenseCodeExpenseTypevoid PutExpenseCodeExpenseType(Uri expenseCodeUri, ExpenseCodeExpenseTypeParameter1 expenseType)Put the expense type details of the expense code
PutExpenseEntryvoid PutExpenseEntry(Uri expenseSheetUri, ExpenseEntryParameter2 expenseSheetEntry, String unitOfWorkId)Add new or put the expense entries of the specified expense sheet. The expensesheet must exist already: you cannot create a new expensesheet with this service.
PutExpenseReceiptFileContentTypeWhitelistvoid PutExpenseReceiptFileContentTypeWhitelist(String[] contentTypes)Configure additional Expense Receipt content type whitelist items
PutExpenseSheetExpenseSheetPutResults1 PutExpenseSheet(ExpenseSheetParameter1 parameter)Put the contents of the specified expense sheet. The expense sheet must exist already: you cannot create a new one with this service.
UpdateExpenseCodeNamevoid UpdateExpenseCodeName(Uri expenseCodeUri, String name)Modify the name of a expense code or expense code draft.
UpdateExpenseNoticeToDisplayNoticevoid UpdateExpenseNoticeToDisplayNotice(String title, String description, Uri[] expenseNoticeOptionUris)Apply a expense notice with the specified details as the expense notice
UpdateExpenseNoticeToNotDisplayNoticevoid UpdateExpenseNoticeToNotDisplayNotice()Apply no expense notice display as the expense notice
UpdateExpenseSheetDescriptionvoid UpdateExpenseSheetDescription(Uri expenseSheetUri, String description)Update the expense sheet description.
UpdateExpenseSheetHistoricalDepartmentvoid UpdateExpenseSheetHistoricalDepartment(Uri expenseSheetUri, Uri departmentUri)Update the expense historical department.
UpdateExpenseSheetUservoid UpdateExpenseSheetUser(Uri expenseSheetUri, Uri userUri)Update the expense sheet user.
ValidateDeleteExpenseSheetForUserValidationResultsSummary1 ValidateDeleteExpenseSheetForUser(Uri expenseSheetUri, Uri userUri)Ensure whether or not it would be valid for the given user to delete the specified expense sheet