---
title: "Get change history for a PayRules"
method: GET
path: "/resource/PayRules/{id}/HISTORY"
tags: ["PayRules"]
---

# Get change history for a PayRules

`GET /resource/PayRules/{id}/HISTORY`

## Request

- Base URL: `https://your-subdomain.deputy.deputy.com/api/v1`
- URL: `https://your-subdomain.deputy.deputy.com/api/v1/resource/PayRules/{id}/HISTORY`
- Auth: one of:
  - HTTP bearer
  - OAuth 2
    - Authorization code: `https://once.deputy.com/my/oauth/login`
    - Token URL: `https://once.deputy.com/my/oauth/access_token`

## Path parameters

- `id` integer, required

## Response `200`

Success

- PayRules[]
  - `Id` integer, required
  - `PayTitle` string, required
  - `RemunerationType` integer, required
  - `RemunerationBy` integer, required
  - `AnnualSalary` number, double
  - `HourlyRate` number, double
  - `IsMultiplier` boolean
  - `MultiplierValue` number, double
  - `MultiplierBaseRate` integer
  - `MinimumType` integer
  - `MaximumType` integer
  - `MinimumValue` number, double
  - `MaximumValue` number, double
  - `MinimumShiftLength` string
  - `MaximumShiftLength` string
  - `AdvancedCalculation` string
  - `IsExported` boolean, required
  - `UnitValue` number, double
  - `Schedule` integer
  - `RecommendWith` integer
  - `DexmlScript` integer
  - `DexmlScriptParam` string
  - `PeriodType` integer
  - `PayPortionRule` integer
  - `PayrollCategory` string
  - `Comment` string
  - `RateType` integer
  - `RateTag` string
  - `Creator` integer
  - `Created` string, date-time
  - `Modified` string, required
  - `CtId` string
  - `CrId` string
  - `StpClass` string
  - `StpCode` string
  - `MultiplierBaseRateObject` object
  - `ScheduleObject` object
  - `DexmlScriptObject` object

## Other responses

- `400`: Bad request
- `401`: Authentication required or invalid token
- `403`: Forbidden — token lacks access to this resource
- `404`: Resource not found

---

[API](https://skmtc.dev/deputy/apis/deputy-v1-resource-api.md) - [All operations](https://skmtc.dev/deputy/apis/deputy-v1-resource-api/llms.txt) - [OpenAPI document](https://skmtc.dev/deputy/apis/deputy-v1-resource-api/revisions/5d8e44000786?raw)
