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

# POST /workScheduleProfile

`POST /workScheduleProfile`

## Request

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

create a workScheduleProfile

## Query parameters

- `dryRun` boolean

## Request body

- WorkScheduleProfile
  - `id` string
  - `version` string
  - `createdDate` integer
  - `description` string
  - `lastModifiedDate` integer
  - `name` string, required
  - `type` 'TICKET_ASSIGNMENT_RULE' | 'TICKET_SERVICE_LEVEL_AGREEMENT' | 'USER', required
  - `weeklyWorkDays` integer
  - `weeklyWorkDurationInMinutes` integer
  - `workScheduleDays` WorkScheduleDay[]
    - `id` string
    - `version` string
    - `breakDurationInMinutes` integer
    - `createdDate` integer
    - `day` 'FRIDAY' | 'MONDAY' | 'SATURDAY' | 'SUNDAY' | 'THURSDAY' | 'TUESDAY' | 'WEDNESDAY', required
    - `endTimeInMinutes` integer
    - `lastModifiedDate` integer
    - `startTimeInMinutes` integer
    - `workDurationInMinutes` integer

## Response `201`

workScheduleProfile create response

- WorkScheduleProfile
  - `id` string
  - `version` string
  - `createdDate` integer
  - `description` string
  - `lastModifiedDate` integer
  - `name` string, required
  - `type` 'TICKET_ASSIGNMENT_RULE' | 'TICKET_SERVICE_LEVEL_AGREEMENT' | 'USER', required
  - `weeklyWorkDays` integer
  - `weeklyWorkDurationInMinutes` integer
  - `workScheduleDays` WorkScheduleDay[]
    - `id` string
    - `version` string
    - `breakDurationInMinutes` integer
    - `createdDate` integer
    - `day` 'FRIDAY' | 'MONDAY' | 'SATURDAY' | 'SUNDAY' | 'THURSDAY' | 'TUESDAY' | 'WEDNESDAY', required
    - `endTimeInMinutes` integer
    - `lastModifiedDate` integer
    - `startTimeInMinutes` integer
    - `workDurationInMinutes` integer

## Other responses

- `default`: error response

## Changes

- **2026-11-07** `0e021229755d`: 1 info
  - endpoint added

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