# PostCalculateTransitionCompensationByEmploymentId
Calculate transition compensation
This is a controller endpoint to perform a calculation. No actual data will be stored as a result of these actions.
__Activity name :__ PostCalculateTransitionCompensationByEmploymentId
__Defaults :__ Default values for a new object can be acquired by adding `/defaults` to the POST URL. This will only include the default values for the input parameter fields (the actual calculation of the transition compensation is not part of that)
A calculation help for determining the transition compensation amount. (rekenhulp transitievergoeding)
Select loket.nl (REST) API URL: /providers/employers/employees/employments/{employmentId}/transitioncompensation/calculate
Insert loket.nl (REST) API URL: /providers/employers/employees/employments/{employmentId}/transitioncompensation/calculate
Update loket.nl (REST) API URL: /providers/employers/employees/employments/{employmentId}/transitioncompensation/calculate
Delete loket.nl (REST) API URL: /providers/employers/employees/employments/{employmentId}/transitioncompensation/calculate
Select loket.nl (REST) API Operation: post /providers/employers/employees/employments/{employmentId}/transitioncompensation/calculate
- Catalog: `LoketNlRest`
- Schema: `TransitionCompensation`
- 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 |
|---|:---:|:---:|:---:|---|
| `employmentId` | `guid` | ☑ | | The unique identifier of the employment |
## Columns of Table Function
The columns of the table function `PostCalculateTransitionCompensationByEmploymentId` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `employmentDurationInDecimalYears` | `double` | | ☐ | Calculated employment duration in years, as a decimal number. |
| `monthlyWage` | `double` | | ☐ | Calculated wage for the employment per month. |
| `transitionCompensationAmount` | `double` | | ☐ | Calculated total amount for the transition compensation. |