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

# POST /contractType

`POST /contractType`

## Request

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

create a contractType

## Query parameters

- `dryRun` boolean

## Request body

- ContractType
  - `id` string
  - `version` string
  - `active` boolean
  - `createdDate` integer
  - `iconClass` string
  - `lastModifiedDate` integer
  - `name` string, required
  - `positionNumber` integer

## Response `201`

contractType create response

- ContractType
  - `id` string
  - `version` string
  - `active` boolean
  - `createdDate` integer
  - `iconClass` string
  - `lastModifiedDate` integer
  - `name` string, required
  - `positionNumber` 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/contractType/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)
