POST api/timesheet/status/bulk

Retrieves the timesheet status for multiple users for a given week ending date.

Request Information

URI Parameters

None.

Body Parameters

Request payload containing a list of user IDs and the week ending date (Sunday).

TimesheetStatusBulkRequest
NameDescriptionTypeAdditional information
userIds

Collection of integer

None.

weekEnding

date

None.

Request Formats

application/json, text/json, application/scim+json

Sample:
{
  "userIds": [
    1,
    2
  ],
  "weekEnding": "2026-08-12T23:59:42.3855708+00:00"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TimesheetStatusBulkRequest'.

Response Information

Resource Description

On success: HTTP 200 OK with a list of timesheet status entries for valid users. On failure: HTTP 400 Bad Request with a generic error message.

Collection of TimesheetUserStatus
NameDescriptionTypeAdditional information
userID

The unique userID of the specified user

integer

None.

userName

The unique username of the specified user

string

None.

firstName

The specified user's first name

string

None.

lastName

The specified user's last name

string

None.

email

The specified user's email address

string

None.

weekEnding

The date being checked

date

None.

status

The specified user's timesheet status

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",
    "weekEnding": "2026-08-12T23:59:42.3957681+00:00",
    "status": "sample string 7"
  },
  {
    "userID": 1,
    "userName": "sample string 2",
    "firstName": "sample string 3",
    "lastName": "sample string 4",
    "email": "sample string 5",
    "weekEnding": "2026-08-12T23:59:42.3957681+00:00",
    "status": "sample string 7"
  }
]