---
title: "Get amendment validation settings"
method: GET
path: "/eor/contracts/{contract_id}/amendments/validation/settings"
tags: ["eorAmendments"]
---

# Get amendment validation settings

`GET /eor/contracts/{contract_id}/amendments/validation/settings`

## Request

- Base URL: `https://api.letsdeel.com/rest`
- URL: `https://api.letsdeel.com/rest/eor/contracts/{contract_id}/amendments/validation/settings`
- Auth: HTTP bearer

Returns the validation settings for all available amendment data points on an EOR contract, optionally scoped to a specific employment state. Use these settings to determine which fields are editable and what constraints apply before constructing an amendment request.

 **Token scopes**: `contracts:read`

## Path parameters

- `contract_id` string, alphanumeric, required

## Query parameters

- `employment_state` string

## Response `200`

Amendment settings response with additional_details included as optional.

- EorAmendmentsGetContractAmendmentsValidationSettingsResponse200
  - `data` EorContractsContractIdAmendmentsValidationSettingsGetResponsesContentApplicationJsonSchemaDataItems[]
    - `rules` EorContractsContractIdAmendmentsValidationSettingsGetResponsesContentApplicationJsonSchemaDataItemsRulesItems[]: The rules for the data point.
      - `max` number, double: The maximum allowable value for numerical data points.
      - `min` number, double, nullable: The minimum allowable value for numerical data points.
      - `max_date` string, date, nullable: The latest allowable date for date-type data points.
      - `min_date` string, date, nullable: The earliest allowable date for date-type data points.
      - `nullable` boolean: Indicates whether the data point can be null.
      - `requires` EorContractsContractIdAmendmentsValidationSettingsGetResponsesContentApplicationJsonSchemaDataItemsRulesItemsRequires: Contract conditions that must be met for this rule to be applied.
      - `is_editable` boolean: Indicates whether the data point can be updated.
      - `possible_options` string[]: A list of possible values the data point can have. Unique for each data point.
      - `additional_details` EorContractsContractIdAmendmentsValidationSettingsGetResponsesContentApplicationJsonSchemaDataItemsRulesItemsAdditionalDetails: Optional additional information for rules, if applicable.
        - `cap` number, double, nullable: The maximum limit imposed for probation period for definite contract when specific calculation is used, it will be in additional_details.rule.
        - `note` string, nullable: Additional explanation or notes related to this rule.
        - `rule` 'ONE_QUARTER_OF_CONTRACT_DURATION' | 'ONE_THIRD_OF_CONTRACT_DURATION' | 'HALF_OF_CONTRACT_DURATION', nullable: Specific rule that applies for probation period.
        - `time_unit` 'WEEK' | 'MONTH' | 'DAY', nullable: The unit of time applicable to notice period.
      - `tenure_based_rules` EorContractsContractIdAmendmentsValidationSettingsGetResponsesContentApplicationJsonSchemaDataItemsRulesItemsTenureBasedRulesItems[]: Defines notice period rules based on the duration of employment.
        - `notice_value` integer, nullable: The required notice period for this range of employment duration.
        - `max_employment_duration` integer, nullable: The maximum duration of employment for this rule to apply.
        - `min_employment_duration` integer, nullable: The minimum duration of employment for this rule to apply.
        - `employment_duration_type` 'DAY' | 'WEEK' | 'MONTH' | 'YEAR', nullable: The unit of measurement for the employment duration.
      - `external_validation` boolean: Indicates whether external validation/fetching is required for this data point. If yes, the information for this data point must be retrieved using another endpoint.
    - `data_point` string: The name of the data point being configured.

## Other responses

- `400`: Bad Request. The request could not be understood or was missing required parameters.
- `401`: Operation failed.
- `403`: Operation failed.
- `404`: Resource not found (e.g., contract, profile, amendment, change request).
- `500`: Internal server error.

---

[API](https://skmtc.dev/deel/apis/eor-endpoints.md) - [All operations](https://skmtc.dev/deel/apis/eor-endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/deel/apis/eor-endpoints/revisions/7a55c7caa6dc?raw)
