---
title: "DepartmentById2 (Visma.net Financials)"
description: "Department by ID"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/vismanet/VismaNet.Department.DepartmentById2
original: https://documentation.invantive.eu/en/datamodels/vismanet/VismaNet.Department.DepartmentById2
updated: 2026-11-01T17:49:50Z
license: https://documentation.invantive.eu/en/
---

# DepartmentById2: Visma.net Financials Department by ID

`read only` `REST`

- Catalog: `VismaNet`
- Schema: `Department`
- Label: Department by ID

Get a specific department
Data for a single department. 
The response headers include an ETag after a successful GET operation.

Can only retrieve data.

## Summary

Data for a single department. <br></br>
The response headers include an ETag after a successful GET operation.

## API Source

- Endpoint: `/v1/department/{departmentId}`
- Operation: `get /v1/department/{departmentId}`

## Performance Characteristics

| Characteristic | Value |
|---|---:|
| Average access latency (ms) | 155 |
| Full scan rows per minute | 29,100 |
| Point query rows per minute | 387 |

The result can be cached on the client.

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `departmentId` | `` | [x] |  | Identifies the department |

## Table Columns

The columns of the table `DepartmentById2` 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 |
|---|---|---|:---:|---|---|
| `COMPANY_CODE` | `varchar2(30)` | Company Code | [x] | writable | Partition code, segmenting the data. |
| `COMPANY_NAME` | `varchar2(240)` | Company Name | [x] | writable | Name of the partition. |
| `departmentId` | `varchar2` | Department ID | [ ] | filters on the platform, writable, `departmentId` | Mandatory field : The table &gt; Department ID* &gt; The unique identifier for the department. |
| `description` | `varchar2` | Description | [ ] | filters on the platform, writable, `description` | The table &gt; Description &gt; A detailed description of the department. |
| `expenseAccount_active` | `char` | itgen_vnet_expenseaccount_active | [ ] | filters on the platform, writable, `expenseAccount.active` |  |
| `expenseAccount_description` | `varchar2` | Expense Account Description | [ ] | filters on the platform, writable, `expenseAccount.description` | Name of item/description |
| `expenseAccount_externalCode1` | `varchar2` | itgen_vnet_expenseaccount_externalcode1 | [ ] | filters on the platform, writable, `expenseAccount.externalCode1` | Account class &gt; The identifier of the account class. |
| `expenseAccount_externalCode2` | `varchar2` | itgen_vnet_expenseaccount_externalcode2 | [ ] | filters on the platform, writable, `expenseAccount.externalCode2` | Account class &gt; The name of the account class. |
| `expenseAccount_number` | `varchar2` | Expense Account Number | [ ] | filters on the platform, writable, `expenseAccount.number` | Number of item |
| `expenseAccount_type` | `varchar2` | Expense Account Type | [ ] | filters on the platform, writable, `expenseAccount.type` | Account &gt; The account number. |
| `expenseSubaccount_active` | `char` | itgen_vnet_expensesubaccount_active | [ ] | filters on the platform, writable, `expenseSubaccount.active` |  |
| `expenseSubaccount_description` | `varchar2` | itgen_vnet_expensesubaccount_description | [ ] | filters on the platform, writable, `expenseSubaccount.description` | Click on the magnifier. &gt; The description. |
| `expenseSubaccount_id` | `varchar2` | itgen_vnet_expensesubaccount_id | [ ] | filters on the platform, writable, `expenseSubaccount.id` | Click on the magnifier. &gt; The identifier. |
| `lastModifiedDateTime` | `datetime` | Last Modified | [ ] | filters on the platform, writable, `lastModifiedDateTime` | A system generated date/time that indicates the last change for the department. |
| `publicId` | `guid` | Public ID | [ ] | filters on the platform, writable, `publicId` | Identifies the Department by its publicId |
| `timeStamp` | `blob` | Timestamp | [ ] | filters on the platform, writable, `timeStamp` | Identifier that represents a specific version of the resource. It helps to prevent simultaneous updates of the resource from overwriting each other (by using ETags and If-Match headers) |



## Release Notes

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

- [Visma.net Financials](/en/release-notes/drivers?driver=visma-net-financials)

