---
title: "Encrypt and upload collection instrument associated to collection exercise and RU"
method: POST
path: "/collection-instrument-api/1.0.2/upload/{exercise_id}/{RU_id}"
tags: ["collection-instrument"]
---

# Encrypt and upload collection instrument associated to collection exercise and RU

`POST /collection-instrument-api/1.0.2/upload/{exercise_id}/{RU_id}`

## Path parameters

- `exercise_id` string, uuid, required
- `RU_id` string, uuid, required

## Query parameters

- `file` string, required

## Response `200`

Successfully uploaded collection instrument

## Other responses

- `500` — Failed to publish upload message
- `503` — An external service returned a connection error
- `504` — An external service timed out

---

[API](https://skmtc.net/office-of-national-statistics/apis/collection-instrument.md) · [All operations](https://skmtc.net/office-of-national-statistics/apis/collection-instrument/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/office-of-national-statistics/collection-instrument/revisions/8897fbcfad31/schema)
