---
title: "Returns the holding Id for the given Recordset Id"
method: GET
path: "/api/holdings/recordset/{recordsetId}"
tags: ["Holdings"]
---

# Returns the holding Id for the given Recordset Id

`GET /api/holdings/recordset/{recordsetId}`

Returns -1 if the user doesn't have access to the holding or the holding doesn't exist

## Path parameters

- `recordsetId` integer, required

## Response `200`

Ok

---

[API](https://skmtc.dev/cefas/apis/data-portal.md) · [All operations](https://skmtc.dev/cefas/apis/data-portal/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cefas/data-portal/revisions/1ff904b61926/schema)
