---
title: "Get a EmploymentContract as it existed at a prior time"
method: GET
path: "/resource/EmploymentContract/{id}/HISTORY/travel/{timestamp}"
tags: ["EmploymentContract"]
---

# Get a EmploymentContract as it existed at a prior time

`GET /resource/EmploymentContract/{id}/HISTORY/travel/{timestamp}`

## Request

- Base URL: `https://your-subdomain.deputy.deputy.com/api/v1`
- URL: `https://your-subdomain.deputy.deputy.com/api/v1/resource/EmploymentContract/{id}/HISTORY/travel/{timestamp}`
- 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
- `timestamp` integer, required

## Response `200`

Success

- EmploymentContract
  - `Id` integer, required
  - `Code` string
  - `Name` string, required
  - `Description` string
  - `EmploymentBasis` integer, required
  - `EmploymentCategory` integer, required
  - `EmploymentStatus` integer, required
  - `EmploymentCondition` integer
  - `BasePayRule` integer, required
  - `StressProfile` integer
  - `StartDate` string, date-time
  - `EndDate` string, date-time
  - `PeriodType` integer, required
  - `File` integer
  - `StrictLeaveApproval` boolean
  - `Award` string
  - `EmploymentSubType` string
  - `AwardStartDate` string, date-time
  - `Creator` integer
  - `Created` string, date-time
  - `Modified` string, required
  - `PpId` string
  - `CountryId` integer
  - `EmploymentConditionObject` object
  - `BasePayRuleObject` object
  - `Country` 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)
