Click or drag to resize

IWorkTypeGetWorkTypesChangedSince Method

Gets active Work types added or updated after given time.

Namespace: Severa.API
Assembly: Severa.SOAP.API (in Severa.SOAP.API.dll) Version: 1.0.0+9acb7434aeb2855fb928fe129dfe34575a6d8fd4
Syntax
List<WorkType> GetWorkTypesChangedSince(
	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 work types that were created after startDateTime.
  • 2 = Return also inactive work types in addition to active ones.

Return Value

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

Does not return inactive work types by default.

See Also