---
title: "GET /productionWorkSchedule/id/{id}"
method: GET
path: "/productionWorkSchedule/id/{id}"
tags: ["productionWorkSchedule"]
---

# GET /productionWorkSchedule/id/{id}

`GET /productionWorkSchedule/id/{id}`

## Request

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

query productionWorkSchedule

## Path parameters

- `id` string, required

## Response `200`

get by id

- ProductionWorkSchedule
  - `id` string
  - `version` string
  - `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
  - `description` string
  - `lastModifiedDate` integer
  - `status` 'APPROVED' | 'ENTRY_IN_PROGRESS' | 'INVALID', required
  - `workScheduleItems` ProductionWorkScheduleItem[]
    - `id` string
    - `version` string
    - `costCenterId` string
    - `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
    - `description` string
    - `lastModifiedDate` integer
    - `multipleHumanOperation` integer, required
    - `multipleMachineOperation` integer, required
    - `positionNumber` integer
    - `productionWorkScheduleId` string
    - `quantityBase` integer
    - `setupTime` string, number, required
    - `shortDescription` string
    - `timeType` 'SINGLE_TIME' | 'TIME_PER_UNIT', required
    - `timeUnit` 'DAY' | 'HOUR' | 'MINUTE' | 'MONTH' | 'SECOND' | 'WEEK' | 'YEAR', required
    - `unitTime` string, number, required
    - `validFrom` integer
    - `validTo` integer
  - `workScheduleNumber` string, required

## Other responses

- `default`: error response

## Changes

- **2022-12-03** `cc274ef79dfd`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/weclapp/apis/weclapp-api/changes/productionWorkSchedule/id/:id/get.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)
