---
title: "Count overtime pay rules by leave rule ID"
method: GET
path: "/management/v2/leave-pay-rules:count-overtime-pay-rules-by-leave-rule-id"
tags: ["Leave Pay Rules"]
---

# Count overtime pay rules by leave rule ID

`GET /management/v2/leave-pay-rules:count-overtime-pay-rules-by-leave-rule-id`

## Request

- Base URL: `https://your-subdomain.deputy.deputy.com/api`
- URL: `https://your-subdomain.deputy.deputy.com/api/management/v2/leave-pay-rules:count-overtime-pay-rules-by-leave-rule-id`
- Auth: API key in header `OAuth`

Count overtime pay rules by leave rule ID.

## Query parameters

- `leaveRuleId` integer

## Response `200`

A successful response.

- LeavePayRuleCountPayRulesByLeaveRuleIdResponse
  - `success` boolean
  - `payRuleCount` integer

---

[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)
