---
title: "Effective dates | Docs | HR by R&D Copilot"
description: "How a change of job or salary is dated, and why the periods before it stay as they were."
canonical: "https://hr.rdcopilot.com/docs/concepts/effective-dates/"
language: en
updated: 2026-11-22
---

# Effective dates

How a change of job or salary is dated, and why the periods before it stay as they were.

A change of job, department, manager, workplace, contract or salary has a day from which it applies. It does not overwrite what was there: it **closes** the period that runs the day before and **starts** a new one on that day. The history of a person is the list of their periods, and what applied on any day is the period that holds the day.

## Periods

-   Each period has `from`, the first day it applies, and `to`, the last, which is `null` while it runs.
-   The next period starts the day after `to`. There is no gap and no overlap, and only the last period can run on.
-   The earlier periods are never rewritten. A raise from 1 January leaves the salary of December as it was.

curl

```bash
curl "$RDC_BASE_URL/hr/v1/employees/6ffcab16-c274-48c9-9d5a-053841a88f43/employments" \
  -H "Authorization: Bearer $RDC_TOKEN"
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/hr/v1/employees/6ffcab16-c274-48c9-9d5a-053841a88f43/employments`, {
  method: 'GET',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
  },
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'GET',
    f'{os.environ["RDC_BASE_URL"]}/hr/v1/employees/6ffcab16-c274-48c9-9d5a-053841a88f43/employments',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
)
result = response.json()
```

PHP

```php
<?php

$curl = curl_init(getenv('RDC_BASE_URL') . '/hr/v1/employees/6ffcab16-c274-48c9-9d5a-053841a88f43/employments');
curl_setopt_array($curl, [
    CURLOPT_CUSTOMREQUEST => 'GET',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('RDC_TOKEN'),
    ],
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl);
```

C#

```csharp
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/hr/v1/employees/6ffcab16-c274-48c9-9d5a-053841a88f43/employments");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

Response 200

```json
{
  "items": [
    {
      "id": "82404c5b-ef96-4fac-a53e-70947d76f935",
      "employeeId": "6ffcab16-c274-48c9-9d5a-053841a88f43",
      "from": "2019-03-01",
      "to": "2022-12-31",
      "job": "Accountant",
      "departmentId": "finance",
      "managerId": "e50d7ef0-7fcc-4201-b93b-817b578ba173",
      "workplaceId": "office",
      "contractType": "indefinite",
      "contractEnd": null,
      "grossSalary": "6200.00"
    },
    {
      "id": "ef12c119-4ef0-4fb4-9a40-ce5432a12b01",
      "employeeId": "6ffcab16-c274-48c9-9d5a-053841a88f43",
      "from": "2023-01-01",
      "to": null,
      "job": "Chief accountant",
      "departmentId": "finance",
      "managerId": "e50d7ef0-7fcc-4201-b93b-817b578ba173",
      "workplaceId": "office",
      "contractType": "indefinite",
      "contractEnd": null,
      "grossSalary": "9400.00"
    }
  ],
  "nextCursor": null
}
```

## A change

[Change the job, manager, workplace, contract or salary](https://hr.rdcopilot.com/docs/api-reference/employments/#change-employment) takes `effectiveFrom` and only the fields that change; the rest is carried over from the period that runs. The request is refused when:

-   `effectiveFrom` is on or before the first day of the period that runs (`not_after_current`). A day inside that period is accepted, so a raise can be entered after it took effect; a day before it would rewrite history.
-   nothing would change (`no_change`).
-   the person has a last day (`employment_ended`).
-   a fixed-term contract has no end after its first day, or an indefinite one has an end (`contract_not_valid`).

curl

```bash
curl -X POST "$RDC_BASE_URL/hr/v1/employees/11729ba4-78ca-4dfb-9165-03367b42d67a/employments" \
  -H "Authorization: Bearer $RDC_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "expectedRevision": 1,
  "effectiveFrom": "2027-01-01",
  "job": "Senior picker",
  "grossSalary": "5900.00",
  "operationId": "3a3da32a-344e-4e8d-a4c5-45882f708756"
}'
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/hr/v1/employees/11729ba4-78ca-4dfb-9165-03367b42d67a/employments`, {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "expectedRevision": 1,
    "effectiveFrom": "2027-01-01",
    "job": "Senior picker",
    "grossSalary": "5900.00",
    "operationId": "3a3da32a-344e-4e8d-a4c5-45882f708756"
  }),
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'POST',
    f'{os.environ["RDC_BASE_URL"]}/hr/v1/employees/11729ba4-78ca-4dfb-9165-03367b42d67a/employments',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
    json={
        'expectedRevision': 1,
        'effectiveFrom': '2027-01-01',
        'job': 'Senior picker',
        'grossSalary': '5900.00',
        'operationId': '3a3da32a-344e-4e8d-a4c5-45882f708756',
    },
)
result = response.json()
```

PHP

```php
<?php

$body = <<<'JSON'
{
  "expectedRevision": 1,
  "effectiveFrom": "2027-01-01",
  "job": "Senior picker",
  "grossSalary": "5900.00",
  "operationId": "3a3da32a-344e-4e8d-a4c5-45882f708756"
}
JSON;

$curl = curl_init(getenv('RDC_BASE_URL') . '/hr/v1/employees/11729ba4-78ca-4dfb-9165-03367b42d67a/employments');
curl_setopt_array($curl, [
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('RDC_TOKEN'),
        'Content-Type: application/json',
    ],
    CURLOPT_POSTFIELDS => $body,
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl);
```

C#

```csharp
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/hr/v1/employees/11729ba4-78ca-4dfb-9165-03367b42d67a/employments");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
request.Content = new StringContent("""
{
  "expectedRevision": 1,
  "effectiveFrom": "2027-01-01",
  "job": "Senior picker",
  "grossSalary": "5900.00",
  "operationId": "3a3da32a-344e-4e8d-a4c5-45882f708756"
}
""", System.Text.Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

Response 202

```json
{
  "operationId": "3a3da32a-344e-4e8d-a4c5-45882f708756",
  "status": "accepted",
  "aggregateRevision": 2
}
```

The change takes effect when its day comes: it may be in the future, and the person carries the new fields from that day. After it, the periods are:

curl

```bash
curl "$RDC_BASE_URL/hr/v1/employees/11729ba4-78ca-4dfb-9165-03367b42d67a/employments" \
  -H "Authorization: Bearer $RDC_TOKEN"
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/hr/v1/employees/11729ba4-78ca-4dfb-9165-03367b42d67a/employments`, {
  method: 'GET',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
  },
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'GET',
    f'{os.environ["RDC_BASE_URL"]}/hr/v1/employees/11729ba4-78ca-4dfb-9165-03367b42d67a/employments',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
)
result = response.json()
```

PHP

```php
<?php

$curl = curl_init(getenv('RDC_BASE_URL') . '/hr/v1/employees/11729ba4-78ca-4dfb-9165-03367b42d67a/employments');
curl_setopt_array($curl, [
    CURLOPT_CUSTOMREQUEST => 'GET',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('RDC_TOKEN'),
    ],
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl);
```

C#

```csharp
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/hr/v1/employees/11729ba4-78ca-4dfb-9165-03367b42d67a/employments");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

Response 200

```json
{
  "items": [
    {
      "id": "79dcb76e-3156-44a0-a2b0-cb2c83a59ebd",
      "employeeId": "11729ba4-78ca-4dfb-9165-03367b42d67a",
      "from": "2022-02-07",
      "to": "2026-12-31",
      "job": "Picker",
      "departmentId": "warehouse",
      "managerId": "21bd8239-2794-4320-adba-9128b6a6219b",
      "workplaceId": "warehouse",
      "contractType": "indefinite",
      "contractEnd": null,
      "grossSalary": "5400.00"
    },
    {
      "id": "a9565edb-fc29-4d83-ba12-60f0b0d371c6",
      "employeeId": "11729ba4-78ca-4dfb-9165-03367b42d67a",
      "from": "2027-01-01",
      "to": null,
      "job": "Senior picker",
      "departmentId": "warehouse",
      "managerId": "21bd8239-2794-4320-adba-9128b6a6219b",
      "workplaceId": "warehouse",
      "contractType": "indefinite",
      "contractEnd": null,
      "grossSalary": "5900.00"
    }
  ],
  "nextCursor": null
}
```

## What follows the period

The approver of a leave request is the manager of the period that holds its first day. A change of manager from a later day does not move a request that starts before it.
