> ## Documentation Index
> Fetch the complete documentation index at: https://psw.belli.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Slot Booking

> Create and manage terminal slot bookings with VCT/TSP issuance

Create and manage terminal slot bookings with VCT/TSP issuance.

<ParamField status="201" type="SlotBookingResponse">
  <ParamField name="slotId" type="string">
    Slot booking ID
  </ParamField>

  <ParamField name="terminal" type="string">
    Terminal name
  </ParamField>

  <ParamField name="confirmedDate" type="string" format="date">
    Confirmed date
  </ParamField>

  <ParamField name="confirmedTime" type="string">
    Confirmed time
  </ParamField>

  <ParamField name="vctNumber" type="string">
    VCT number
  </ParamField>
</ParamField>

### Reference Documentation

<Info>
  For more information on TSM delivery slots, please refer to:

  * Pages 77-79 of "Functional\_Requirements\_V18 FINAL": [https://belli.sg/4nxxCDR](https://belli.sg/4nxxCDR)
</Info>


## OpenAPI

````yaml POST /api/terminals/slots
openapi: 3.0.3
info:
  title: Mock API
  version: 1.0.0
  description: >-
    Mock OpenAPI spec for QR API Service. All endpoints require API key
    authentication via 'Authorization: Bearer <token>' or 'x-api-key: <token>'
    headers.
servers:
  - url: https://1a557de0-701c-477d-bedd-433520441dae.mock.pstmn.io
    description: Production server
security:
  - ApiKeyAuth: []
  - ApiKeyHeader: []
tags:
  - name: auth-v1
    description: Authentication and user management
  - name: reference-data-v1
    description: Reference data and master data
  - name: flights-v1
    description: Flight schedules and capacity
  - name: quotes-v1
    description: Quotation and pricing
  - name: awb-stock-v1
    description: AWB Stock Management
  - name: bookings-v1
    description: Booking management
  - name: shipments-v1
    description: Shipment documents and tracking
  - name: compliance-v1
    description: Compliance and safety declarations
  - name: operations-v1
    description: Operational events and manifests
  - name: webhooks-v1
    description: Webhook management
  - name: admin-v1
    description: Administrative and audit functions
  - name: qr-exp-cgo-ext-availability-v1
    description: Legacy availability service
  - name: qr-exp-cgo-ext-booking-v1
    description: Legacy booking service
  - name: qr-exp-cgo-ext-flight-schedules-v1
    description: Legacy flight schedules service
  - name: qr-exp-cgo-shipments-v1
    description: Legacy shipments service
  - name: qr-exp-cgo-stock-v1
    description: Legacy stock service
  - name: qr-exp-cgo-tables-v1
    description: Legacy table data service
paths:
  /api/terminals/slots:
    post:
      tags:
        - operations-v1
      summary: Create slot booking
      description: Create and manage terminal slot bookings with VCT/TSP issuance
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SlotBookingRequest'
      responses:
        '201':
          description: Slot booked
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SlotBookingResponse'
components:
  schemas:
    SlotBookingRequest:
      type: object
      properties:
        terminal:
          type: string
          example: DOH Cargo Terminal
        requestedDate:
          type: string
          format: date
          example: '2024-01-01'
        requestedTime:
          type: string
          example: '08:00'
        duration:
          type: integer
          example: 2
        awbNumbers:
          type: array
          items:
            type: string
          example:
            - '15712345678'
      required:
        - terminal
        - requestedDate
        - requestedTime
        - duration
        - awbNumbers
    SlotBookingResponse:
      type: object
      properties:
        slotId:
          type: string
          example: slot-123
        terminal:
          type: string
          example: DOH Cargo Terminal
        confirmedDate:
          type: string
          format: date
          example: '2024-01-01'
        confirmedTime:
          type: string
          example: '08:00'
        vctNumber:
          type: string
          example: VCT001
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
    ApiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key

````