---
title: "Creates a new room day assignment."
method: POST
path: "/RoomDayAssignments"
tags: ["RoomDayAssignments"]
---

# Creates a new room day assignment.

`POST /RoomDayAssignments`

## Request

- Base URL: `https://api.clinicos.vet/backend/business`
- URL: `https://api.clinicos.vet/backend/business/RoomDayAssignments`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/docs/RoomDayAssignments/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- CreateRoomDayAssignmentDto: Request DTO for creating a room day assignment.
  - `locationId` string, required
  - `userId` string, required
  - `assignmentDate` string, required

## Response `200`

OK

- RoomDayAssignmentResponseDto: Response DTO for a room day assignment with user details.
  - `id` string
  - `locationId` 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
  - `assignmentDate` string
  - `createdAt` string, date-time
  - `updatedAt` string, date-time

---

[API](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1.md) - [All operations](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/revisions/099cf36186e0?raw)
