GET api/timesheet/status?from={from}&to={to}&status={status}&group={group}&profileFilter={profileFilter}

Fetch a list of users who have/haven't submitted timesheets for a given date range.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
from

The start of the date range (optional) in yyyy-mm-dd format

date

Required

to

The end of the date range (optional) in yyyy-mm-dd format

date

Required

status

The status for which you wish to filter ("submitted" or "notsubmitted")

string

Default value is submitted

group

string

Default value is

profileFilter

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of TimesheetStatus
NameDescriptionTypeAdditional information
userID

The unique userID of the listed user

integer

None.

userName

The unique username of the listed user

string

None.

firstName

The listed user's first name

string

None.

lastName

The listed user's last name

string

None.

email

The listed user's email address

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "userID": 1,
    "userName": "sample string 2",
    "firstName": "sample string 3",
    "lastName": "sample string 4",
    "email": "sample string 5"
  },
  {
    "userID": 1,
    "userName": "sample string 2",
    "firstName": "sample string 3",
    "lastName": "sample string 4",
    "email": "sample string 5"
  }
]