# PutOrganizationalEntityByOrganizationalEntityId
Edit the details of an organizational entity
__Activity name:__ PutOrganizationalEntityByOrganizationalEntityId
Edit the details for an organizational entity
Possible options for fields of the type 'metadata' can be acquired (GET) by adding `/metadata` to the PUT URL.
Select loket.nl (REST) API URL: /providers/employers/employees/employments/organizationalentities/{organizationalEntityId}
Insert loket.nl (REST) API URL: /providers/employers/employees/employments/organizationalentities/{organizationalEntityId}
Update loket.nl (REST) API URL: /providers/employers/employees/employments/organizationalentities/{organizationalEntityId}
Delete loket.nl (REST) API URL: /providers/employers/employees/employments/organizationalentities/{organizationalEntityId}
Select loket.nl (REST) API Operation: put /providers/employers/employees/employments/organizationalentities/{organizationalEntityId}
- Catalog: `LoketNlRest`
- Schema: `OrganizationalEntity`
- 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` | ☑ | | Organizational entity 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). |
| `organizationalEntityId` | `guid` | ☑ | | The unique identifier of the organizational entity |
## Columns of Table Function
The columns of the table function `PutOrganizationalEntityByOrganizationalEntityId` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `department_code` | `int32` | | ☐ | |
| `department_description` | `string` | | ☐ | |
| `department_key` | `guid` | | ☐ | The unique identifier of an object (GUID/UUID) |
| `deviatingFunctionDescription` | `string(50)` | | ☐ | The deviating function description of the employment. This description deviates from the value of the `function` field. |
| `deviatingFunctionGroup` | `string(5)` | | ☐ | The deviating function group description of the employment. Only applies when a deviating function description is defined. |
| `distributionUnit_code` | `int32` | | ☐ | |
| `distributionUnit_description` | `string` | | ☐ | |
| `distributionUnit_key` | `guid` | | ☐ | The unique identifier of an object (GUID/UUID) |
| `endDate` | `datetime` | | ☐ | The end date of the entity. The date is up to and including. |
| `function_description` | `string(50)` | | ☐ | |
| `function_group` | `string(5)` | | ☐ | |
| `function_key` | `guid` | | ☐ | The unique identifier of an object (GUID/UUID) |
| `id` | `guid` | | ☐ | The unique identifier of an object (GUID/UUID) |
| `internalTelephoneExtensionNumber` | `string(15)` | | ☐ | The phone number of the standard working location (standplaats) for the employment. |
| `placeOfEmployment` | `string(24)` | | ☐ | The standard working location (standplaats) for the employment. |
| `standardFunction_category` | `int32` | | ☐ | |
| `standardFunction_code` | `string(6)` | | ☐ | |
| `standardFunction_key` | `int32` | | ☐ | |
| `standardFunction_value` | `string` | | ☐ | |
| `startDate` | `datetime` | | ☐ | The start date of the entity. A (linked chain)[./#section/Data/Date-chains] is maintained within this resource. |