Versions Compared

Key

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

...

Panel
titleAPI lấy thông tin chi tiết gói thầu

Method

GET

URL

/portal/tenderPackage/get

Description

API lấy thông tin chi tiết gói thầu

Note

API cũ nhưng cần bổ sung thêm các thông tin liên quan đến kết quả 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. RequestParam

STT

Field

Require

Data Type / Length

Description

Note

Sample Values

1idFromBpmtrueIntegerlấy từ trường id_from_bpm của bảng tenderPackage 

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

3resultObjectthông tin chi tiết

4(result) idIntegerCác trường thông tin này đã có rồi
5(result) codeString
6(result) nameString
7(result) projectNameString
8(result) projectIdInteger
9(result) invitationDateString
10(result) closedDateString
11(result) locationString
12(result) invitationOnlyInteger
13(result) statusInteger
14(result) employeeIdInteger
15(result) fieldIdInteger
16(result) noteString
17(result) fieldNameString
18(result) idFromBpmInteger
19(result) purchaseRequestNameString
20(result) stepInteger
21(result) invitationStatusInteger
22(result) invitationIdInteger
23(result) biddingStatusInteger
24(result) totalEvaluationInteger
25(result) negotiationListList<Object>
26(result) branchIdInteger
27(result) branchNameString
28(result) employeeNameString
29(result) employeeEmailString
30(result) employeePhoneString
31(result) responseTimeStringThời gian phản hồi kết quả dự thầu (trường mới cần join với bảng tender_report)
32(result) contentStringNội dung hiển thị thông báo kết quả trúng thầu (trường mới cần join với bảng tender_report)
33(result) tenderReportStatusIntegertrạng thái phản hồi (trường mới cần join với bảng tender_report)
34(result) tenderReportIdIntegerid báo cáo thầu (trường mới cần join với bảng tender_report)
Panel
titleAPI cập nhật kết quả ( xác nhận/ từ chối )thực hiện gói thầu

Method

GET

URL

/portal/tenderReporttenderReportResponse/update

Description

API lấy thông tin chi tiết xác nhận/ từ chối thực hiện gói thầu

Note

API cũ nhưng cần bổ sung thêm các thông tin liên quan đến kết quả thầumới

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.

RequestParam

RequestBody

STT

Field

Require

Data Type / Length

Description

Note

Sample Values

1idFromBpmtenderReportIdtrueIntegerlấy từ trường id _from_bpm của bảng tenderPackage của bảng tenderReport

2statustrueIntegertrạng thái (từ chối: 0, xác nhận: 1)

3reasonfalseStringlí do từ chối

3. Response / Incoming Data Specification

Objectid báo cáo thầu (trường mới cần join với bảng tender_report)
STT

Field

Data Type / Length

Description

Note

Sample Values

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

2messageStringmessage
3result
thông tin chi tiết4(result) idIntegerCác trường thông tin này đã có rồi5(result) codeString6(result) nameString7(result) projectNameString8(result) projectIdInteger9(result) invitationDateString10(result) closedDateString11(result) locationString12(result) invitationOnlyInteger13(result) statusInteger14(result) employeeIdInteger15(result) fieldIdInteger16(result) noteString17(result) fieldNameString18(result) idFromBpmInteger19(result) purchaseRequestNameString20(result) stepInteger21(result) invitationStatusInteger22(result) invitationIdInteger23(result) biddingStatusInteger24(result) totalEvaluationInteger25(result) negotiationListList<Object>26(result) branchIdInteger27(result) branchNameString28(result) employeeNameString29(result) employeeEmailString30(result) employeePhoneString31(result) responseTimeStringThời gian phản hồi kết quả dự thầu (trường mới cần join với bảng tender_report)32(result) contentStringNội dung hiển thị thông báo kết quả trúng thầu (trường mới cần join với bảng tender_report)33(result) tenderReportStatusIntegertrạng thái phản hồi (trường mới cần join với bảng tender_report)34(result) tenderReportIdInteger


4. Logic xử lý

  • Update trạng thái vào bảng tender_report
  • Tạo record mới trong bảng tender_report_response


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

...