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

# GET /productionWorkSchedule

`GET /productionWorkSchedule`

## Request

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

query productionWorkSchedule

## Query parameters

- `page` integer
- `pageSize` integer
- `sort` string

## Response `200`

productionWorkSchedule response

- object
  - `result` 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/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)
