Click or drag to resize

IActivityGetActivitiesByDate Method

Gets activities, which occurs during the start and end date.

Namespace: Severa.API
Assembly: Severa.SOAP.API (in Severa.SOAP.API.dll) Version: 1.0.0+cc2a5357b8231e24c5fd7606bb1e71a1374ad1e9
Syntax
ICollection<Activity> GetActivitiesByDate(
	DateTime startDate,
	DateTime endDate,
	string activityCategory,
	string businessUnitGuid = null
)

Parameters

startDate  DateTime
The activity will be included when it is in effect after given date and time (in UTC).
endDate  DateTime
The activity will be included when it is in effect before given date and time (in UTC).
activityCategory  String
One of the following: Absences, CalendarEntry, ToDo, ProjectTask, Personal.
businessUnitGuid  String  (Optional)
If given then only activities that belong to activity owner (user) who is in the given unit or any child unit in business unit hierarchy.

Return Value

ICollectionActivity
A collection of activity objects that match the given criteria.
Exceptions
ExceptionCondition
AuthenticationFailureExceptionThe caller could not be authenticated.
ValidationExceptionInput data was not valid.
GeneralFailureExceptionAny other fault.
Remarks

This operation returns all occurrances of a recurring activity as separate activity objects.

See Also