Versions Compared

Key

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

...

Panel
titleAPI Spec get danh sách loại tài liệu

Method

Get

URL

/application/attachmentType/list

Description

API lấy danh sách loại tài liệu có phân trang

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

1name 
falseStringTên loại tài liệu
2limittrueInteger

3pagetrueInteger

4sorttrueStringGiá trị mặc định "ASC" or "DESC"

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

Boolean

5

(result) page

Integer

6

(result) preLoadAble

Integer

Trạng thái (0: Hủy, 1: Đang thực hiện, 2: Hoàn thành)


7

(result) total

Integer

ID của hồ sơ


8

(result) items

List<Object>        
9

(items) id

IntegerId loại tài liệu
10

(items) code

StringMã loại tài liệu
11

(items) name

StringTên loại tài liệu
12

(items) status

IntegerTrạng thái (0: inactive, 1: active)
13

(items) usedCount 

IntegerĐánh dấu xem đã được sử dụng hay chưa (nếu > 0 đã được sử dụng => không chi xóa)
14

(items) deleteAfterMonth

Integerthời gian lưu trữ

...

Panel
titleAPI Spec get danh sách tài liệu

Method

Get

URL

/application/attachment/list

Description

API lấy danh sách tài liệu có phân trang, tab tất cả 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

1limittrueInteger

2pagetrueInteger

3attachmentTypeIdfalseIntegerid loại tài liệu
4createdByfalseIntegerid người tạo
5startTimefalseStringthời gian tạo (từ ngày)
6endTimefalseStringthời gian tạo (đến ngày)
7tenderPackageIdfalseIntegerid gói thầu
8caseIdfalseIntegerid dự án
9workflowIdfalseIntegerid quy trình
10nodeIdfalseIntegerid bước trong quy trình
11departmentIdfalseIntegerid phòng ban
12name falseStringtên 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) loadMoreAble

Boolean

5

(result) page

Integer

6

(result) preLoadAble

Integer

Trạng thái (0: Hủy, 1: Đang thực hiện, 2: Hoàn thành)


7

(result) total

Integer

ID của hồ sơ


8

(result) items

List<Object>        
9

(items) id

IntegerId tài liệu
10

(items) name

StringTên tài  liệu
11

(items) folder

Stringthư mục
12

(items) createdBy

StringNgười tạo
13

(items) updatedTime

Timestampcập nhật lần cuối
14

(items) version

Stringversion tài liệu
15

(items) extension

Stringloại file
16

(items) fileUrl

Stringurl tải file
17

(items) size

Integerdung lượng file

...

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
Panel
titleAPI Spec get danh sách thư mục theo quy trình

Method

Get

URL

/application/workflow/list

Description

API lấy danh sách các quy trình

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

1limittrueInteger

2pagetrueInteger

3attachmentTypeIdfalseIntegerid loại tài liệu
4createdByfalseIntegerid người tạo
5startTimefalseStringthời gian tạo (từ ngày)
6endTimefalseStringthời gian tạo (đến ngày)
7tenderPackageIdfalseIntegerid gói thầu
8caseIdfalseIntegerid dự án
9workflowIdfalseIntegerid quy trình
10nodeIdfalseIntegerid bước trong quy trình
11departmentIdfalseIntegerid phòng ban
12 name falseString

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

Boolean

5

(result) page

Integer

6

(result) preLoadAble

Integer

Trạng thái (0: Hủy, 1: Đang thực hiện, 2: Hoàn thành)


7

(result) total

Integer

ID của hồ sơ


8

(result) items

List<Object>        
9

(items) id

IntegerId quy trình
10

(items) name

StringTên quy trình
11

(items) createdBy

StringNgười tạo
12

(items) updatedTime

Timestampcập nhật lần cuối
Panel
titleAPI Spec get danh sách thư mục theo hồ sơ

Method

Get

URL

/application/workflowCase/list

Description

API lấy danh sách các hồ sơ thuộc quy trình

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

1limittrueInteger

2pagetrueInteger

3attachmentTypeIdfalseIntegerid loại tài liệu
4createdByfalseIntegerid người tạo
5startTimefalseStringthời gian tạo (từ ngày)
6endTimefalseStringthời gian tạo (đến ngày)
7tenderPackageIdfalseIntegerid gói thầu
8caseIdfalseIntegerid dự án
9workflowIdfalseIntegerid quy trình
10nodeIdfalseIntegerid bước trong quy trình
11departmentIdfalseIntegerid phòng ban
12 name falseString

13workflowIdtrueIntegerid quy trình

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

Boolean

5

(result) page

Integer

6

(result) preLoadAble

Integer

Trạng thái (0: Hủy, 1: Đang thực hiện, 2: Hoàn thành)


7

(result) total

Integer

ID của hồ sơ


8

(result) items

List<Object>        
9

(items) id

IntegerId hồ sơ
10

(items) name

StringTên hồ sơ
11

(items) createdBy

StringNgười tạo
12

(items) updatedTime

Timestampcập nhật lần cuối
Panel
titleAPI Spec get danh sách các file thuộc hồ sơ

Method

Get

URL

/application/workflowCase/attachment

Description

API lấy danh sách các file thuộc hồ sơ 

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

1limittrueInteger

2pagetrueInteger

3attachmentTypeIdfalseIntegerid loại tài liệu
4createdByfalseIntegerid người tạo
5startTimefalseStringthời gian tạo (từ ngày)
6endTimefalseStringthời gian tạo (đến ngày)
7tenderPackageIdfalseIntegerid gói thầu
8caseIdfalseIntegerid dự án
9workflowIdfalseIntegerid quy trình
10nodeIdfalseIntegerid bước trong quy trình
11departmentIdfalseIntegerid phòng ban
12 name falseStringtên
13workflowCaseIdtrueIntegerid hồ sơ

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

Boolean

5

(result) page

Integer

6

(result) preLoadAble

Integer

Trạng thái (0: Hủy, 1: Đang thực hiện, 2: Hoàn thành)


7

(result) total

Integer

ID của hồ sơ


8

(result) items

List<Object>        
9

(items) id

IntegerId hồ sơ
10

(items) name

StringTên hồ sơ
11

(items) createdBy

StringNgười tạo
12

(items) updatedTime

Timestampcập nhật lần cuối

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

...