# PutWageByWageId
Edit a wage
__Activity name :__ PutWageByWageId
Edit the details of a wage
__Metadata :__ Possible options for fields of the type 'metadata' can be acquired (GET) by adding `/metadata` to the PUT wage URL.
The possible options for `payGrade` are scoped by a `payScale`. To obtain the pay grades for a pay scale a metadata call has to be performed with the following format `../wages/metadata/payscale/{key}`. Where {key} is the key of the `payScale` (obtained via the first metadata call) for which the pay grades are to be returned.
Select loket.nl (REST) API URL: /providers/employers/employees/employments/wages/{wageId}
Insert loket.nl (REST) API URL: /providers/employers/employees/employments/wages/{wageId}
Update loket.nl (REST) API URL: /providers/employers/employees/employments/wages/{wageId}
Delete loket.nl (REST) API URL: /providers/employers/employees/employments/wages/{wageId}
Select loket.nl (REST) API Operation: put /providers/employers/employees/employments/wages/{wageId}
- Catalog: `LoketNlRest`
- Schema: `Wage`
- 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 |
|---|:---:|:---:|:---:|---|
| `body` | `string` | ☑ | | Wage 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). |
| `wageId` | `guid` | ☑ | | The unique identifier of a wage |
## Columns of Table Function
The columns of the table function `PutWageByWageId` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `applyPayGrade` | `boolean` | | ☐ | Apply pay grade indicates that after submitting the record the server will replace the value of `grossWage` with the value represented by the selected `payGrade`. A pay grade contains time based values, the value that is active on the `start date` of the record will be selected. |
| `employerCosts` | `double` | | ☐ | The cost for the employer for this employee. |
| `employerCostsType_key` | `int32` | | ☐ | |
| `employerCostsType_value` | `string(50)` | | ☐ | |
| `endDate` | `datetime` | | ☐ | The end date for the information in the record. |
| `grossWage` | `double` | | ☐ | The gross wage for the employee |
| `grossWageType_key` | `int32` | | ☐ | |
| `grossWageType_value` | `string(50)` | | ☐ | |
| `id` | `guid` | | ☐ | The unique identifier of an object (GUID/UUID) |
| `isGrossWageFullTime` | `boolean` | | ☐ | Indicates whether the given grossWage is either a full-time wage or a part-time wage. Full-time wage is the default value (isGrossWageFulltime = true) and Loket.nl recommends to use this option. A full-time wage takes into account the part-time percentage of an employment. While a part-time wage does not. E.g. A full-time wage of 2400 euro’s is registered. The employments works 20 out of 40 hours (40 fours is a full-time shift) thus having a 20/40 = 50% part-time percentage. The part-time hours (deviatingHoursPerWeek) are accessible through the endpoint for working hours of an employement. In the wage calculation Loket.nl will divide the grossWage component by 50% resulting in a grossWage of 1200 euro’s. In the case of a part-time wage the part-time percentage will be ignored. |
| `netWage` | `double` | | ☐ | Net wage for the employment |
| `netWageType_key` | `int32` | | ☐ | |
| `netWageType_value` | `string(50)` | | ☐ | |
| `payGrade_key` | `int32` | | ☐ | |
| `payGrade_value` | `string(50)` | | ☐ | |
| `payrollPeriodType_key` | `int32` | | ☐ | |
| `payrollPeriodType_value` | `string(50)` | | ☐ | |
| `payScale_key` | `int32` | | ☐ | |
| `payScale_value` | `string(50)` | | ☐ | |
| `startDate` | `datetime` | | ☐ | The start date for the information in the record. A (linked chain)[./#section/Data/Date-chains] is maintained within this resource. __Note__ It is posible to have no wage record. |