---
title: "Create a new time entry"
method: POST
path: "/TimeEntries"
tags: ["TimeEntries"]
---

# Create a new time entry

`POST /TimeEntries`

## Request body

- CreateTimeEntryDto
  - `userId` string, nullable
  - `date` string
  - `timeIn` string, date-time
  - `timeOut` string, date-time
  - `lunchIn` string, date-time, nullable
  - `lunchOut` string, date-time, nullable
  - `notes` string, nullable
  - `status` string, nullable

## Response `200`

OK

- TimeEntryResponseDto
  - `id` string
  - `userId` string
  - `user` UserSummaryDto
    - `id` string
    - `email` string
    - `firstName` string, nullable
    - `lastName` string, nullable
    - `displayName` string, nullable
    - `type` string
    - `roleId` string, nullable
    - `roleName` string, nullable
  - `date` string
  - `timeIn` string, date-time
  - `timeOut` string, date-time, nullable
  - `lunchIn` string, date-time, nullable
  - `lunchOut` string, date-time, nullable
  - `notes` string, nullable
  - `totalHours` union
    - number, double
    - string, double
  - `lunchDuration` union
    - integer
    - string, int32
  - `status` string
  - `createdAt` string, date-time
  - `updatedAt` string, date-time

---

[API](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1.md) · [All operations](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clinicos/pawthosx-business-api-v1/versions/a905bde4e796/schema)
