Versions Compared

Key

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

...

Panel
titleAPI mở thầu

Method

GET

URL

application/tenderOpening/update

Description

API mở thầu

Note

Api cũ → sửa lại logic không cần call tạo workOrder nữa mà cần call sang Portal để khóa các nhà thầu chưa nộp thầu

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ơ

2
lstTechniques
trueList<integer>danh sách id nhân viên đánh giá hồ sơ kỹ thuật

3
lstFinances
trueList<integer>danh sách id nhân viên đánh giá hồ sơ tài chính

4
lstContacts
trueList<integer>danh sách id nhân viên đánh giá hợp đồng mẫu

5
lstCapacityProfiles
trueList<integer>danh sách id nhân viên đánh giá hồ sơ năng lực

6
attachmentFinances
trueInteger0: không cho phép xem hồ sơ tài chính, 1 là cho phép xem hồ sơ tài chính

7roundtrueIntegervòng

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

3resultObjectkết quả trả ra

4(result) statusidInteger0: chưa đủ điều kiện,  1: đủ điều kiện mở thầuid tenderOpening

5(result) docTypespotIdList<Object>IntegerDanh sách loại id hồ sơ nhà thầu nộp

6(docTypesresult) packageIdIntegerid Integerid loại hồ sơ (hồ sơ tài chính...)7(docTypes) nameStringtên loại hồ sơ
==> Logic xử lý: Khi tất cả nhà thầu đã thực hiện xác nhận tham gia/từ chối và tất cả nhà thầu thầu xác nhận tham gia đã hoàn thành nộp thầu → Kích hoạt dây đi tiếp luồng "Mở thầu"
gói thầu

7(result) attachmentFinancesInteger


8(result) capacityProfilesString


9(result) techniquesString


10(result) contactsString


11(result) financesString


12

(result) round

Integervòng

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

...