Skip to main content

Lấy danh sách các trang trong một hồ sơ

Endpoint

MethodURL
GEThttps://tpa.docbase.ai/api/v1/integrations/submissions/{SubmissionID}/pages

*Sử dụng external_id thay thế cho SubmissionID

MethodURL
GEThttps://tpa.docbase.ai/api/v1/integrations/submissions/requests/{external_id}/pages

Ví dụ

MethodURL
GEThttps://tpa.docbase.ai/api/v1/integrations/submissions/8187/pages

Mô tả Trả về danh sách các trang (pages) thuộc một request. Mỗi trang sẽ có thông tin id, file_index, file, và document.

Response 200 (application/json)

{
"data": [
{
"id": 8972,
"created_at": "2025-08-13T07:07:18.126764Z",
"updated_at": "2025-08-13T07:08:05.208810Z",
"deleted_at": null,
"file_index": 0,
"file": 1170,
"document": 8206
},
{
"id": 8973,
"created_at": "2025-08-13T07:07:18.140490Z",
"updated_at": "2025-08-13T07:08:06.393763Z",
"deleted_at": null,
"file_index": 1,
"file": 1170,
"document": 8207
}
]
}

Ý nghĩa các trường

TrườngKiểu dữ liệuMô tả
idintegerID của trang (dùng để gọi API lấy ảnh trang)
created_atdatetimeThời điểm tạo
updated_atdatetimeThời điểm cập nhật
deleted_atdatetime/nullThời điểm xóa (nếu có)
file_indexintegerVị trí (thứ tự) trang trong file
fileintegerID của file chứa trang này
documentintegerID document liên kết với trang