GET/timesheets/supplied
Returns the organization's supplied-labor timesheet for the week containing periodStart (YYYY-MM-DD; today when
omitted), snapped to timesheetWeekStart as Timesheets_GetTimesheet is. Groups: an event order line's unnamed heads;
an org order line's vendor-supplied heads, across every event that booked them, or its vendor labor the org uses
itself; else a need for a planning quantity hold. Rows carry plan and actual blocks and hours per day: plan times held
heads, each actual block's hours times the heads that worked it (its heads; workedHeads is what was entered). Each
actual block carries its own approval; a row's approval and a group's approvedBlockCount of actualBlockCount read
the shifts starting in the week. Each order-line group carries the whole line's approved hours and
head-days beside the same vendor's invoiced Hour and Day lines (never the week's); invoice hours on a need that
reserved heads of several org lines come once in sharedEventHours. Write event rows with the reservation
schedule-block routes (workedHeads per shift) on that event's token, org rows with the same routes on an org token;
approve or reopen shifts with Reservations_SetScheduleBlockActualsApproval. Requires ResourceInventory.Read.
Query Parameters
| Field | Type | Required | Description |
|---|
| periodStart | date | Optional | |
Response
| Field | Type | Description |
|---|
| periodStart | date-time | |
| periodEnd | date-time | |
| weekStart | string| null | |
| groups | GetSuppliedTimesheetResponseGroupInfo[]| null | |
| sharedEventHours | GetSuppliedTimesheetResponseSharedEventHoursInfo[]| null | |
GetSuppliedTimesheetResponseGroupInfo
| Field | Type | Description |
|---|
| key | uuid | |
| kind | string| null | |
| eventId | uuid| null | |
| eventName | string| null | |
| orderId | uuid| null | |
| orderName | string| null | |
| orderLineItemId | uuid| null | |
| disposition | string| null | |
| vendorName | string| null | |
| procurementResourceId | uuid| null | |
| needLabel | string| null | |
| procurementName | string| null | |
| resourceTypeName | string| null | |
| planHours | number | |
| actualHours | number | |
| approvedBlockCount | integer | |
| actualBlockCount | integer | |
| approvalState | string| null | |
| reconciliation | GetSuppliedTimesheetResponseReconciliationInfo | |
| days | GetTimesheetResponseDayInfo[]| null | |
| rows | GetSuppliedTimesheetResponseRowInfo[]| null | |
GetSuppliedTimesheetResponseSharedEventHoursInfo
| Field | Type | Description |
|---|
| procurementResourceId | uuid | |
| eventId | uuid| null | |
| eventName | string| null | |
| needLabel | string| null | |
| orderNames | string[]| null | |
| hours | number | |
| days | number| null | |
| uncomparedLines | GetSuppliedTimesheetResponseInvoiceLineInfo[]| null | |
GetSuppliedTimesheetResponseReconciliationInfo
| Field | Type | Description |
|---|
| approvedHours | number | |
| invoicedHours | number | |
| hoursDifference | number | |
| approvedHeadDays | number | |
| invoicedDays | number| null | |
| daysDifference | number| null | |
| vendorUnknown | boolean | |
| uncomparedLines | GetSuppliedTimesheetResponseInvoiceLineInfo[]| null | |
GetTimesheetResponseDayInfo
| Field | Type | Description |
|---|
| date | date | |
| planHours | number | |
| actualHours | number | |
| states | GetTimesheetResponseStateTag[]| null | |
GetSuppliedTimesheetResponseRowInfo
| Field | Type | Description |
|---|
| resourceReservationId | uuid| null | |
| eventReservationId | uuid| null | |
| eventId | uuid| null | |
| eventName | string| null | |
| procurementName | string| null | |
| resourceTypeName | string| null | |
| isVendorSuppliedHead | boolean | |
| headName | string| null | |
| origin | string| null | |
| status | string| null | |
| actualsApprovalState | string| null | |
| actualsApproval | ActualsApprovalInfo | |
| awaitsFirstActual | boolean | |
| shifts | GetTimesheetResponseShiftInfo[]| null | |
| quantity | number | |
| days | GetTimesheetResponseDayInfo[]| null | |
| planBlocks | GetTimesheetResponseBlockInfo[]| null | |
| actualBlocks | GetTimesheetResponseBlockInfo[]| null | |
GetSuppliedTimesheetResponseInvoiceLineInfo
| Field | Type | Description |
|---|
| id | uuid | |
| description | string| null | |
| unit | string| null | |
| count | number | |
| quantity | number | |
GetTimesheetResponseStateTag
| Field | Type | Description |
|---|
| stateId | uuid | |
| name | string| null | |
| color | string| null | |
| icon | string| null | |
| sortOrder | integer | |
| isActual | boolean | |
ActualsApprovalInfo
| Field | Type | Description |
|---|
| state | string| null | |
| approvedAt | date-time| null | |
| approvedByUserId | uuid| null | |
| approvedByName | string| null | |
GetTimesheetResponseShiftInfo
| Field | Type | Description |
|---|
| planBlockId | uuid | |
| start | date-time | |
| end | date-time | |
| state | string| null | |
| arrivedAt | date-time| null | |
| heldByReservationId | uuid| null | |
| awaitsFirstActual | boolean | |
| closedWithNoHours | GetTimesheetResponseNoHoursClosureInfo | |
| hasActuals | boolean| null | |
GetTimesheetResponseBlockInfo
| Field | Type | Description |
|---|
| id | uuid | |
| typeId | uuid| null | |
| eventBlockTypeId | uuid| null | |
| typeName | string| null | |
| name | string| null | |
| startDateTime | date-time | |
| endDateTime | date-time | |
| notes | string| null | |
| activityId | uuid| null | |
| areaId | uuid| null | |
| collaboratorId | uuid| null | |
| approval | ActualsApprovalInfo | |
| workedHeads | number| null | |
| heads | number| null | |