|
IActivityGetActivitiesByDate Method
|
Gets activities, which occurs during the start and end date.
Namespace: Severa.APIAssembly: Severa.SOAP.API (in Severa.SOAP.API.dll) Version: 1.0.0
SyntaxICollection<Activity> GetActivitiesByDate(
DateTime startDate,
DateTime endDate,
string activityCategory,
string businessUnitGuid = null
)
Function GetActivitiesByDate (
startDate As DateTime,
endDate As DateTime,
activityCategory As String,
Optional businessUnitGuid As String = Nothing
) As ICollection(Of Activity)
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
ICollectionActivityA collection of activity objects that match the given criteria.
Exceptions
RemarksThis operation returns all occurrances of a recurring activity as separate activity objects.
See Also