---
title: "Assign Zones Lab"
method: POST
path: "/questionnaires/jobs/{job_id}/zones-lab/assign"
tags: ["questionnaires"]
---

# Assign Zones Lab

`POST /questionnaires/jobs/{job_id}/zones-lab/assign`

## Request

- Base URL: `https://api.threadchain.pro` (the document declares no server; this is the origin it was published from)
- URL: `https://api.threadchain.pro/questionnaires/jobs/{job_id}/zones-lab/assign`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

## Path parameters

- `job_id` string, uuid, required

## Query parameters

- `view` 'front' | 'back'

## Request body

- AssignBody
  - `zones` AssignZone[], required
    - `id` integer, nullable
    - `name` string
    - `regionIds` integer[]
    - `hex` string, nullable
    - `pantoneTcx` string, nullable
    - `fill` union
      - FabricFill
        - `type` 'fabric', required
        - `fabricId` string, required
        - `scale` number
        - `rotation` number
        - `offsetX` number
        - `offsetY` number
      - ColourFill
        - `type` 'colour'
        - `hex` string, nullable
        - `pantoneTcx` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/threadchain/apis/threadchain-backend.md) - [All operations](https://skmtc.dev/threadchain/apis/threadchain-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/threadchain/apis/threadchain-backend/revisions/8ee288a7e6bd?raw)
