---
title: "/shiftTypes"
method: POST
path: "/shiftTypes"
---

# /shiftTypes

`POST /shiftTypes`

## Request

- Base URL: `https://api.securevan.com/v4`
- URL: `https://api.securevan.com/v4/shiftTypes`
- Auth: HTTP basic

Accepts a standard [Shift Type](ref:shift-types#common-models-32) object with no read-only values specified.

*Response*

If successful, the endpoint responds with HTTP Status Code `201 Created` and a Shift Type object with the integer ID of the created Shift Type in the response body. It also sets the **Location** header to the [location](ref:shifttypesshifttypeid) of the Shift Type.

## Request body

- object
  - `name` string: Required; name for the Shift Type
  - `defaultStartTime` string, date: Required; default start time for the Shift Type
  - `defaultEndTime` string, date: Required; default end time for the Shift Type

## Response `201`

201

- object
  - `shiftTypeId` integer
  - `name` string
  - `defaultStartTime` string
  - `defaultEndTime` string

## Other responses

- `400`: 400

## Changes

- **2026-11-03** `4f2049fba5af`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ngpvan/apis/van-crm/changes/shiftTypes/post.md)

---

[API](https://skmtc.dev/ngpvan/apis/van-crm.md) - [All operations](https://skmtc.dev/ngpvan/apis/van-crm/llms.txt) - [OpenAPI document](https://skmtc.dev/ngpvan/apis/van-crm/revisions/4f2049fba5af?raw)
