---
title: "ShiftTradesByDepartmentID (Horeko)"
description: "Shift Trades by Department ID"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/horeko/Horeko.ShiftTrade.ShiftTradesByDepartmentID
original: https://documentation.invantive.eu/en/datamodels/horeko/Horeko.ShiftTrade.ShiftTradesByDepartmentID
updated: 2025-06-11T11:15:01Z
license: https://documentation.invantive.eu/en/
---

# ShiftTradesByDepartmentID: Horeko Shift Trades by Department ID

`read only` `REST`

- Catalog: `Horeko`
- Schema: `ShiftTrade`
- Label: Shift Trades by Department ID

Can only retrieve data.

## API Source

- Endpoint: `/v4/shifttrades/{departmentId}/{shiftId}`
- Operation: `get /v4/shifttrades/{departmentId}/{shiftId}`

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `departmentId` | `` | [x] |  |  |
| `endDate` | `` | [ ] |  |  |
| `shiftId` | `` | [x] |  |  |
| `startDate` | `` | [x] |  |  |

## Table Columns

The columns of the table `ShiftTradesByDepartmentID` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `Approved` | `char` | Approved | [ ] |  |  |
| `AvailabilityEnd` | `datetime` | Availability End | [ ] |  |  |
| `AvailabilityStart` | `datetime` | Availability Start | [ ] |  |  |
| `AvailabilityStatus` | `int32` | Availability Status | [ ] |  |  |
| `ContractHours` | `double` | Contract Hours | [ ] |  |  |
| `DaysOfWeek` | `varchar2` | Days of Week | [ ] |  |  |
| `DriversLicense` | `char` | Drivers License | [ ] |  |  |
| `Employee` | `varchar2` | Employee | [ ] |  |  |
| `Favorite` | `char` | Favorite | [ ] |  |  |
| `FullDay` | `char` | Full Day | [ ] |  |  |
| `Function` | `varchar2` | Function | [ ] |  |  |
| `GreyTeamIds` | `varchar2` | Grey Team IDs | [ ] |  |  |
| `HasEro` | `char` | Has ERO | [ ] |  |  |
| `HourlyRate` | `double` | Hourly Rate | [ ] |  |  |
| `Id` | `int32` | ID | [ ] |  |  |
| `Picture` | `varchar2` | Picture | [ ] |  |  |
| `SalaryCalculation` | `int32` | Salary Calculation | [ ] |  |  |
| `SkillIds` | `varchar2` | Skill IDs | [ ] |  |  |
| `Skills` | `varchar2` | Skills | [ ] |  |  |
| `Status` | `int32` | Status | [ ] |  |  |
| `Team` | `int32` | Team | [ ] |  |  |
| `TeamIds` | `varchar2` | Team IDs | [ ] |  |  |
| `TotalHours` | `double` | Total Hours | [ ] |  |  |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [Horeko](/en/release-notes/drivers?driver=horeko)

