---
title: "Danh sách bản ghi mẫu"
url: "https://oapi-poc.hdbank.work/apis/booking-management/versions/375de26e-a173-436b-90ed-69bef0b04268/operations/list_booking_management"
---

> Full API specification: https://oapi-poc.hdbank.work/apis/booking-management/versions/375de26e-a173-436b-90ed-69bef0b04268.md

# Danh sách bản ghi mẫu

`GET` `/booking-management/v1/records`

Operation ID: `list_booking_management`

## Header parameters

- `X-Correlation-ID` (string, uuid, optional) - Tự sinh nếu thiếu
- `X-Mock-Scenario` (string, optional) - Chỉ sandbox: ép mã lỗi để thử

## Responses

- `200` - OK
- `400` - Lỗi
- `403` - Lỗi
- `429` - Lỗi
- `503` - Lỗi

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Booking Management
  version: "1.8"
servers:
  - url: https://apis-dev.hdbank.work
    description: Sandbox (dữ liệu giả lập)
paths:
  /booking-management/v1/records:
    get:
      operationId: list_booking_management
      summary: Danh sách bản ghi mẫu
      parameters:
        - name: X-Correlation-ID
          in: header
          schema:
            type: string
            format: uuid
          description: Tự sinh nếu thiếu
        - name: X-Mock-Scenario
          in: header
          schema:
            type: string
            enum:
              - "400"
              - "403"
              - "409"
              - "429"
              - "503"
          description: "Chỉ sandbox: ép mã lỗi để thử"
      responses:
        "200":
          description: OK
          content:
            application/json:
              example:
                data:
                  - id: sample-001
                    api: booking-management
                    version: v1
                    status: SAMPLE
                    note: Du lieu mau gia lap
                total: 1
        "400":
          description: Lỗi
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/Problem"
        "403":
          description: Lỗi
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/Problem"
        "429":
          description: Lỗi
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/Problem"
        "503":
          description: Lỗi
          content:
            application/problem+json:
              schema:
                $ref: "#/components/schemas/Problem"
security:
  - apiKey: []
components:
  schemas:
    Problem:
      type: object
      properties:
        type:
          type: string
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: apikey
      description: Khóa API sandbox cấp khi tạo ứng dụng trên cổng
```
