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

# Reservations with who pays resolved to a name, what is reserved counted and listed, the cost centre of the person each…

> Reservations with who pays resolved to a name, what is reserved counted and listed, the cost centre of the person each is for, whether anything on them could not be priced, and whether one made by mistake can still be deleted.



## OpenAPI

````yaml /api-reference/openapi.json get /bookings
openapi: 3.0.0
info:
  description: ''
  title: >-
    The only schema PostgREST exposes. Reads are security_invoker views; writes
    are SECURITY DEFINER functions. Rebuilt wholesale on every deploy — it holds
    no data.
  version: 12.2.3
servers:
  - url: https://app.assetinfinity.ai/api
security: []
tags:
  - name: Signing in
  - name: Profile
  - name: My work
  - name: Sites and locations
  - name: Assets
  - name: Asset lifecycle
  - name: Asset components
  - name: Kits
  - name: Work lifecycle
  - name: Work order execution
  - name: Work sequencing
  - name: Maintenance
  - name: Inspections
  - name: Checklists
  - name: Verification
  - name: Self verification
  - name: Inventory
  - name: Inventory detail
  - name: Parts demand
  - name: Procurement
  - name: Catalogue
  - name: Vendors and contracts
  - name: Contracts
  - name: Amendments
  - name: Vendor spend forecast
  - name: Workforce
  - name: Workforce detail
  - name: Capacity
  - name: Dispatch
  - name: Shutdown
  - name: Permits
  - name: Tools
  - name: Tools on jobs
  - name: Bookings
  - name: Booking hand over
  - name: Booking bills
  - name: Calibration history
  - name: Reliability
  - name: Sensors and meters
  - name: Readers
  - name: Trackers
  - name: Real-time location
  - name: Feeds
  - name: Energy
  - name: IT assets
  - name: IT asset software
  - name: IT asset topology
  - name: Warranty lookups
  - name: Map
  - name: Floor plans
  - name: Labels
  - name: Lost and found
  - name: Visitors
  - name: Root cause analysis
  - name: Costing
  - name: Finance
  - name: E-way bills
  - name: E-way bill filing
  - name: Budgets
  - name: Capex plans
  - name: Capex consolidation
  - name: Capex capitalization
  - name: Capex change logs
  - name: FF&E plans
  - name: Documents
  - name: Document control
  - name: Document folders
  - name: Document tree
  - name: Knowledge
  - name: Reports
  - name: Dashboards
  - name: Extracts
  - name: Data exports
  - name: Audit center
  - name: Audit feed
  - name: User activity
  - name: Activity
  - name: Conversations
  - name: Notifications
  - name: Date reminders
  - name: Channels
  - name: Search
  - name: Copilot
  - name: Import
  - name: Bulk jobs
  - name: File exchange
  - name: Filing exceptions
  - name: Files
  - name: Sync
  - name: Support
  - name: API keys
  - name: Webhooks
  - name: MCP connections
  - name: MCP sign-in
  - name: SCIM provisioning
  - name: Directory sync
  - name: Security streams
  - name: Clarity
  - name: Single sign-on
  - name: Two-factor sign-in
  - name: Admin
  - name: Access
  - name: Lookups
  - name: Read models
  - name: Reference
  - name: Reference columns
  - name: Reference entry
  - name: List views
  - name: Mapping
  - name: Numbering
  - name: Branding
  - name: Custom fields
  - name: Form studio
  - name: Workflows
  - name: Workflow studio
  - name: Rules
  - name: Statuses and transitions
  - name: Currencies and locales
  - name: Today
  - name: Work configuration
  - name: Asset configuration
  - name: Inventory configuration
  - name: Tool configuration
  - name: Workforce configuration
  - name: Vendor and contract configuration
  - name: Document configuration
  - name: Inspection configuration
  - name: Sites, locations and the organisation
  - name: Setup
  - name: Features
  - name: Billing
  - name: Licence
  - name: Welcome
  - name: Tray
  - name: Tenant switch
  - name: Release
  - name: Upgrade
  - name: Telegram
  - name: Whatsapp
  - name: Inbound mail
  - name: Platform
externalDocs:
  description: PostgREST Documentation
  url: https://postgrest.org/en/v12/references/api.html
paths:
  /bookings:
    get:
      tags:
        - Bookings
      summary: >-
        Reservations with who pays resolved to a name, what is reserved counted
        and listed, the cost centre of the person each…
      description: >-
        Reservations with who pays resolved to a name, what is reserved counted
        and listed, the cost centre of the person each is for, whether anything
        on them could not be priced, and whether one made by mistake can still
        be deleted.
      parameters:
        - $ref: '#/components/parameters/rowFilter.bookings.id'
        - $ref: '#/components/parameters/rowFilter.bookings.booking_number'
        - $ref: '#/components/parameters/rowFilter.bookings.booking_type_id'
        - $ref: '#/components/parameters/rowFilter.bookings.booking_type'
        - $ref: '#/components/parameters/rowFilter.bookings.booking_type_name'
        - $ref: '#/components/parameters/rowFilter.bookings.is_external'
        - $ref: '#/components/parameters/rowFilter.bookings.title'
        - $ref: '#/components/parameters/rowFilter.bookings.purpose'
        - $ref: '#/components/parameters/rowFilter.bookings.site_id'
        - $ref: '#/components/parameters/rowFilter.bookings.site_code'
        - $ref: '#/components/parameters/rowFilter.bookings.site_name'
        - $ref: '#/components/parameters/rowFilter.bookings.starts_at'
        - $ref: '#/components/parameters/rowFilter.bookings.ends_at'
        - $ref: '#/components/parameters/rowFilter.bookings.status'
        - $ref: '#/components/parameters/rowFilter.bookings.charge_to'
        - $ref: '#/components/parameters/rowFilter.bookings.charged_to'
        - $ref: '#/components/parameters/rowFilter.bookings.project_tasks'
        - $ref: '#/components/parameters/rowFilter.bookings.project_ids'
        - $ref: '#/components/parameters/rowFilter.bookings.project_task_ids'
        - $ref: '#/components/parameters/rowFilter.bookings.cost_center_id'
        - $ref: '#/components/parameters/rowFilter.bookings.department_id'
        - $ref: '#/components/parameters/rowFilter.bookings.business_unit_id'
        - $ref: '#/components/parameters/rowFilter.bookings.project_id'
        - $ref: '#/components/parameters/rowFilter.bookings.customer_id'
        - $ref: '#/components/parameters/rowFilter.bookings.work_order_id'
        - $ref: '#/components/parameters/rowFilter.bookings.indirect_project_id'
        - $ref: '#/components/parameters/rowFilter.bookings.indirect_project_number'
        - $ref: '#/components/parameters/rowFilter.bookings.indirect_project_name'
        - $ref: '#/components/parameters/rowFilter.bookings.indirect_project_task_id'
        - $ref: '#/components/parameters/rowFilter.bookings.indirect_task_number'
        - $ref: '#/components/parameters/rowFilter.bookings.indirect_task_name'
        - $ref: '#/components/parameters/rowFilter.bookings.is_chargeable'
        - $ref: '#/components/parameters/rowFilter.bookings.estimated_cost'
        - $ref: '#/components/parameters/rowFilter.bookings.total_cost'
        - $ref: '#/components/parameters/rowFilter.bookings.deposit_amount'
        - $ref: '#/components/parameters/rowFilter.bookings.deposit_status'
        - $ref: '#/components/parameters/rowFilter.bookings.requested_by_user_id'
        - $ref: '#/components/parameters/rowFilter.bookings.requested_by'
        - $ref: '#/components/parameters/rowFilter.bookings.booked_for_user_id'
        - $ref: '#/components/parameters/rowFilter.bookings.booked_for'
        - $ref: '#/components/parameters/rowFilter.bookings.booked_for_cost_center_id'
        - $ref: '#/components/parameters/rowFilter.bookings.booked_for_cost_centre'
        - $ref: '#/components/parameters/rowFilter.bookings.charge_from_cost_centre'
        - $ref: '#/components/parameters/rowFilter.bookings.on_behalf_of_worker_id'
        - $ref: '#/components/parameters/rowFilter.bookings.issued_at'
        - $ref: '#/components/parameters/rowFilter.bookings.returned_at'
        - $ref: '#/components/parameters/rowFilter.bookings.closed_at'
        - $ref: '#/components/parameters/rowFilter.bookings.cancelled_at'
        - $ref: '#/components/parameters/rowFilter.bookings.cancelled_reason'
        - $ref: '#/components/parameters/rowFilter.bookings.cancelled_in_error'
        - $ref: '#/components/parameters/rowFilter.bookings.deletable'
        - $ref: '#/components/parameters/rowFilter.bookings.tool_lines'
        - $ref: '#/components/parameters/rowFilter.bookings.asset_lines'
        - $ref: '#/components/parameters/rowFilter.bookings.location_lines'
        - $ref: '#/components/parameters/rowFilter.bookings.worker_lines'
        - $ref: '#/components/parameters/rowFilter.bookings.part_lines'
        - $ref: '#/components/parameters/rowFilter.bookings.held_items'
        - $ref: '#/components/parameters/rowFilter.bookings.held'
        - $ref: '#/components/parameters/rowFilter.bookings.unpriced_charges'
        - $ref: '#/components/parameters/rowFilter.bookings.in_progress'
        - $ref: '#/components/parameters/rowFilter.bookings.upcoming'
        - $ref: '#/components/parameters/rowFilter.bookings.is_overdue'
        - $ref: '#/components/parameters/rowFilter.bookings.list_status'
        - $ref: '#/components/parameters/rowFilter.bookings.due_since'
        - $ref: '#/components/parameters/rowFilter.bookings.custom_fields'
        - $ref: '#/components/parameters/rowFilter.bookings.row_version'
        - $ref: '#/components/parameters/select'
        - $ref: '#/components/parameters/order'
        - $ref: '#/components/parameters/range'
        - $ref: '#/components/parameters/rangeUnit'
        - $ref: '#/components/parameters/offset'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/preferCount'
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/bookings'
                type: array
            application/vnd.pgrst.object+json:
              schema:
                items:
                  $ref: '#/components/schemas/bookings'
                type: array
            application/vnd.pgrst.object+json;nulls=stripped:
              schema:
                items:
                  $ref: '#/components/schemas/bookings'
                type: array
            text/csv:
              schema:
                items:
                  $ref: '#/components/schemas/bookings'
                type: array
          description: OK
        '206':
          description: Partial Content
components:
  parameters:
    rowFilter.bookings.id:
      in: query
      name: id
      required: false
      schema:
        type: string
    rowFilter.bookings.booking_number:
      in: query
      name: booking_number
      required: false
      schema:
        type: string
    rowFilter.bookings.booking_type_id:
      in: query
      name: booking_type_id
      required: false
      schema:
        type: string
    rowFilter.bookings.booking_type:
      in: query
      name: booking_type
      required: false
      schema:
        type: string
    rowFilter.bookings.booking_type_name:
      in: query
      name: booking_type_name
      required: false
      schema:
        type: string
    rowFilter.bookings.is_external:
      in: query
      name: is_external
      required: false
      schema:
        type: string
    rowFilter.bookings.title:
      in: query
      name: title
      required: false
      schema:
        type: string
    rowFilter.bookings.purpose:
      in: query
      name: purpose
      required: false
      schema:
        type: string
    rowFilter.bookings.site_id:
      in: query
      name: site_id
      required: false
      schema:
        type: string
    rowFilter.bookings.site_code:
      in: query
      name: site_code
      required: false
      schema:
        type: string
    rowFilter.bookings.site_name:
      in: query
      name: site_name
      required: false
      schema:
        type: string
    rowFilter.bookings.starts_at:
      in: query
      name: starts_at
      required: false
      schema:
        type: string
    rowFilter.bookings.ends_at:
      in: query
      name: ends_at
      required: false
      schema:
        type: string
    rowFilter.bookings.status:
      in: query
      name: status
      required: false
      schema:
        type: string
    rowFilter.bookings.charge_to:
      in: query
      name: charge_to
      required: false
      schema:
        type: string
    rowFilter.bookings.charged_to:
      in: query
      name: charged_to
      required: false
      schema:
        type: string
    rowFilter.bookings.project_tasks:
      in: query
      name: project_tasks
      required: false
      schema:
        type: string
    rowFilter.bookings.project_ids:
      in: query
      name: project_ids
      required: false
      schema:
        type: string
    rowFilter.bookings.project_task_ids:
      in: query
      name: project_task_ids
      required: false
      schema:
        type: string
    rowFilter.bookings.cost_center_id:
      in: query
      name: cost_center_id
      required: false
      schema:
        type: string
    rowFilter.bookings.department_id:
      in: query
      name: department_id
      required: false
      schema:
        type: string
    rowFilter.bookings.business_unit_id:
      in: query
      name: business_unit_id
      required: false
      schema:
        type: string
    rowFilter.bookings.project_id:
      in: query
      name: project_id
      required: false
      schema:
        type: string
    rowFilter.bookings.customer_id:
      in: query
      name: customer_id
      required: false
      schema:
        type: string
    rowFilter.bookings.work_order_id:
      in: query
      name: work_order_id
      required: false
      schema:
        type: string
    rowFilter.bookings.indirect_project_id:
      in: query
      name: indirect_project_id
      required: false
      schema:
        type: string
    rowFilter.bookings.indirect_project_number:
      in: query
      name: indirect_project_number
      required: false
      schema:
        type: string
    rowFilter.bookings.indirect_project_name:
      in: query
      name: indirect_project_name
      required: false
      schema:
        type: string
    rowFilter.bookings.indirect_project_task_id:
      in: query
      name: indirect_project_task_id
      required: false
      schema:
        type: string
    rowFilter.bookings.indirect_task_number:
      in: query
      name: indirect_task_number
      required: false
      schema:
        type: string
    rowFilter.bookings.indirect_task_name:
      in: query
      name: indirect_task_name
      required: false
      schema:
        type: string
    rowFilter.bookings.is_chargeable:
      in: query
      name: is_chargeable
      required: false
      schema:
        type: string
    rowFilter.bookings.estimated_cost:
      in: query
      name: estimated_cost
      required: false
      schema:
        type: string
    rowFilter.bookings.total_cost:
      in: query
      name: total_cost
      required: false
      schema:
        type: string
    rowFilter.bookings.deposit_amount:
      in: query
      name: deposit_amount
      required: false
      schema:
        type: string
    rowFilter.bookings.deposit_status:
      in: query
      name: deposit_status
      required: false
      schema:
        type: string
    rowFilter.bookings.requested_by_user_id:
      in: query
      name: requested_by_user_id
      required: false
      schema:
        type: string
    rowFilter.bookings.requested_by:
      in: query
      name: requested_by
      required: false
      schema:
        type: string
    rowFilter.bookings.booked_for_user_id:
      in: query
      name: booked_for_user_id
      required: false
      schema:
        type: string
    rowFilter.bookings.booked_for:
      in: query
      name: booked_for
      required: false
      schema:
        type: string
    rowFilter.bookings.booked_for_cost_center_id:
      in: query
      name: booked_for_cost_center_id
      required: false
      schema:
        type: string
    rowFilter.bookings.booked_for_cost_centre:
      in: query
      name: booked_for_cost_centre
      required: false
      schema:
        type: string
    rowFilter.bookings.charge_from_cost_centre:
      in: query
      name: charge_from_cost_centre
      required: false
      schema:
        type: string
    rowFilter.bookings.on_behalf_of_worker_id:
      in: query
      name: on_behalf_of_worker_id
      required: false
      schema:
        type: string
    rowFilter.bookings.issued_at:
      in: query
      name: issued_at
      required: false
      schema:
        type: string
    rowFilter.bookings.returned_at:
      in: query
      name: returned_at
      required: false
      schema:
        type: string
    rowFilter.bookings.closed_at:
      in: query
      name: closed_at
      required: false
      schema:
        type: string
    rowFilter.bookings.cancelled_at:
      in: query
      name: cancelled_at
      required: false
      schema:
        type: string
    rowFilter.bookings.cancelled_reason:
      in: query
      name: cancelled_reason
      required: false
      schema:
        type: string
    rowFilter.bookings.cancelled_in_error:
      in: query
      name: cancelled_in_error
      required: false
      schema:
        type: string
    rowFilter.bookings.deletable:
      in: query
      name: deletable
      required: false
      schema:
        type: string
    rowFilter.bookings.tool_lines:
      in: query
      name: tool_lines
      required: false
      schema:
        type: string
    rowFilter.bookings.asset_lines:
      in: query
      name: asset_lines
      required: false
      schema:
        type: string
    rowFilter.bookings.location_lines:
      in: query
      name: location_lines
      required: false
      schema:
        type: string
    rowFilter.bookings.worker_lines:
      in: query
      name: worker_lines
      required: false
      schema:
        type: string
    rowFilter.bookings.part_lines:
      in: query
      name: part_lines
      required: false
      schema:
        type: string
    rowFilter.bookings.held_items:
      in: query
      name: held_items
      required: false
      schema:
        type: string
    rowFilter.bookings.held:
      in: query
      name: held
      required: false
      schema:
        type: string
    rowFilter.bookings.unpriced_charges:
      in: query
      name: unpriced_charges
      required: false
      schema:
        type: string
    rowFilter.bookings.in_progress:
      in: query
      name: in_progress
      required: false
      schema:
        type: string
    rowFilter.bookings.upcoming:
      in: query
      name: upcoming
      required: false
      schema:
        type: string
    rowFilter.bookings.is_overdue:
      in: query
      name: is_overdue
      required: false
      schema:
        type: string
    rowFilter.bookings.list_status:
      in: query
      name: list_status
      required: false
      schema:
        type: string
    rowFilter.bookings.due_since:
      in: query
      name: due_since
      required: false
      schema:
        type: string
    rowFilter.bookings.custom_fields:
      in: query
      name: custom_fields
      required: false
      schema:
        type: string
    rowFilter.bookings.row_version:
      in: query
      name: row_version
      required: false
      schema:
        type: string
    select:
      description: Filtering Columns
      in: query
      name: select
      required: false
      schema:
        type: string
    order:
      description: Ordering
      in: query
      name: order
      required: false
      schema:
        type: string
    range:
      description: Limiting and Pagination
      in: header
      name: Range
      required: false
      schema:
        type: string
    rangeUnit:
      description: Limiting and Pagination
      in: header
      name: Range-Unit
      required: false
      schema:
        default: items
        type: string
    offset:
      description: Limiting and Pagination
      in: query
      name: offset
      required: false
      schema:
        type: string
    limit:
      description: Limiting and Pagination
      in: query
      name: limit
      required: false
      schema:
        type: string
    preferCount:
      description: Preference
      in: header
      name: Prefer
      required: false
      schema:
        enum:
          - count=none
        type: string
  schemas:
    bookings:
      description: >-
        Reservations with who pays resolved to a name, what is reserved counted
        and listed, the
             cost centre of the person each is for, whether anything on them could not be priced, and
             whether one made by mistake can still be deleted.
      properties:
        asset_lines:
          format: bigint
          type: integer
        booked_for:
          format: character varying
          maxLength: 200
          type: string
        booked_for_cost_center_id:
          description: >-
            Note:

            This is a Foreign Key to `cost_centre_settings.id`.<fk
            table='cost_centre_settings' column='id'/>
          format: uuid
          type: string
        booked_for_cost_centre:
          format: character varying
          maxLength: 200
          type: string
        booked_for_user_id:
          description: >-
            Note:

            This is a Foreign Key to `capex_invite_candidates.id`.<fk
            table='capex_invite_candidates' column='id'/>
          format: uuid
          type: string
        booking_number:
          format: character varying
          maxLength: 60
          type: string
        booking_type:
          format: character varying
          maxLength: 60
          type: string
        booking_type_id:
          description: >-
            Note:

            This is a Foreign Key to `booking_types.id`.<fk
            table='booking_types' column='id'/>
          format: uuid
          type: string
        booking_type_name:
          format: character varying
          maxLength: 200
          type: string
        business_unit_id:
          description: >-
            Note:

            This is a Foreign Key to `business_units.id`.<fk
            table='business_units' column='id'/>
          format: uuid
          type: string
        cancelled_at:
          format: timestamp with time zone
          type: string
        cancelled_in_error:
          format: boolean
          type: boolean
        cancelled_reason:
          format: character varying
          maxLength: 250
          type: string
        charge_from_cost_centre:
          format: boolean
          type: boolean
        charge_to:
          format: character varying
          maxLength: 30
          type: string
        charged_to:
          format: character varying
          type: string
        closed_at:
          format: timestamp with time zone
          type: string
        cost_center_id:
          description: >-
            Note:

            This is a Foreign Key to `cost_centre_settings.id`.<fk
            table='cost_centre_settings' column='id'/>
          format: uuid
          type: string
        custom_fields:
          format: jsonb
        customer_id:
          format: uuid
          type: string
        deletable:
          format: boolean
          type: boolean
        department_id:
          description: >-
            Note:

            This is a Foreign Key to `department_settings.id`.<fk
            table='department_settings' column='id'/>
          format: uuid
          type: string
        deposit_amount:
          format: numeric
          type: number
        deposit_status:
          format: character varying
          type: string
        due_since:
          format: timestamp with time zone
          type: string
        ends_at:
          format: timestamp with time zone
          type: string
        estimated_cost:
          format: numeric
          type: number
        held:
          format: text
          type: string
        held_items:
          format: jsonb
        id:
          description: |-
            Note:
            This is a Primary Key.<pk/>
          format: uuid
          type: string
        in_progress:
          format: boolean
          type: boolean
        indirect_project_id:
          description: >-
            Note:

            This is a Foreign Key to `project_settings.id`.<fk
            table='project_settings' column='id'/>
          format: uuid
          type: string
        indirect_project_name:
          format: character varying
          maxLength: 200
          type: string
        indirect_project_number:
          format: character varying
          maxLength: 60
          type: string
        indirect_project_task_id:
          description: >-
            Note:

            This is a Foreign Key to `project_tasks.id`.<fk
            table='project_tasks' column='id'/>
          format: uuid
          type: string
        indirect_task_name:
          format: character varying
          maxLength: 200
          type: string
        indirect_task_number:
          format: character varying
          maxLength: 50
          type: string
        is_chargeable:
          format: boolean
          type: boolean
        is_external:
          format: boolean
          type: boolean
        is_overdue:
          format: boolean
          type: boolean
        issued_at:
          format: timestamp with time zone
          type: string
        list_status:
          format: character varying
          type: string
        location_lines:
          format: bigint
          type: integer
        on_behalf_of_worker_id:
          description: >-
            Note:

            This is a Foreign Key to `assignable_workers.id`.<fk
            table='assignable_workers' column='id'/>
          format: uuid
          type: string
        part_lines:
          format: bigint
          type: integer
        project_id:
          description: >-
            Note:

            This is a Foreign Key to `project_settings.id`.<fk
            table='project_settings' column='id'/>
          format: uuid
          type: string
        project_ids:
          format: uuid[]
          items:
            type: string
          type: array
        project_task_ids:
          format: uuid[]
          items:
            type: string
          type: array
        project_tasks:
          format: jsonb
        purpose:
          format: text
          type: string
        requested_by:
          format: character varying
          maxLength: 200
          type: string
        requested_by_user_id:
          description: >-
            Note:

            This is a Foreign Key to `capex_invite_candidates.id`.<fk
            table='capex_invite_candidates' column='id'/>
          format: uuid
          type: string
        returned_at:
          format: timestamp with time zone
          type: string
        row_version:
          format: bigint
          type: integer
        site_code:
          format: character varying
          maxLength: 50
          type: string
        site_id:
          description: >-
            Note:

            This is a Foreign Key to `entry_currencies.for_site_id`.<fk
            table='entry_currencies' column='for_site_id'/>
          format: uuid
          type: string
        site_name:
          format: character varying
          maxLength: 200
          type: string
        starts_at:
          format: timestamp with time zone
          type: string
        status:
          format: character varying
          maxLength: 30
          type: string
        title:
          format: character varying
          maxLength: 250
          type: string
        tool_lines:
          format: bigint
          type: integer
        total_cost:
          format: numeric
          type: number
        unpriced_charges:
          format: bigint
          type: integer
        upcoming:
          format: boolean
          type: boolean
        work_order_id:
          description: >-
            Note:

            This is a Foreign Key to
            `asset_maintenance_plans.next_work_order_id`.<fk
            table='asset_maintenance_plans' column='next_work_order_id'/>
          format: uuid
          type: string
        worker_lines:
          format: bigint
          type: integer
      type: object

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.