---
title: "Lưu bản nháp. Gửi kèm expectedRevision để không ghi đè thay đổi của người khác (409)."
method: PUT
path: "/ir/{symbol}/page/draft"
tags: ["IRPage"]
---

# Lưu bản nháp. Gửi kèm expectedRevision để không ghi đè thay đổi của người khác (409).

`PUT /ir/{symbol}/page/draft`

## Request

- Base URL: `https://api.fireant.vn`
- URL: `https://api.fireant.vn/ir/{symbol}/page/draft`
- Auth: OAuth 2
  - Implicit: `https://accounts.fireant.vn/connect/authorize`
  - Scopes: `user-data-write`
- TypeScript: <https://skmtc.dev/fireant/apis/fireant-restful-api/docs/ir/:symbol/page/draft/put.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `symbol` string, required

## Request body

- FireAntApiModelsIRIRPageDraftRequest: Lưu bản nháp
  - `content` object: Tài liệu trang (JSON theo @fireant-media/ir-page)
  - `expectedRevision` integer: Revision client đang giữ; khác máy chủ thì 409. Bỏ trống = ghi đè
  - `note` string

## Response `200`

OK

- FireAntApiModelsIRIRPageVersionItem: Một phiên bản trang
  - `versionId` integer
  - `versionNo` integer
  - `revision` integer: Số lần lưu bản nháp (chống ghi đè lẫn nhau)
  - `schemaVersion` integer
  - `status` 0 | 1 | 2 | 3 | 4 | 5 | 6: (0 = Draft, 1 = PendingReview, 2 = Scheduled, 3 = Rejected, 4 = Published, 5 = Superseded, 6 = Withdrawn)
  - `sizeBytes` integer
  - `contentHash` string
  - `note` string
  - `reviewReasons` object: Lý do cần duyệt (JSON danh sách RiskReason của ir-page)
  - `createdBy` string
  - `createdDate` string, date-time
  - `modifiedBy` string
  - `modifiedDate` string, date-time
  - `submittedBy` string
  - `submittedDate` string, date-time
  - `reviewedBy` string: Người duyệt; phía doanh nghiệp luôn là "FireAnt"
  - `reviewedDate` string, date-time
  - `reviewNote` string
  - `scheduledDate` string, date-time
  - `publishedBy` string
  - `publishedDate` string, date-time
  - `content` object: Nội dung trang (chỉ có khi đọc một phiên bản cụ thể / bản nháp / bản đang hiện)

## Changes

- **2026-10-10** `300cfd8b632c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fireant/apis/fireant-restful-api/changes/ir/:symbol/page/draft/put.md)

---

[API](https://skmtc.dev/fireant/apis/fireant-restful-api.md) - [All operations](https://skmtc.dev/fireant/apis/fireant-restful-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fireant/apis/fireant-restful-api/revisions/c9b3aa855f95?raw)
