---
title: "Mọi danh mục (kể cả đã tắt), kèm số mẫu của ứng dụng trong thư viện"
method: GET
path: "/admin/excel/templates/categories"
tags: ["ExcelTemplatesAdmin"]
---

# Mọi danh mục (kể cả đã tắt), kèm số mẫu của ứng dụng trong thư viện

`GET /admin/excel/templates/categories`

## Request

- Base URL: `https://api.fireant.vn`
- URL: `https://api.fireant.vn/admin/excel/templates/categories`
- Auth: OAuth 2
  - Implicit: `https://accounts.fireant.vn/connect/authorize`
  - Scopes: `user-data-read`
- TypeScript: <https://skmtc.dev/fireant/apis/fireant-restful-api/docs/admin/excel/templates/categories/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `app` string

## Response `200`

Thành công

- FireAntApiModelsExcelTemplatesExcelTemplateCategory[]
  - `categoryId` integer: ID danh mục (bỏ qua khi upsert)
  - `code` string, required: Mã danh mục chữ thường a-z, 0-9, _, - (market, financials, valuation...)
  - `name` string, required: Tên tiếng Việt
  - `nameEn` string: Tên tiếng Anh
  - `description` string: Mô tả
  - `icon` string: Tên icon (client tự ánh xạ)
  - `orderIndex` integer: Thứ tự hiển thị (nhỏ lên trước)
  - `templateCount` integer: Số mẫu của ứng dụng đang xem (tham số app, mặc định excel) hiện trong thư viện cộng đồng thuộc danh mục (bỏ qua khi upsert)
  - `isActive` boolean: Đang sử dụng (API công khai chỉ trả danh mục đang bật; mặc định true khi upsert)

## Changes

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

[Operation history](https://skmtc.dev/fireant/apis/fireant-restful-api/changes/admin/excel/templates/categories/get.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)
