# PutAgeBasedLeaveByAgeBasedLeaveId
Edit the details of an age based leave
__Activity name :__ PutAgeBasedLeaveByAgeBasedLeaveId
Edit the details of an age based leave record
Select loket.nl (REST) API URL: /providers/employers/leavePolicies/agebasedleave/{ageBasedLeaveId}
Insert loket.nl (REST) API URL: /providers/employers/leavePolicies/agebasedleave/{ageBasedLeaveId}
Update loket.nl (REST) API URL: /providers/employers/leavePolicies/agebasedleave/{ageBasedLeaveId}
Delete loket.nl (REST) API URL: /providers/employers/leavePolicies/agebasedleave/{ageBasedLeaveId}
Select loket.nl (REST) API Operation: put /providers/employers/leavePolicies/agebasedleave/{ageBasedLeaveId}
- Catalog: `LoketNlRest`
- Schema: `LeavePolicy`
- Field Selection Method: NotRequired
- Base Path: `content`
This is a read-only table function. The loket.nl (REST) API may not support changing the data or the Invantive SQL driver for loket.nl (REST) does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the loket.nl (REST) API.
## Parameters of Table Function
| Name | Data Type | Required | Default Value | Documentation |
|---|:---:|:---:|:---:|---|
| `ageBasedLeaveId` | `guid` | ☑ | | The unique identifier of the age based leave |
| `body` | `string` | ☑ | | age based leave to edit. |
| `If-Match` | `string` | ☐ | | Input the value acquired in the ETag header for concurrency control. Please note this is optional (and not recommended for most types of integrations). |
## Columns of Table Function
The columns of the table function `PutAgeBasedLeaveByAgeBasedLeaveId` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `from_numberOfMonths` | `int32` | | ☐ | the number of months of age to be applicable for the additional leave |
| `from_numberOfYears` | `int32` | | ☐ | the employee's minimal age to be applicable for the additional leave |
| `id` | `guid` | | ☐ | The unique identifier of an object (GUID/UUID) |
| `leaveEntitlement_excessLeaveToStatutory` | `double` | | ☐ | The excess leave (bovenwetelijk verlof) linked employments are entitled to for a full time contract. Either excessLeaveToStatutory or wtr must have a value |
| `leaveEntitlement_wtr` | `double` | | ☐ | The wrt leave (ADV/ATV verlof) linked employments are entitled to for a full time contract. Either excessLeaveToStatutory or wtr must have a value |
| `upToAndIncluding_numberOfMonths` | `int32` | | ☐ | the number of months of age to be applicable for the additional leave |
| `upToAndIncluding_numberOfYears` | `int32` | | ☐ | the employee's minimal age to be applicable for the additional leave |