API Details

GET Api/Units/{unit_id}/Schedules/{schedule_id}/EmployeeTotalHours

Returns list of employees with total hours working during this schedule.

Request Information

Parameters

NameDescription
unit_id
The Unit id.
schedule_id
The Employee id.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "Employee": {
      "PrssID": 1,
      "LastName": "sample string 2",
      "FirstName": "sample string 3",
      "Nickname": "sample string 4",
      "JobTitle": "sample string 5",
      "Elvis": "sample string 6",
      "IsPersonInCharge": true,
      "IsRookie": true,
      "WeeksWorked": 9,
      "GuaranteedHours": 1,
      "TotalWeeksWorked": 10
    },
    "TotalScheduledHours": 1.1
  },
  {
    "Employee": {
      "PrssID": 1,
      "LastName": "sample string 2",
      "FirstName": "sample string 3",
      "Nickname": "sample string 4",
      "JobTitle": "sample string 5",
      "Elvis": "sample string 6",
      "IsPersonInCharge": true,
      "IsRookie": true,
      "WeeksWorked": 9,
      "GuaranteedHours": 1,
      "TotalWeeksWorked": 10
    },
    "TotalScheduledHours": 1.1
  },
  {
    "Employee": {
      "PrssID": 1,
      "LastName": "sample string 2",
      "FirstName": "sample string 3",
      "Nickname": "sample string 4",
      "JobTitle": "sample string 5",
      "Elvis": "sample string 6",
      "IsPersonInCharge": true,
      "IsRookie": true,
      "WeeksWorked": 9,
      "GuaranteedHours": 1,
      "TotalWeeksWorked": 10
    },
    "TotalScheduledHours": 1.1
  }
]
URI parameters
=
Headers | Add header
: Delete
Body
Samples:
Status
Headers
Body