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

# Retrieves a sum of relevant unit totals (time entries, vacation days etc.) by employee for the specified payroll batch and category.

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

## Path parameters

- `batchId` integer, required
- `key` string, required

## Response `200`

OK

- IntectWebAPIControllersSalaryBatchesControllerSalaryBatchEmployeeTotal[]
  - `UserEmploymentId` integer
  - `FullName` string
  - `AmountSum` 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)
