Versions Compared

Key

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

...

Panel
titleAPI Spec Document

Method

GET

URL

<DOMAIN>/application/clarificationRequest/byTenderPackage

Description

API danh sách quản lý yêu cầu làm rõ

Note

Đã có api cũ nhưng hiện tại api cũ đang là lấy tất cả chứ không chia theo từng gói thầu và phải lược bỏ một số param không dùng đến.
→ Tạo api mới

1. Headers

STT

Field

Source Data Type / Length 

Description

Sample Values


authorizationStringToken

Bearer eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3NjYzMDk1MTgsInVzZXIiOiJ7XCJpZFwiOjIwMjAsXCJ1c2VybmFtZVwiOlwiMDM3NDc4ODQwNVwiLFwibmFtZVwiOlwiQ2h1IFRo4buLIExpw6

puXCIsXCJyb2xlc1wiOltdLFwibWFwQmVhdXR5U2Fsb25cIjp7XCJicG0ucmVib3JuLnZuXCI6Nn0sXCJlbXBsb3llZUlkXCI6NTMxLFwiYnJhbmNoSWRcIjoyM30ifQ.UGz8TQudVxEd7rp_rsLXePraHELTRWHyc7iXNvVnn14

2. Param

STT

Field

Required

Data Type / Length

Description

Note

1
nameorganizationName

String
Tên nhà thầu
2tenderPackageIdtrueIntegerId gói thầu
3
status

Integer
Trạng thái
4
startDate

String
Thời gian nhận từ ngày
5endDate
StringThời gian nhận đến ngày
6limit
IntegerSố bản ghi
7page
IntegerTrang

3. Response / Incoming Data Specification

STT

Field

Data Type / Length

Description

Note

Sample Values


codeIntegerCode


messageStringMessage


loadMoreAble
Boolean




preLoadAble
Boolean




resultObjectKết quả


result.totalLongTổng số bản ghi


result.pageIntegerSố trang hiện tại


result.itemsListDanh sách kết quả


result.items[?].idIntegerId


result.items[?].organizationIdIntegerId nhà thầu


result.items[?].organizationNameStringTên nhà thầu


result.items[?].contactIdIntegerId người liên hệ


result.items[?].contactNameStringTên người liên hệ


result.items[?].contactEmailStringEmail người liên hệ


result.items[?].roundIntegerSố lần làm rõ


result.items[?].createdTimeTimestampThời gian nhận


result.items[?].statusIntegerTrạng thái

Method

POST

URL

<DOMAIN>/application/generalClarification/update

Description

API gửi tổng hợp làm rõ HSMT

Note

Đã có

1. Headers

STT

Field

Source Data Type / Length 

Description

Sample Values


authorizationStringToken

Bearer eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3NjYzMDk1MTgsInVzZXIiOiJ7XCJpZFwiOjIwMjAsXCJ1c2VybmFtZVwiOlwiMDM3NDc4ODQwNVwiLFwibmFtZVwiOlwiQ2h1IFRo4buLIExpw6

puXCIsXCJyb2xlc1wiOltdLFwibWFwQmVhdXR5U2Fsb25cIjp7XCJicG0ucmVib3JuLnZuXCI6Nn0sXCJlbXBsb3llZUlkXCI6NTMxLFwiYnJhbmNoSWRcIjoyM30ifQ.UGz8TQudVxEd7rp_rsLXePraHELTRWHyc7iXNvVnn14

2. Body

STT

Field

Required

Data Type / Length

Description

Note

1
id
true
Integer
id tổng hợp làm rõ HSMT, mặc định thêm mới = 0
2
content

String
Nội dung
3
packageId
true
Integer
Id gói thầu
4
attachments

String
Danh sách file

3. Response / Incoming Data Specification

STT

Field

Data Type / Length

Description

Note

Sample Values


codeIntegerCode


messageStringMessage


resultObjectKết quả


result.idIntegerid tổng hợp làm rõ HSMT


result.packageIdIntegerId gói thầu


result.contentStringNội dung


result.attachmentsString
Danh sách file



result.employeeIdIntegerNgười tạo


result.createdTime
Timestamp
Thời gian tạo

Method

GET

URL

<DOMAIN>/application/generalClarification/list

Description

API Lịch sử gửi tổng hợp làm rõ HSMT

Note

Đã có

1. Headers

STT

Field

Source Data Type / Length 

Description

Sample Values


authorizationStringToken

Bearer eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3NjYzMDk1MTgsInVzZXIiOiJ7XCJpZFwiOjIwMjAsXCJ1c2VybmFtZVwiOlwiMDM3NDc4ODQwNVwiLFwibmFtZVwiOlwiQ2h1IFRo4buLIExpw6

puXCIsXCJyb2xlc1wiOltdLFwibWFwQmVhdXR5U2Fsb25cIjp7XCJicG0ucmVib3JuLnZuXCI6Nn0sXCJlbXBsb3llZUlkXCI6NTMxLFwiYnJhbmNoSWRcIjoyM30ifQ.UGz8TQudVxEd7rp_rsLXePraHELTRWHyc7iXNvVnn14

2. PARAM

STT

Field

Required

Data Type / Length

Description

Note

1
packageId
true
Integer
Id gói thầu

3. Response / Incoming Data Specification

STT

Field

Data Type / Length

Description

Note

Sample Values


codeIntegerCode


messageStringMessage


resultObjectKết quả


result[?].idIntegerid tổng hợp làm rõ HSMT


result[?].packageIdIntegerId gói thầu


result[?].contentStringNội dung


result[?].attachmentsString
Danh sách file



result[?].employeeIdIntegerNgười tạo


result[?].createdTime
Timestamp
Thời gian tạo

Method

GET

URL

<DOMAIN>/application/clarificationDetail/list

Description

API danh sách chi tiết yêu cầu làm rõ

Note

Đã có

1. Headers

STT

Field

Source Data Type / Length 

Description

Sample Values


authorizationStringToken

Bearer eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3NjYzMDk1MTgsInVzZXIiOiJ7XCJpZFwiOjIwMjAsXCJ1c2VybmFtZVwiOlwiMDM3NDc4ODQwNVwiLFwibmFtZVwiOlwiQ2h1IFRo4buLIExpw6

puXCIsXCJyb2xlc1wiOltdLFwibWFwQmVhdXR5U2Fsb25cIjp7XCJicG0ucmVib3JuLnZuXCI6Nn0sXCJlbXBsb3llZUlkXCI6NTMxLFwiYnJhbmNoSWRcIjoyM30ifQ.UGz8TQudVxEd7rp_rsLXePraHELTRWHyc7iXNvVnn14

2. PARAM

STT

Field

Required

Data Type / Length

Description

Note

1
clarificationId
true
Integer
Id gói thầu

roundtrueIntegerSố vòng

3. Response / Incoming Data Specification

STT

Field

Data Type / Length

Description

Note

Sample Values


codeIntegerCode


messageStringMessage


resultObjectKết quả


result[?].idIntegerid tổng hợp làm rõ HSMT


result[?].attachmentsStringDanh sách file


result[?].contentStringNội dung


result[?].assignTime
Timestamp




result[?].processTime
Timestamp




result[?].status
Integer
Trạng thái


result[?].employeeId
Integer




result[?].employeeName
String




result[?].documentId
Integer




result[?].clarificationId
Integer




result[?].organizationId
Integer




result[?].documentName
String




result[?].documentPosition
String




result[?].idFromPortal
Integer




result[?].documentType
String




result[?].documentEmployeeName
String




result[?].documentEmployeeId
String




result[?].employeeIdSow
Integer




result[?].employeeIdBom
Integer




result[?].employeeIdEngineer
Integer




result[?].employeeIdExperiment
Integer




result[?].employeeIdBoq
Integer




result[?].employeeIdDesign
Integer




result[?].employeeIdSplcontact
Integer




result[?].employeePackageId
Integer




result[?].employeeNameSow
String




result[?].employeeNameBom
String




result[?].employeeNameEngineer
String




result[?].employeeNameExperiment
String




result[?].employeeNameBoq
String




result[?].employeeNameDesign
String




result[?].employeeNameSplcontact
String



Method

GET

URL

<DOMAIN>/system/employee/list

Description

API Danh sách nhân viên

Note

Đã có

1. Headers

STT

Field

Source Data Type / Length 

Description

Sample Values


authorizationStringToken

Bearer eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3NjYzMDk1MTgsInVzZXIiOiJ7XCJpZFwiOjIwMjAsXCJ1c2VybmFtZVwiOlwiMDM3NDc4ODQwNVwiLFwibmFtZVwiOlwiQ2h1IFRo4buLIExpw6

puXCIsXCJyb2xlc1wiOltdLFwibWFwQmVhdXR5U2Fsb25cIjp7XCJicG0ucmVib3JuLnZuXCI6Nn0sXCJlbXBsb3llZUlkXCI6NTMxLFwiYnJhbmNoSWRcIjoyM30ifQ.UGz8TQudVxEd7rp_rsLXePraHELTRWHyc7iXNvVnn14

2. PARAM

STT

Field

Required

Data Type / Length

Description

Note

1
name

String
Tên, email nhân viên

page
Integer


limit
Integer

3. Response / Incoming Data Specification

STT

Field

Data Type / Length

Description

Note

Sample Values


codeIntegerCode


messageStringMessage


totalLongTổng số bản ghi


pageIntegerSố trang


resultObjectKết quả


result.item[?].idIntegerId user


result.item[?].nameStringTên


result.item[?].userNameStringTên đăng nhập


result.item[?].avatar
String
avatar



result.item[?].phone
String
Số điện thoại


result.item[?].email
String
email


result.item[?].address
String
Đại chỉ


result.item[?].jteId
Integer




result.item[?].jteNameString



result.item[?].departmentIdInteger



result.item[?].rolesString



result.item[?].leadershipInteger



result.item[?].statusInteger



result.item[?].positionInteger



result.item[?].isOwnerInteger



result.item[?].userIdInteger



result.item[?].managerIdInteger



result.item[?].serviceCountInteger



result.item[?].title
String




result.item[?].branchName
String




result.item[?].branchAddress
String




result.item[?].departmentName
String




result.item[?].viewMode
Integer




result.item[?].idToken
String




result.item[?].accessToken
String




result.item[?].uniqueId
String




result.item[?].viewCustomerMode
Integer




result.item[?].viewBusinessPartnerMode
Integer




result.item[?].sip
String




result.item[?].shiftIdInteger



result.item[?].shiftName
String




result.item[?].branchIdInteger



result.item[?].bsnIdInteger



result.item[?].managerName
String




result.item[?].managerAvatar
String




result.item[?].lstEmployeeIdList<Integer>



result.item[?].rank
Integer




result.item[?].tmpIdInteger



result.item[?].lstOrgApp
List<EBOrgApp>
public class EBOrgApp {
private Integer id;
private String code;
private String startDate;
private String endDate;
private Integer packageId;
private Integer period;
private Integer periodBonus;
private Integer price;
private Integer priceDiscount;
private Integer bsnId;

//Thông tin mở rộng (Tên gói đang dùng)
private String packageName;
private Integer packageType;
}



result.item[?].lstEmployeeRole
List<JobTitle>
public class JobTitle {
private Integer id;
private String title;
private Integer position;
private Integer departmentId;
private Integer isManager;

//Tên bộ phận phòng ban
private String departmentName;
}


Method

POST

URL

<DOMAIN>/application/clarificationRequest/assign

Description

API Gửi phân công yêu cầu làm rõ 

Note

Đã có

1. Headers

STT

Field

Source Data Type / Length 

Description

Sample Values


authorizationStringToken

Bearer eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3NjYzMDk1MTgsInVzZXIiOiJ7XCJpZFwiOjIwMjAsXCJ1c2VybmFtZVwiOlwiMDM3NDc4ODQwNVwiLFwibmFtZVwiOlwiQ2h1IFRo4buLIExpw6

puXCIsXCJyb2xlc1wiOltdLFwibWFwQmVhdXR5U2Fsb25cIjp7XCJicG0ucmVib3JuLnZuXCI6Nn0sXCJlbXBsb3llZUlkXCI6NTMxLFwiYnJhbmNoSWRcIjoyM30ifQ.UGz8TQudVxEd7rp_rsLXePraHELTRWHyc7iXNvVnn14

2. BODY

STT

Field

Required

Data Type / Length

Description

Note

1
clarificationDetail

List<ClarificationDetail>
public class ClarificationDetail {
private Integer id;
private String attachments;
private String content;
private Timestamp assignTime;
private Timestamp processTime;
private Integer status;
private Integer employeeId;
private String employeeName;
private Integer documentId;
private Integer clarificationId;
private Integer organizationId;
private String documentName;
private Integer documentPosition;
private Integer idFromPortal;

//Trường thông tin mở rộng
private String documentType;
private String documentEmployeeName;
private String documentEmployeeId;

private Integer employeeIdSow;
private Integer employeeIdBom;
private Integer employeeIdEngineer;
private Integer employeeIdExperiment;
private Integer employeeIdBoq;
private Integer employeeIdDesign;
private Integer employeeIdSplcontact;
private Integer employeePackageId;

private String employeeNameSow;
private String employeeNameBom;
private String employeeNameEngineer;
private String employeeNameExperiment;
private String employeeNameBoq;
private String employeeNameDesign;
private String employeeNameSplcontact;
}

3. Response / Incoming Data Specification

STT

Field

Data Type / Length

Description

Note

Sample Values


codeIntegerCode


messageStringMessage


resultObjectKết quả


result.id
Integer
Id


result.round
Integer
Số vòng


result.status
Integer
Trạng thái


result.assignTime
Timestamp
Thời gian assign



result.createdTime
Timestamp
Thời gian tạo


result.responseTimeDay
Integer
Thời gian phản hồi (ngày)


result.responseTimeHour
Integer
Thời gian phản hồi (giờ)


result.responseTimeMinute
Integer
Thời gian phản hồi (phút)


result.responseTime
Timestamp
Thời gian phản hồi


result.organizationId
Integer




result.packageId
Integer




result.projectId
Integer




result.packageName
String




result.projectName
String




result.branchName
String




result.tenderPackageName
String




result.packageProjectName
String




result.packageProjectCode
String




result.idFromPortal
Integer




result.contactId
Integer




result.userId
Integer




result.processingTimeDay
Integer
Thời gian xử lý (ngày)


result.processingTimeHour
Integer
Thời gian xử lý (giờ)


result.processingTimeMinute
Integer
Thời gian xử lý (phút)


result.organizationName
Integer



...