GET api/timesheet/GeOverdueTsApprovers?startDate={startDate}&endDate={endDate}&taskTimesheeting={taskTimesheeting}

Retrieves a list of users with overdue timesheets that require approval.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
startDate

Optional filter to include only timesheets with a week ending on or after this date.

date

None.

endDate

Optional filter to include only timesheets with a week ending on or before this date.

date

None.

taskTimesheeting

Indicates whether task-based timesheeting logic should be applied.

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

On success: HTTP 200 OK with a list of users who have overdue timesheets pending approval. On failure: HTTP 400 Bad Request with a generic error message.

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, application/scim+json

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