---
title: "Creates a new Employee Working Pattern Override Component."
method: POST
path: "/workingpatternoverridecomponents"
tags: ["WorkingPatternOverrideComponents"]
---

# Creates a new Employee Working Pattern Override Component.

`POST /workingpatternoverridecomponents`

## Request

- Base URL: `https://api.iris.co.uk/hr/v2`
- URL: `https://api.iris.co.uk/hr/v2/workingpatternoverridecomponents`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://api.iris.co.uk/oauth2/v1/token`
- TypeScript: <https://skmtc.dev/hrapi/apis/hr-api/docs/workingpatternoverridecomponents/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- CreateWorkingPatternOverrideComponentCommand
  - `EmployeeId` string, nullable: The ID of the HR Employee. Must exist in the Employee Service.
  - `StartDate` string, date-time, nullable: Cascade Source: [EmployeeWorkingDays].[StartDate]
  - `EndDate` string, date-time, nullable: Cascade Source: [EmployeeWorkingDays].[EndDate]
  - `DayOfWeek` integer: The Day of the Week for the Working Pattern Override Component. 0 = Sunday, 1 = Monday etc. Cascade Source: [EmployeeWorkingDays].[DayOfWeek] - 1
  - `DurationDays` number, double: The duration in days for this Working Pattern Override Component. Cascade Source: [EmployeeWorkingDays].[DurationDays]
  - `DurationMinutes` integer: The duration in minutes for this Working Pattern Override Component. Cascade Source: [EmployeeWorkingDays].[Duration]
  - `DayPart` 'AM' | 'PM' | 'AllDay' | 'None': The parts of days.

## Response `200`

OK

- CreatedEntitiyResponseModel
  - `id` string, nullable

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden

## Changes

- **2026-10-06** `7a4734dbe370`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/hrapi/apis/hr-api/changes/workingpatternoverridecomponents/post.md)

---

[API](https://skmtc.dev/hrapi/apis/hr-api.md) - [All operations](https://skmtc.dev/hrapi/apis/hr-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hrapi/apis/hr-api/revisions/638d402d3872?raw)
