v1

latestOpenAPI 3.1.02026-07-26549156879.0 KB
Contracts > ContractVersionHistory

Reads all Contract version histories

Reads all Contract version histories

get/api/2026-07-01/resources/contracts/contract_version_histories

Query parameters

ids[]string[]

the ids of the contract versions.

the ids of the contract versions.

contract_version_ids[]string[]

the ids of the contract versions.

the ids of the contract versions.

employee_ids[]string[]

the ids of the employees.

the ids of the employees.

current_onstring

the date to filter the contract version histories.

Example:2024-10-06

the date to filter the contract version histories.

changes_lteqstring

the date to filter the contract version histories.

Example:2024-10-07

the date to filter the contract version histories.

changes_gteqstring

the date to filter the contract version histories.

Example:2024-10-05

the date to filter the contract version histories.

Response

OK

Example response

{
  "data": [
    {
      "id": "1",
      "employee_id": "1",
      "effective_on": "2024-10-06",
      "country": "es",
      "job_title": "Designer",
      "job_catalog_level_id": "1",
      "job_catalog_tree_node_uuid": "jobcatalog_treelevel-14",
      "starts_on": "2024-10-06",
      "ends_on": "2024-10-06",
      "salary_amount": 1000,
      "salary_frequency": "yearly",
      "working_week_days": "monday,tuesday,wednesday,thursday,friday",
      "working_hours": 40,
      "working_hours_frequency": "week",
      "max_legal_yearly_hours": 2000,
      "maximum_weekly_hours": 40,
      "original_contract_version_id": "1",
      "contracts_contract_version_id": "1",
      "changed_at": "2024-10-06T00:00:00.000Z",
      "trial_period_ends_on": "2024-10-06",
      "author": "John Doe",
      "action_type": "promotion",
      "adjusted_daily_minutes": 480,
      "created_at": "2024-10-06",
      "updated_at": "2024-10-06",
      "es_cotization_group": 1,
      "es_contract_observations": "Observations",
      "es_job_description": "Job description",
      "es_contract_type_id": "1",
      "es_working_day_type_id": "1",
      "es_education_level_id": "1",
      "es_professional_category_id": "1",
      "es_contribution_type_id": "1",
      "es_tariff_group_id": "1",
      "es_occupation_code_id": "1",
      "fr_employee_type": "apprenti",
      "fr_jours_par_an": 200,
      "fr_jours_par_an_cents": 20000,
      "fr_coefficient": "1",
      "fr_contract_type_id": "1",
      "fr_level_id": "1",
      "fr_step_id": "1",
      "fr_mutual_id": "1",
      "fr_professional_category_id": "1",
      "fr_work_type_id": "1",
      "de_contract_type_id": "1",
      "de_base_salary_type_id": "1",
      "pt_contract_type_id": "1"
    }
  ]
}