Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
titleAPI Spec xem thông tin chi tiết 1 tài liệu

Method

Get

URL

/application/attachment/detail

Description

API lấy thông tin chi tiết của 1 tài liệu

Note

API mới

1. Headers

STT 

Field

Source Data Type / Length 

Description

Sample Values

1authorizationStringTokenBearer eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3NjYzOTgyNDUsInVzZXIiOiJ7XCJpZFwiOjIwMjAsXCJ1c2VybmFtZVwiOlwiMDM3NDc4ODQwNVwiLFwibmFtZVwiOlwiQ2h1IFRo4buLIExpw6puXCIsXCJyb2xlc1wiOltdLFwibWFwQmVhdXR5U2Fsb25cIjp7XCJicG0ucmVib3JuLnZuXCI6Nn0sXCJlbXBsb3llZUlkXCI6NTMxLFwiYnJhbmNoSWRcIjoyM30ifQ.qRoaRDxjqyWS-3Az_ZqLmR0KAcPTM7jXggW1Ja5wpEc

2. Param

STT

Field

Required

Data Type / Length

Description

Note

1idtrueIntegerid tài liệu

3. Response / Incoming Data Specification

STT

Field

Data Type / Length

Description

Note

1codeInteger0: thành công, != 0 thất bại
2messageString

3resultObjectObject
4

(result) id

IntegerId tài liệu

(result) code

Stringmã tài  liệu
5

(result) name

StringTên tài  liệu
6

(result) version

Stringversion tài liệu
7

(result) type

Stringloại tài liệu
8

(result)  documentNumber

Stringsố hiệu văn bản
9

(result) workflowName

Stringtên quy trình
10

(result) workflowCaseName

Stringbước quy trình
11

(result) file_size

Integerdung lượng file
12

(result) file_ext

Stringloại file
13(result) createdByStringtên người tạo
14(result) createdTimeTimestampthời gian tạo
15(result) createdTimeapprovedByStringtên người phê duyệt
16(result) createdTimeapprovedTimeTimestampthời gian phê duyệt cuối
17(result) createdTimeupdatedTimeTimestampthời gian cập nhật gần nhất
18(result) createdTimetenderPackageNameStringtên gói thầu
19(result) createdTimeprojectNameStringtên dự án
20(result) createdTime departmentNameStringđơn vị quản lý
21(result) createdTimeretentionExpiresTimeTimestamp thời gian lưu trữ tính từ phiên bản phê duyệt cuối
22(result) createdTimeintermediateCleanupTimeTimestampthời gian lưu trữ phiên bản trung gian

...