---
title: "Create the working hours for an employment"
method: POST
path: "/v2/providers/employers/employees/employments/{employmentId}/workinghours"
tags: ["Working hours"]
---

# Create the working hours for an employment

`POST /v2/providers/employers/employees/employments/{employmentId}/workinghours`

__Activity name :__  <a href="https://developer.loket.nl/Activities/PostWorkingHoursByEmploymentId" target="_blank">PostWorkingHoursByEmploymentId</a> <br/> <br/>  Create a new working hours record for an employment<br/>  Please note that so-called chain validation exists for working hours records. In other words, the time periods of records for an employment cannot overlap with each other.<br/> A new or changed startDate affects the endDate of its preceding record.<br/>  When POST-ing a new record, the startDate must be greater then the preceding record's startDate.

__Metadata :__ Possible options for fields of the type 'metadata' can be acquired (GET) by adding `/metadata` to the POST URL.

__Defaults :__ Default values for a new object can be acquired by adding `/defaults' to the POST URL.

## Path parameters

- `employmentId` string, uuid, required

## Headers

- `Authorization` string, required
- `Accept` string, required

## Response `201`

Created

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/loket/apis/loket-api.md) · [All operations](https://skmtc.net/loket/apis/loket-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/loket/loket-api/revisions/32d1693f8db8/schema)
