---
title: "Post Weekend Leave Weekend"
method: POST
path: "/WeekendLeave/Weekends"
tags: ["Weekendleave"]
---

# Post Weekend Leave Weekend

`POST /WeekendLeave/Weekends`

**Requires permissions:** *AcademicStaff* or *AcademicSupport* or *StudentFacing*

Creates a Weekend Leave Weekend with Date entities

## Query parameters

- `page` integer, required
- `pageSize` integer, required
- `includes` string[], nullable
- `sort` string, nullable
- `filter` string, nullable

## Request body

- PostWeekendLeaveWeekendRequest
  - `weekend` WeekendLeaveWeekend
    - `id` integer
    - `type` string, nullable
    - `start` string, date-time
    - `end` string, date-time
    - `parentClose` string, date-time
    - `archiveOn` string, date-time
    - `showFrom` string, date-time, nullable
    - `dates` WeekendLeaveDate[]
      - `id` integer
      - `weekendId` integer
      - `title` string, nullable
      - `start` string, date-time, nullable
      - `end` string, date-time, nullable
      - `description` string, nullable
      - `day` WeekendLeaveDay
        - `id` integer
        - `value` string, nullable
      - `archiveOn` string, date-time, nullable
      - `parentClose` string, date-time, nullable
      - `showFrom` string, date-time, nullable
      - `archived` boolean, nullable
      - `options` WeekendLeaveDateOption[]
        - `id` integer
        - `dateId` integer
        - `option` WeekendLeaveOption
          - `id` integer
          - `value` string, nullable
          - `requiresDescription` boolean
          - `requiresAddress` boolean
    - `archived` boolean

## Response `200`

Success - Created Weekend Leave Weekend

- GetWeekendLeaveWeekendsResponse
  - `meta` Meta
    - `page` integer
    - `pageSize` integer
    - `total` integer
  - `weekends` WeekendLeaveWeekend[]
    - `id` integer
    - `type` string, nullable
    - `start` string, date-time
    - `end` string, date-time
    - `parentClose` string, date-time
    - `archiveOn` string, date-time
    - `showFrom` string, date-time, nullable
    - `dates` WeekendLeaveDate[]
      - `id` integer
      - `weekendId` integer
      - `title` string, nullable
      - `start` string, date-time, nullable
      - `end` string, date-time, nullable
      - `description` string, nullable
      - `day` WeekendLeaveDay
        - `id` integer
        - `value` string, nullable
      - `archiveOn` string, date-time, nullable
      - `parentClose` string, date-time, nullable
      - `showFrom` string, date-time, nullable
      - `archived` boolean, nullable
      - `options` WeekendLeaveDateOption[]
        - `id` integer
        - `dateId` integer
        - `option` WeekendLeaveOption
          - `id` integer
          - `value` string, nullable
          - `requiresDescription` boolean
          - `requiresAddress` boolean
    - `archived` boolean

## Other responses

- `400` — An Error Occurred - Could not create Weekend Leave Weekend
- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.net/tonbridge/apis/tonbridge-app-api.md) · [All operations](https://skmtc.net/tonbridge/apis/tonbridge-app-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tonbridge/tonbridge-app-api/versions/28344aa564b4/schema)
