---
title: "CostUnitsByJournalProfileId (Loket.nl REST)"
description: "itgen_loketnl_costunitsbyjournalprofileid_plural"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/loketnl/LoketNlRest.JournalProfile.CostUnitsByJournalProfileId
original: https://documentation.invantive.eu/en/datamodels/loketnl/LoketNlRest.JournalProfile.CostUnitsByJournalProfileId
updated: 2024-06-10T18:51:26Z
license: https://documentation.invantive.eu/en/
---

# CostUnitsByJournalProfileId: Loket.nl REST itgen_loketnl_costunitsbyjournalprofileid_plural

`read only` `REST`

- Catalog: `LoketNlRest`
- Schema: `JournalProfile`
- Label: itgen_loketnl_costunitsbyjournalprofileid_plural

List of cost units
__Activity name:__ GetCostUnitsByJournalProfileId
    

Get the list of cost units for a journal profile for a specific payroll administration. 


Can only retrieve data.

## API Source

- Endpoint: `/providers/employers/payrolladministrations/journalProfiles/{journalProfileId}/costUnits`
- Operation: `get /providers/employers/payrolladministrations/journalProfiles/{journalProfileId}/costUnits`

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `journalProfileId` | `` | [x] |  | The unique identifier of a journal profile |

## Table Columns

The columns of the table `CostUnitsByJournalProfileId` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `automaticallyLinkToAllCostCenters` | `char` | itgen_loketnl_automaticallylinktoallcostcenters | [ ] |  | Indicates whether this cost unit will be automaticly be linked to all cost units.   __Note:__ This field is no longer supported but due to backwards compatibility we return the value as readOnly. When creating a new record the value is set to "false" |
| `code` | `varchar2` | Code | [ ] |  | The code for a cost unit |
| `description` | `varchar2` | Description | [ ] |  | The description for a cost unit |
| `id` | `guid` | ID | [ ] |  | The unique identifier of an object (GUID/UUID) |
| `origin_automaticallyLinkToAllCostCenters` | `int64` | itgen_loketnl_origin_automaticallylinktoallcostcenters | [ ] |  | Meaning of the integer: * 1 = CAO * 2 = Loonmodel * 3 = Administratie (Ulsa werkgever) * 4 = Provider |
| `origin_code` | `int64` | itgen_loketnl_origin_code | [ ] |  | Meaning of the integer: * 1 = CAO * 2 = Loonmodel * 3 = Administratie (Ulsa werkgever) * 4 = Provider |
| `origin_description` | `int64` | itgen_loketnl_origin_description | [ ] |  | Meaning of the integer: * 1 = CAO * 2 = Loonmodel * 3 = Administratie (Ulsa werkgever) * 4 = Provider |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [Loket.nl REST](/en/release-notes/drivers?driver=loket-nl-rest)

