---
title: "Assign pay calendar to employees"
method: POST
path: "/management/v2/pay-calendars/{id}:assign"
tags: ["Pay Calendars"]
---

# Assign pay calendar to employees

`POST /management/v2/pay-calendars/{id}:assign`

## Request

- Base URL: `https://your-subdomain.deputy.deputy.com/api`
- URL: `https://your-subdomain.deputy.deputy.com/api/management/v2/pay-calendars/{id}:assign`
- Auth: API key in header `OAuth`

Assign pay calendar to employees.

## Path parameters

- `id` string, int64, required

## Request body

- PayCalendarsAssignEmployeesRequest
  - `id` string, int64
  - `data` PayCalendarsAssignEmployee[]
    - `employeeId` string, int64
    - `locationId` string, int64
  - `filter` PayCalendarsAssignEmployeesFilter
    - `employmentTypes` PayCalendarsEmploymentType[]
    - `locationIds` string[]
    - `payCalendarIds` string[]
    - `employeeDisplayName` string
  - `businessId` string

## Response `200`

A successful response.

- PayCalendarsAssignEmployeesResponse
  - `success` boolean

---

[API](https://skmtc.dev/deputy/apis/deputy-v2-api.md) - [All operations](https://skmtc.dev/deputy/apis/deputy-v2-api/llms.txt) - [OpenAPI document](https://skmtc.dev/deputy/apis/deputy-v2-api/revisions/78f0278f4608?raw)
