Docs
Get Person Schedule States
GET /Reservations/person-schedule-states
GET
/Reservations/person-schedule-statesReturns, for each person or unit on the event, their planned and actual hours and the resource states (such as overtime) their whole schedule triggers, worked out across all their reservations. Nothing is stored. Join it to Reservations_GetReservations on personKey.
Response
Type: GetPersonScheduleStatesResponse[]
GetPersonScheduleStatesResponse
| Field | Type | Description |
|---|---|---|
| personKey | string| null | |
| plannedHours | number | |
| actualHours | number | |
| states | GetPersonScheduleStatesResponseStateInfo[]| null |
GetPersonScheduleStatesResponseStateInfo
| Field | Type | Description |
|---|---|---|
| stateId | uuid | |
| stateName | string| null | |
| stateColor | string| null | |
| startDateTime | date-time | |
| endDateTime | date-time| null | |
| triggeredByRuleName | string| null | |
| context | string| null |