---
title: "Danh sách bản ghi mẫu"
url: "https://oapi-poc.hdbank.work/apis/approval-workflow-api/versions/e09cfb10-a58e-422c-bf5d-4603c9d8a600/operations/list_approval_workflow_api"
---

> Full API specification: https://oapi-poc.hdbank.work/apis/approval-workflow-api/versions/e09cfb10-a58e-422c-bf5d-4603c9d8a600.md

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

`GET` `/approval-workflow-api/v1/records`

Operation ID: `list_approval_workflow_api`

## 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: Approval Workflow API
  version: "1.8"
servers:
  - url: https://apis-dev.hdbank.work
    description: Sandbox (dữ liệu giả lập)
paths:
  /approval-workflow-api/v1/records:
    get:
      operationId: list_approval_workflow_api
      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: approval-workflow-api
                    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
```
