---
title: "POST /productionWorkScheduleAssignment"
method: POST
path: "/productionWorkScheduleAssignment"
tags: ["productionWorkScheduleAssignment"]
---

# POST /productionWorkScheduleAssignment

`POST /productionWorkScheduleAssignment`

## Request

- Base URL: `https://www.weclapp.com/api/nullapi/v2`
- URL: `https://www.weclapp.com/api/nullapi/v2/productionWorkScheduleAssignment`
- Auth: API key in header `AuthenticationToken`
- TypeScript: <https://skmtc.dev/weclapp/apis/weclapp-api/docs/productionWorkScheduleAssignment/post.ts> (a function with typed inputs; its response is checked against the schema)

create a productionWorkScheduleAssignment

## Query parameters

- `dryRun` boolean

## Request body

- ProductionWorkScheduleAssignment
  - `id` string
  - `version` string
  - `alternative` boolean
  - `articleId` string, required
  - `createdDate` integer
  - `customAttributes` CustomAttribute[]
    - `attributeDefinitionId` string
    - `booleanValue` boolean
    - `dateValue` integer
    - `entityId` string
    - `entityReferences` EntityReference[]
      - `entityId` string
      - `entityName` string
    - `numberValue` string, number
    - `selectedValueId` string
    - `selectedValues` OnlyId[]
      - `id` string
    - `stringValue` string
  - `lastModifiedDate` integer
  - `productionWorkScheduleId` string, required
  - `validFrom` integer
  - `validTo` integer

## Response `201`

productionWorkScheduleAssignment create response

- ProductionWorkScheduleAssignment
  - `id` string
  - `version` string
  - `alternative` boolean
  - `articleId` string, required
  - `createdDate` integer
  - `customAttributes` CustomAttribute[]
    - `attributeDefinitionId` string
    - `booleanValue` boolean
    - `dateValue` integer
    - `entityId` string
    - `entityReferences` EntityReference[]
      - `entityId` string
      - `entityName` string
    - `numberValue` string, number
    - `selectedValueId` string
    - `selectedValues` OnlyId[]
      - `id` string
    - `stringValue` string
  - `lastModifiedDate` integer
  - `productionWorkScheduleId` string, required
  - `validFrom` integer
  - `validTo` integer

## Other responses

- `default`: error response

## Changes

- **2026-11-07** `0e021229755d`: 1 info
  - added the new optional `query` request parameter `dryRun`
- **2022-12-03** `cc274ef79dfd`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/weclapp/apis/weclapp-api/changes/productionWorkScheduleAssignment/post.md)

---

[API](https://skmtc.dev/weclapp/apis/weclapp-api.md) - [All operations](https://skmtc.dev/weclapp/apis/weclapp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/weclapp/apis/weclapp-api/revisions/0e021229755d?raw)
