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) size

Integerdung lượng file
12

(result) extension

Stringloại file
13(result) createdByStringtên người tạo
14(result) createdTimeTimestampthời gian tạo
15(result) approvedByStringtên người phê duyệt
16(result) approvedTimeTimestampthời gian phê duyệt cuối
17(result) updatedTimeTimestampthời gian cập nhật gần nhất
18(result) tenderPackageNameStringtên gói thầu
19(result) projectNameStringtên dự án
20(result) departmentNameStringđơn vị quản lý
21(result) retentionExpiresTimeTimestamp thời gian lưu trữ tính từ phiên bản phê duyệt cuối
22(result) intermediateCleanupTimeTimestampthời gian lưu trữ phiên bản trung gian
Panel
titleAPI Spec xem lịch sử phiên bản

Method

Get

URL

/application/attachment/history

Description

API xem lịch sử phiên bản

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

3resultList<Object>

4

(result) code

Stringmã tài  liệu

(result) name

StringTên tài  liệu
5

(result) version

Stringversion tài liệu
6

(result) type

Stringloại tài liệu
7

(result) stepName

Stringbước quy trình
8

(result) extension

Stringloại file
9(result) updatedTimeTimestampthời gian cập nhật
10(result) updatedByStringngười cập nhật
11(result) fileUrlStringlink download tài liệu


3.4 Mô tả các trường dữ liệu trên màn hình:

...