...
| Panel |
|---|
| title | API 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 |
|---|
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 | id | true | Integer | id tài liệu |
|
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) id | Integer | Id tài liệu |
|
| (result) code | String | mã tài liệu |
| | 5 | (result) name | String | Tên tài liệu |
| | 6 | (result) version | String | version tài liệu |
| | 7 | (result) type | String | loại tài liệu |
| | 8 | (result) documentNumber | String | số hiệu văn bản |
| | 9 | (result) workflowName | String | tên quy trình |
| | 10 | (result) workflowCaseName | String | bước quy trình |
| | 11 | (result) size | Integer | dung lượng file |
| | 12 | (result) extension | String | loại file |
| | 13 | (result) createdBy | String | tên người tạo |
| | 14 | (result) createdTime | Timestamp | thời gian tạo |
| | 15 | (result) approvedBy | String | tên người phê duyệt |
| | 16 | (result) approvedTime | Timestamp | thời gian phê duyệt cuối |
| | 17 | (result) updatedTime | Timestamp | thời gian cập nhật gần nhất |
| | 18 | (result) tenderPackageName | String | tên gói thầu |
| | 19 | (result) projectName | String | tên dự án |
| | 20 | (result) departmentName | String | đơn vị quản lý |
| | 21 | (result) retentionExpiresTime | Timestamp | thời gian lưu trữ tính từ phiên bản phê duyệt cuối |
| | 22 | (result) intermediateCleanupTime | Timestamp | thời gian lưu trữ phiên bản trung gian |
|
|
| Panel |
|---|
| title | API 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 |
|---|
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 | id | true | Integer | id tài liệu |
|
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 | List<Object> |
|
| | 4 | (result) code | String | mã tài liệu |
|
| (result) name | String | Tên tài liệu |
| | 5 | (result) version | String | version tài liệu |
| | 6 | (result) type | String | loại tài liệu |
| | 7 | (result) stepName | String | bước quy trình |
| | 8 | (result) extension | String | loại file |
| | 9 | (result) updatedTime | Timestamp | thời gian cập nhật |
| | 10 | (result) updatedBy | String | người cập nhật |
| | 11 | (result) fileUrl | String | link download tài liệu |
|
|
3.4 Mô tả các trường dữ liệu trên màn hình:
...