---
title: "Retrieves a sum of relevant units (time entries, vacation days etc.) for the specified payroll batch."
method: GET
path: "/api/salarybatches/{batchId}/totals/units"
tags: ["SalaryBatches"]
---

# Retrieves a sum of relevant units (time entries, vacation days etc.) for the specified payroll batch.

`GET /api/salarybatches/{batchId}/totals/units`

## Path parameters

- `batchId` integer, required

## Response `200`

OK

- IntectWebAPIControllersSalaryBatchesControllerSalaryBatchUnitTotal[]
  - `Name` string
  - `Key` string
  - `Amount` number, double

---

[API](https://skmtc.dev/intect/apis/intect-rest-api.md) · [All operations](https://skmtc.dev/intect/apis/intect-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/intect/intect-rest-api/revisions/e256dcb495d4/schema)
