Versions Compared

Key

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

...

Panel
titleAPI lấy dữ liệu hồ sơ mời thầu

Method

GET

URL

application/tenderDocument/listV2

Description

API lấy dữ liệu hồ sơ mời thầu

Note

API mới lấy dữ liệu theo "nhóm yêu cầu mua sắm". Với mỗi nhóm yêu cầu mua sắm sẽ cấu hình các loại hồ sơ để hiển thị.

1. Headers

STT

Field

Source Data Type / Length 

Description

Sample Values

1authorization<token>Token của người dùng đăng nhậpBearer eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3NjY0NTU3ODksInVzZXIiOiJ7XCJpZFwiOjIwMjAsXCJ1c2VybmFtZVwiOlwiMDM3NDc4ODQwNVwiLFwibmFtZVwiOlwiQ2h1IFRo4buLIExpw6puXCIsXCJyb2xlc1wiOltdLFwibWFwQmVhdXR5U2Fsb25cIjp7XCJicG0ucmVib3JuLnZuXCI6Nn0sXCJlbXBsb3llZUlkXCI6NTMxLFwiYnJhbmNoSWRcIjoyM30ifQ.wrvIFd-Q2kHgkTmPf6ryMY6aDIgXpNsWmSvvifQWc5k

2. Request

STT

Field

Require

Data Type / Length

Description

Note

Sample Values

1potIdtrueIntegerid hồ sơ

3. Response / Incoming Data Specification

STT

Field

Data Type / Length

Description

Note

Sample Values

1codeInteger0: thành công còn lại thất bại

2messageStringmessage

3resultList<Object>kết quả trả ra

4(result) roundIntegerlần điều chỉnh

5(result) documentsList<Object>danh sách hồ sơ

6(documents) idInteger


7(documents) nameStringTên hồ sơ
Phạm vi công việc, Tiêu chí thí nghiệm...
8(documents) isAdjustmentBooleanđánh dấu xem hồ sơ này có điều chỉnh không, mặc định là falseVới trường hợp điều chỉnh hồ sơ mời thầu thì các hồ sơ được đánh dấu điều chỉnh sẽ có giá trị true
9(documents) statusIntegertrạng thái

1: Đang thực hiện, 2: Chờ phê duyệt, 3: Đã phê duyệt, 4: Đã phát hành


10(documents) nodeIdString

Nếu ở trạng thái hoàn thành thì sẽ dùng field này để mở eform.


11(documents) documentTypeStringloại hồ sơ


HSTC, PVCV...
12(documents) employeeIdsList<Integer>danh sách id nhân viên được giao việc

trường hợp hồ sơ đã phát hành thì sẽ có id gói thầu


13(documents) potIdIntegerid hồ sơ



14(documents) noteStringghi chú



15(documents) attachmentsStringlink tệp đính kèm



16
(documents) round
Integerlần điều chỉnh



Panel
titleAPI update trạng thái hồ sơ

Method

POST

URL

application/tenderDocument/update

Description

API update trạng thái hồ sơ

Note

API update trạng thái hồ sơ khi hoàn thành công việc. Cần tạo service task trong quy trình để thay đổi trạng thái hồ sơ

1. Headers

STT

Field

Source Data Type / Length 

Description

Sample Values

1authorization<token>Token của người dùng đăng nhậpBearer eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3NjY0NTU3ODksInVzZXIiOiJ7XCJpZFwiOjIwMjAsXCJ1c2VybmFtZVwiOlwiMDM3NDc4ODQwNVwiLFwibmFtZVwiOlwiQ2h1IFRo4buLIExpw6puXCIsXCJyb2xlc1wiOltdLFwibWFwQmVhdXR5U2Fsb25cIjp7XCJicG0ucmVib3JuLnZuXCI6Nn0sXCJlbXBsb3llZUlkXCI6NTMxLFwiYnJhbmNoSWRcIjoyM30ifQ.wrvIFd-Q2kHgkTmPf6ryMY6aDIgXpNsWmSvvifQWc5k

2. Request

STT

Field

Require

Data Type / Length

Description

Note

Sample Values

1potIdtrueIntegerid hồ sơ

2statustrueIntegertrạng thái

3documentTypetrueStringloại hồ sơ

3. Response / Incoming Data Specification

STT

Field

Data Type / Length

Description

Note

Sample Values

1codeInteger0: thành công còn lại thất bại

2messageStringmessage

...