[This is preliminary documentation and is subject to change.]
Gets a list of all the timesheets for a set of users between a given date range for a particular group.
Namespace:
OfficeClip.DBLayer.TEAssembly: OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public DataSet GetTimesheets( int groupId, string userList, DateTime fromDate, DateTime toDate, bool isRestricted ) |
Visual Basic (Declaration) |
---|
Public Function GetTimesheets ( _ groupId As Integer, _ userList As String, _ fromDate As DateTime, _ toDate As DateTime, _ isRestricted As Boolean _ ) As DataSet |
Visual C++ |
---|
public: DataSet^ GetTimesheets( int groupId, String^ userList, DateTime fromDate, DateTime toDate, bool isRestricted ) |
Parameters
- groupId
- Type: System..::.Int32
The unique id for the group.
- userList
- Type: System..::.String
Comma delimited list of userIds for whom the timesheets are to be retrieved.
- fromDate
- Type: System..::.DateTime
Starting Date of the range.
- toDate
- Type: System..::.DateTime
Ending Date of the range.
- isRestricted
- Type: System..::.Boolean
Return Value
DataSet containing all the information related to all the timesheets for the respective users within the date range. This DataSet consists of a single DataTable with the following columns.- hours (System.Int32)Total number of hours in the timesheet.
- timesheetId (System.Int32)Id of the timesheet.
- status (System.String)Current status of the timesheet.
- weekStartDate (System.String)Starting date of the timesheet.
- name (System.String)User to which the timesheet belongs.
- emailAddress (System.String)Email Address of the user.
- withUserName (System.String)Name of the user to whom this timesheet is currently submitted.
- withUserEmailAddress (System.String)Email Address of the user to whom this timesheet is currently submitted.