Versions Compared

Key

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

...

Panel
titleAPI tạo báo cáo thầu

Method

POST

URL

application/reportPackage/create

Description

API tạo báo cáo thầu

Note

API mớ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. RequestBody

STT

Field

Require

Data Type / Length

Description

Note

Sample Values

1packageIdtrueIntegerid gói thầu

2roundtrueIntegerSố lần tạo báo cáo thầu

3typetrueStringLoại báo cáo thầu

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) idIntegerid

5(result) potIdIntegerid hồ sơ

6(result) packageIdIntegerid gói thầu

7(result) workIdIntegerid công việc

8(result) typeStringloại báo cáo thầu
GTC, TVTK, KSXD
9(result) statusStringtrạng thái của báo cáo thầu bên bpm
approve, draft
10(result) portal_statusStringtrạng thái của báo cáo thầu bên portal
approve, inprogress, reject
11(result) roundIntegerLần tạo báo cáo thầu

12(result) formJsonDữ liệu của mẫu báo cáo thầu

13(result) employeeIdIntegerId của thư ký tạo báo cáo thầu

14(result) noteString


15(result) attachmentStringUrl của file đính kèm

16response_timeStringThời gian portal phản hồi

Panel
titleAPI update báo cáo thầu

Method

PUT

URL

application/reportPackage/update

Description

API update báo cáo thầu

Note

API mớ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. RequestBody

STT

Field

Require

Data Type / Length

Description

Note

Sample Values

1idtrueIntegerid báo cáo thầu

2roundtrueIntegerSố lần tạo báo cáo thầu

3statustrueStringtrạng thái của báo cáo thầu bên bpm

4portal_statustrueStringtrạng thái của báo cáo thầu bên portal

5formtrueJsonDữ liệu của mẫu báo cáo thầu

6notetrueString


7attachmenttrueStringUrl của file đính kèm

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) idIntegerid

5(result) potIdIntegerid hồ sơ

6(result) packageIdIntegerid gói thầu

7(result) workIdIntegerid công việc

8(result) typeStringloại báo cáo thầu
GTC, TVTK, KSXD
9(result) statusStringtrạng thái của báo cáo thầu bên bpm
approve, draft
10(result) portal_statusStringtrạng thái của báo cáo thầu bên portal
approve, inprogress, reject
11(result) roundIntegerLần tạo báo cáo thầu

12(result) formJsonDữ liệu của mẫu báo cáo thầu

13(result) employeeIdIntegerId của thư ký tạo báo cáo thầu

14(result) noteString


15(result) attachmentStringUrl của file đính kèm

16response_timeStringThời gian portal phản hồi

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

...