# PutCompanyCarByCompanyCarId
Edit the details of a company car record
__Activity name:__ PutCompanyCarByCompanyCarId
Edit the details for a company car record.
Please note this resource is related for the registration of the company car for HRM purposes. This resource is NOT related to the registration of the fiscal company car(s) which is used in salary calculations.
__Metadata :__ 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/companycars/{companyCarId}
Insert loket.nl (REST) API URL: /providers/employers/employees/employments/companycars/{companyCarId}
Update loket.nl (REST) API URL: /providers/employers/employees/employments/companycars/{companyCarId}
Delete loket.nl (REST) API URL: /providers/employers/employees/employments/companycars/{companyCarId}
Select loket.nl (REST) API Operation: put /providers/employers/employees/employments/companycars/{companyCarId}
- Catalog: `LoketNlRest`
- Schema: `CompanyCar`
- 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 |
|---|:---:|:---:|:---:|---|
| `companyCarId` | `guid` | ☑ | | The unique identifier of the company car |
| `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 `PutCompanyCarByCompanyCarId` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `brand` | `string` | | ☐ | Brand of the vehicle. |
| `catalogValue` | `double` | | ☐ | The catalog value of the car. |
| `comments` | `string` | | ☐ | Any comments on the car or the contract. |
| `endDate` | `datetime` | | ☐ | The end date of the entity. The date is up to and including. |
| `fuelCardNumber` | `string` | | ☐ | Registration number of the fuel card. |
| `id` | `guid` | | ☐ | The unique identifier of an object (GUID/UUID) |
| `kilometersPrivateUse` | `int32` | | ☐ | The number kilometers per year the employee can use the car for private purposes. |
| `lease_contractNumber` | `string` | | ☐ | Registration number of the lease contract. |
| `lease_endDate` | `datetime` | | ☐ | The end date of the entity. The date is up to and including. |
| `lease_startDate` | `datetime` | | ☐ | The start date of the entity. |
| `leaseOrBuy_key` | `int32` | | ☐ | |
| `leaseOrBuy_value` | `string` | | ☐ | |
| `licensePlateNumber` | `string(8)` | | ☐ | Vehicle registration number (license plate) of the company car. The number should be provided with or without any hyphens (-). |
| `model` | `string` | | ☐ | Model of the vehicle. |
| `startDate` | `datetime` | | ☐ | The start date of the entity. |
| `supplier` | `string` | | ☐ | Name of the company the delivered the company car. |