---
title: "Upload an eQ collection instrument associated to a survey with classifiers"
method: POST
path: "/collection-instrument-api/1.0.2/upload"
tags: ["collection-instrument"]
---

# Upload an eQ collection instrument associated to a survey with classifiers

`POST /collection-instrument-api/1.0.2/upload`

## Request

- Base URL: `https://localhost:8002`
- URL: `https://localhost:8002/collection-instrument-api/1.0.2/upload`
- Auth: HTTP basic

## Query parameters

- `classifiers` string, dictionary
- `survey_id` string, uuid

## 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

## Changes

- **2023-02-27** `a428925d8ba4`: 2 info
  - added the non-success response with the status `503`
  - added the non-success response with the status `504`

[Operation history](https://skmtc.dev/office-of-national-statistics/apis/collection-instrument/changes/collection-instrument-api/1.0.2/upload/post.md)

---

[API](https://skmtc.dev/office-of-national-statistics/apis/collection-instrument.md) - [All operations](https://skmtc.dev/office-of-national-statistics/apis/collection-instrument/llms.txt) - [OpenAPI document](https://skmtc.dev/office-of-national-statistics/apis/collection-instrument/revisions/8897fbcfad31?raw)
