...
| Panel |
|---|
| title | API 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 |
|---|
STT | Field | Source Data Type / Length | Description | Sample Values |
|---|
| 1 | authorization | String | Token | Bearer eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3NjYzOTgyNDUsInVzZXIiOiJ7XCJpZFwiOjIwMjAsXCJ1c2VybmFtZVwiOlwiMDM3NDc4ODQwNVwiLFwibmFtZVwiOlwiQ2h1IFRo4buLIExpw6puXCIsXCJyb2xlc1wiOltdLFwibWFwQmVhdXR5U2Fsb25cIjp7XCJicG0ucmVib3JuLnZuXCI6Nn0sXCJlbXBsb3llZUlkXCI6NTMxLFwiYnJhbmNoSWRcIjoyM30ifQ.qRoaRDxjqyWS-3Az_ZqLmR0KAcPTM7jXggW1Ja5wpEc |
2. ParamSTT | Field | Required | Data Type / Length | Description | Note |
|---|
| 1 | limit | true | Integer |
|
| | 2 | page | true | Integer |
|
| | 3 | attachmentTypeId | false | Integer | id loại tài liệu |
| | 4 | createdBy | false | Integer | id người tạo |
| | 5 | startTime | false | String | thời gian tạo (từ ngày) |
| | 6 | endTime | false | String | thời gian tạo (đến ngày) |
| | 7 | tenderPackageId | false | Integer | id gói thầu |
| | 8 | caseId | false | Integer | id dự án |
| | 9 | workflowId | false | Integer | id quy trình |
| | 10 | nodeId | false | Integer | id bước trong quy trình |
| | 11 | departmentId | false | Integer | id phòng ban |
| | 12 | name | false | String | tên |
| | 13 | workflowCaseId | true | Integer | id hồ sơ |
|
3. Response / Incoming Data Specification| STT | Field | Data Type / Length | Description | Note |
|---|
| 1 | code | Integer | 0: thành công, != 0 thất bại |
| | 2 | message | String |
|
| | 3 | result | Object | Object |
| | 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 | Integer | Id tài liệu |
| | 10 | (items) name | String | tên tài liệu |
| | 11 | (items) code | String | mã tài liệu |
| | 12 | (items) version | String | version tài liệu |
| | 13 | (items) size | String | dung lượng |
| | 14 | (items) createdBy | String | người tạo |
| | 15 | (items) updatedTime | Timestamp | thời gian cập nhật gần nhất |
| | 16 | (items) fileUrl | String | đường dẫn tải tài liệu |
| | 17 | (items) extension | String | loại file |
|
|
| Panel |
|---|
| title | API lấy danh sách thư mục không theo quy trình và thư mục công việc không theo quy trình |
|---|
|
Method | Get | URL | /application/folder/list |
|---|
Description | API lấy danh sách thư mục không theo quy trình và thư mục công việc không theo quy trình |
|---|
Note | API mới |
|---|
STT | Field | Source Data Type / Length | Description | Sample Values |
|---|
| 1 | authorization | String | Token | Bearer eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3NjYzOTgyNDUsInVzZXIiOiJ7XCJpZFwiOjIwMjAsXCJ1c2VybmFtZVwiOlwiMDM3NDc4ODQwNVwiLFwibmFtZVwiOlwiQ2h1IFRo4buLIExpw6puXCIsXCJyb2xlc1wiOltdLFwibWFwQmVhdXR5U2Fsb25cIjp7XCJicG0ucmVib3JuLnZuXCI6Nn0sXCJlbXBsb3llZUlkXCI6NTMxLFwiYnJhbmNoSWRcIjoyM30ifQ.qRoaRDxjqyWS-3Az_ZqLmR0KAcPTM7jXggW1Ja5wpEc |
2. Param STT | Field | Required | Data Type / Length | Description | Note |
|---|
| 1 | limit | true | Integer |
|
| | 2 | page | true | Integer |
|
| | 3 | attachmentTypeId | false | Integer | id loại tài liệu |
| | 4 | createdBy | false | Integer | id người tạo |
| | 5 | startTime | false | String | thời gian tạo (từ ngày) |
| | 6 | endTime | false | String | thời gian tạo (đến ngày) |
| | 7 | tenderPackageId | false | Integer | id gói thầu |
| | 8 | caseId | false | Integer | id dự án |
| | 9 | workflowId | false | Integer | id quy trình |
| | 10 | nodeId | false | Integer | id bước trong quy trình |
| | 11 | departmentId | false | Integer | id phòng ban |
| | 12 | name | false | String | tên |
| | 13 | scope | true | Integer | giá trị phân biệt thư mục không theo quy trình và thư mục công việc không theo quy trình (0=FREE (không theo quy trình), 1=WORK (công việc) |
|
3. Response / Incoming Data Specification| STT | Field | Data Type / Length | Description | Note |
|---|
| 1 | code | Integer | 0: thành công, != 0 thất bại |
| | 2 | message | String |
|
| | 3 | result | Object | Object |
| | 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 |
| | 7 | (result) total | Integer | ID của hồ sơ |
| | 8 | (result) items | List<Object> | |
| | 9 | (items) id | Integer | id thư mục |
| | 10 | (items) name | String | tên thư mục |
| | 11 | (items) createdBy | String | người tạo |
| | 12 | (items) updatedTime | Timestamp | thời gian cập nhật gần nhất |
|
|
| Panel |
|---|
| title | API lấy danh sách thư mục không theo quy trình và thư mục công việc không theo quy trình |
|---|
|
Method | Get | URL | /application/folder/detail |
|---|
Description | API lấy danh sách thư mục không theo quy trình và thư mục công việc không theo quy trình |
|---|
Note | API mới |
|---|
STT | Field | Source Data Type / Length | Description | Sample Values |
|---|
| 1 | authorization | String | Token | Bearer eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3NjYzOTgyNDUsInVzZXIiOiJ7XCJpZFwiOjIwMjAsXCJ1c2VybmFtZVwiOlwiMDM3NDc4ODQwNVwiLFwibmFtZVwiOlwiQ2h1IFRo4buLIExpw6puXCIsXCJyb2xlc1wiOltdLFwibWFwQmVhdXR5U2Fsb25cIjp7XCJicG0ucmVib3JuLnZuXCI6Nn0sXCJlbXBsb3llZUlkXCI6NTMxLFwiYnJhbmNoSWRcIjoyM30ifQ.qRoaRDxjqyWS-3Az_ZqLmR0KAcPTM7jXggW1Ja5wpEc |
2. Param STT | Field | Required | Data Type / Length | Description | Note |
|---|
| 1 | limit | true | Integer |
|
| | 2 | page | true | Integer |
|
| | 3 | attachmentTypeId | false | Integer | id loại tài liệu |
| | 4 | createdBy | false | Integer | id người tạo |
| | 5 | startTime | false | String | thời gian tạo (từ ngày) |
| | 6 | endTime | false | String | thời gian tạo (đến ngày) |
| | 7 | tenderPackageId | false | Integer | id gói thầu |
| | 8 | caseId | false | Integer | id dự án |
| | 9 | workflowId | false | Integer | id quy trình |
| | 10 | nodeId | false | Integer | id bước trong quy trình |
| | 11 | departmentId | false | Integer | id phòng ban |
| | 12 | name | false | String | tên |
| | 13 | scope | true | Integer | giá trị phân biệt thư mục không theo quy trình và thư mục công việc không theo quy trình (0=FREE (không theo quy trình), 1=WORK (công việc) |
| | 14 | folderId | true | Integer | id folder |
|
3. Response / Incoming Data Specification| STT | Field | Data Type / Length | Description | Note |
|---|
| 1 | code | Integer | 0: thành công, != 0 thất bại |
| | 2 | message | String |
|
| | 3 | result | Object | Object |
| | 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 |
| | 7 | (result) total | Integer | ID của hồ sơ |
| | 8 | (result) items | List<Object> | |
| | 9 | (items) kind | String | loại (folder, attachment) |
| | 10 | (items) folderName | String | tên thư mục |
| | 11 | (items) folderId | Integer | id thư mục |
| | 12 | (items) id | Integer | Id tài liệu |
| | 13 | (items) name | String | tên tài liệu |
| | 14 | (items) code | String | mã tài liệu |
| | 15 | (items) version | String | version tài liệu |
| | 16 | (items) size | String | dung lượng |
| | 17 | (items) createdBy | String | người tạo |
| | 18 | (items) updatedTime | Timestamp | thời gian cập nhật gần nhất |
| | 19 | (items) fileUrl | String | đường dẫn tải tài liệu |
| | 20 | (items) extension | String | loại file |
| | 21 | (items) createdBy | String | người tạo |
| | 22 | (items) updatedTime | Timestamp | thời gian cập nhật gần nhất |
|
|
| Panel |
|---|
| title | API thêm mới/chỉnh sửa thư mục không theo quy trình |
|---|
|
Method | POST | URL | /application/folder/insertOrUpdate |
|---|
Description | API thêm mới/ chỉnh sửa thư mục không theo quy trình |
|---|
Note | API mới |
|---|
STT | Field | Source Data Type / Length | Description | Sample Values |
|---|
| 1 | authorization | String | Token | Bearer eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3NjYzOTgyNDUsInVzZXIiOiJ7XCJpZFwiOjIwMjAsXCJ1c2VybmFtZVwiOlwiMDM3NDc4ODQwNVwiLFwibmFtZVwiOlwiQ2h1IFRo4buLIExpw6puXCIsXCJyb2xlc1wiOltdLFwibWFwQmVhdXR5U2Fsb25cIjp7XCJicG0ucmVib3JuLnZuXCI6Nn0sXCJlbXBsb3llZUlkXCI6NTMxLFwiYnJhbmNoSWRcIjoyM30ifQ.qRoaRDxjqyWS-3Az_ZqLmR0KAcPTM7jXggW1Ja5wpEc |
2. RequestBody STT | Field | Required | Data Type / Length | Description | Note |
|---|
| 1 | name | true | String | tên thư mục |
| | 2 | parentId | true | String | id thư mục cha |
|
3. Response / Incoming Data Specification| STT | Field | Data Type / Length | Description | Note |
|---|
| 1 | code | Integer | 0: thành công, != 0 thất bại |
| | 2 | message | String |
|
| | 3 | result | Object | Object |
| | 4 | (result) name | Boolean |
|
| | 5 | (result) parentId | Integer |
|
| | 6 | (result) path | Integer |
|
| | 7 | (result) id | Integer | ID của hồ sơ |
|
|
3.4 Mô tả các trường dữ liệu trên màn hình:
...