Click or drag to resize

IProductGetTravelExpensesChangedSince Method

Gets active Travel expenses added or updated after given time.

Namespace: Severa.API
Assembly: Severa.SOAP.API (in Severa.SOAP.API.dll) Version: 1.0.0+e7e3767923adbb9f0ecdf32b953b5fcc84ef0a32
Syntax
List<TravelExpense> GetTravelExpensesChangedSince(
	DateTime startDateTime,
	int options
)

Parameters

startDateTime  DateTime
Start DateTime for the search (Mandatory).
options  Int32
Bitflag. Each bit of the enum represents a separate option. Use 'Bitwise Or' to specify a combination of options.
  • 0 = None.
  • 1 = Return only the travel expenses that were created after startDateTime.
  • 2 = Return also inactive travel expenses in addition to active ones.

Return Value

ListTravelExpense
List of TravelExpense objects.
Exceptions
ExceptionCondition
AuthenticationFailureExceptionThe caller could not be authenticated.
GeneralFailureExceptionAny other fault.
Remarks

Does not return inactive travel expenses by default.

See Also