---
title: "Return a document for a publication"
method: GET
path: "/api/Publications/{id}/Document/{documentId}/{fileDataFormat}"
tags: ["Publications"]
---

# Return a document for a publication

`GET /api/Publications/{id}/Document/{documentId}/{fileDataFormat}`

## Path parameters

- `id` integer, required
- `documentId` integer, required
- `fileDataFormat` 'OriginalFormat' | 'Html' | 'Pdf', required

## Response `200`

Document and its data with given Ids

- CommitteesCommonResponsesCommonDocumentDocumentFile
  - `fileName` string, nullable
  - `fileSize` integer, nullable
  - `fileDataFormat` 'OriginalFormat' | 'Html' | 'Pdf'
  - `url` string, nullable

## Other responses

- `400` — Bad Request
- `404` — One of the parameters supplied is invalid

---

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