---
title: "Manager rejects a shift swap awaiting approval"
method: POST
path: "/ShiftSwaps/{id}/reject"
tags: ["ShiftSwaps"]
---

# Manager rejects a shift swap awaiting approval

`POST /ShiftSwaps/{id}/reject`

## Path parameters

- `id` string, required

## Response `200`

OK

- ShiftSwapResponseDto
  - `id` string
  - `shiftId` string
  - `shift` ShiftSummaryDto
    - `id` string
    - `locationId` string, nullable
    - `locationName` string, nullable
    - `shiftDate` string
    - `startTime` string, nullable
    - `endTime` string, nullable
    - `income` string, nullable
    - `status` string
    - `cancelBy` string, nullable
    - `userId` string
  - `fromUserId` string
  - `fromUser` UserSummaryDto
    - `id` string
    - `email` string
    - `firstName` string, nullable
    - `lastName` string, nullable
    - `displayName` string, nullable
    - `type` string
    - `roleId` string, nullable
    - `roleName` string, nullable
  - `toUserId` string, nullable
  - `toUser` UserSummaryDto
    - `id` string
    - `email` string
    - `firstName` string, nullable
    - `lastName` string, nullable
    - `displayName` string, nullable
    - `type` string
    - `roleId` string, nullable
    - `roleName` string, nullable
  - `notes` string, nullable
  - `status` integer
  - `resolvedByUserId` string, nullable
  - `resolvedByUser` UserSummaryDto
    - `id` string
    - `email` string
    - `firstName` string, nullable
    - `lastName` string, nullable
    - `displayName` string, nullable
    - `type` string
    - `roleId` string, nullable
    - `roleName` string, nullable
  - `resolvedAt` string, date-time, nullable
  - `expiresAt` string, date-time, nullable
  - `createdAt` string, date-time
  - `updatedAt` string, date-time

## Other responses

- `400` — Bad Request
- `404` — Not Found

---

[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)
