# Teams

> A team (ploeg) of employees.

Subject: Hours.

A team (ploeg) of employees. The team's shifts say which work schedule it works on each day.

Label in Fledge: Ploegen.

| | |
| --- | --- |
| URL | `https://odata-api.fledge.nl/v2-8/Teams` |
| Key | `administration_id`, `team_id` |
| Administration-specific | yes: always filter on `administration_id` |
| Operations | GET list, GET one, POST, PATCH, DELETE |
| Read licenses | BASIS, BASISAPP |
| Write licenses | PRODUCTIE, FINANCIEEL, BEHEER |
| Scopes | FLEDGE_PORTAL |

## Example requests

```http
GET https://odata-api.fledge.nl/v2-8/Teams?$filter=administration_id eq 1&$select=team_id,billable_machine_rate,billable_man_rate,billable_total_rate&$top=50
GET https://odata-api.fledge.nl/v2-8/Teams(administration_id=1,team_id={team_id})
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32 | Administratienummer |
| `team_id` (key) | Int32, not null | Ploegnummer |
| `billable_machine_rate` | Decimal | Percentage decl. machinetarief: Opslag percentage dekl. machinetarief. A surcharge percentage on the machine rate for billing; not an hourly rate. |
| `billable_man_rate` | Decimal | Percentage decl. mantarief: Opslag percentage dekl. mantarief. A surcharge percentage on the man rate for billing; not an hourly rate. |
| `billable_total_rate` | Decimal | Percentage decl. tarief totaal: Opslag percentage dekl. tarief totaal. A surcharge percentage on the total rate for billing; not an hourly rate. |
| `description` | String | Ploegomschrijving: Omschrijving |

## Relations

- `Administration` → [Administrations](https://docs.fledge.nl/en/api/reference/Administrations.md) (one)
- `Employees` → [Employees](https://docs.fledge.nl/en/api/reference/Employees.md) (many)
- `Shifts` → [Shifts](https://docs.fledge.nl/en/api/reference/Shifts.md) (many)
- `TimesheetEntries` → [TimesheetEntries](https://docs.fledge.nl/en/api/reference/TimesheetEntries.md) (many)

---

Source: https://docs.fledge.nl/en/api/reference/Teams
