# MinimumWageByEmploymentId
Minimumwage for an employment
__Activity name :__ GetMinimumWageByEmploymentId
This endpoint calculates the minimumwage for an employment.
This is a read-only table function. The Loket.nl REST API may not support changing the data, or the Invantive UniversalSQL driver for Loket.nl REST does not support it. In the latter case, use the table NativePlatformScalarRequests to upload data to the Loket.nl REST API.
- Catalog: `LoketNlRest`
- Schema: `Wage`
## Parameters of Table Function
| Name | Data Type | Required | Default Value | Documentation |
|---|:---:|:---:|:---:|---|
| `employmentId` | `guid` | ☑ | | The unique identifier of the employment |
| `paygradeKey` | `int64` | ☐ | | The Paygrade (age) to use for calculating the minimumwage. When not supplied, the age is calculated. |
| `payscaleKey` | `int64` | ☑ | | The Payscale to use for calculating the minimumwage The following payscales are supported: -1 Wettelijk minimumloon, maandloon -2 Wettelijk minimumloon, 4 weken -3 Wettelijk minimumloon, uurloon |
| `referenceDate` | `datetime` | ☐ | | Set a reference date for choosing the date dependent data. |
## Columns
The columns of the table `MinimumWageByEmploymentId` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `payGrade_amount` | `double` | | ☐ | |
| `payGrade_key` | `int32` | Salary Level Key | ☐ | |
| `payScale_key` | `int32` | Salary Scale Key | ☐ | |
| `referenceDate` | `datetime` | | ☐ | The reference date used to calculate the minimumwage |