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+cc2a5357b8231e24c5fd7606bb1e71a1374ad1e9
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