Versions Compared

Key

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

...

Panel
titleAPI Spec lấy tiêu đề và nội dung mail gửi cho nhân viên thông báo kết quả đánh giá

Method

POST

URL

/application/emailTemplate/prepareSupplierEvaluationResultEmail

Description

API Spec lấy tiêu đề và nội dung mail gửi cho nhân viên thông báo kết quả đánh giá

Note

API mới

1. Headers

STT

Field

Source Data Type / Length 

Description

Sample Values

1authorizationStringTokenBearer eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3NjYzOTgyNDUsInVzZXIiOiJ7XCJpZFwiOjIwMjAsXCJ1c2VybmFtZVwiOlwiMDM3NDc4ODQwNVwiLFwibmFtZVwiOlwiQ2h1IFRo4buLIExpw6puXCIsXCJyb2xlc1wiOltdLFwibWFwQmVhdXR5U2Fsb25cIjp7XCJicG0ucmVib3JuLnZuXCI6Nn0sXCJlbXBsb3llZUlkXCI6NTMxLFwiYnJhbmNoSWRcIjoyM30ifQ.qRoaRDxjqyWS-3Az_ZqLmR0KAcPTM7jXggW1Ja5wpEc

2. Request body

STT 

Field

Required

Data Type / Length

Description

Note

1potIdtrueIntegerpotId lấy từ quy trình
2emailTemplateCodetrueString

SUPPLIER_EVALUATION_RESULT (giá trị mặc định)


3. Response / Incoming Data Specification

STT

Field

Data Type / Length

Description

Note

1codeInteger0: thành công, != 0 thất bại

2messageStringmessage trả về
3resultObjectObject
4

(result) title

Stringtiêu đề
5

(result) content

Stringnội dung mail
6

(result) emails

List<String>danh sách mail cần gửi
7

(result) attachments

List<Object>danh sách file đính kèm
8

(attachments) fileName

Stringtên file
9

(attachments) filePath

Stringđường dẫn
Panel
titleAPI Spec phê duyệt đánh giá

Method

POST

URL

/application/supplierEvaluation/update

Description

API Spec phê duyệt đánh giá

Note

API mới

1. Headers

STT

Field

Source Data Type / Length 

Description

Sample Values

1authorizationStringTokenBearer eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3NjYzOTgyNDUsInVzZXIiOiJ7XCJpZFwiOjIwMjAsXCJ1c2VybmFtZVwiOlwiMDM3NDc4ODQwNVwiLFwibmFtZVwiOlwiQ2h1IFRo4buLIExpw6puXCIsXCJyb2xlc1wiOltdLFwibWFwQmVhdXR5U2Fsb25cIjp7XCJicG0ucmVib3JuLnZuXCI6Nn0sXCJlbXBsb3llZUlkXCI6NTMxLFwiYnJhbmNoSWRcIjoyM30ifQ.qRoaRDxjqyWS-3Az_ZqLmR0KAcPTM7jXggW1Ja5wpEc

2. Request body

STT 

Field

Required

Data Type / Length

Description

Note

1potIdtrueIntegerpotId lấy từ quy trình
2approvalNotetrueString

Ghi chú phê duyệt


3statustrueInteger

trạng thái (mặc định khi phê duyệt sẽ là giá trị 2)


4attachmentstrueString

file đính kèm


3. Response / Incoming Data Specification

STT

Field

Data Type / Length

Description

Note

1codeInteger0: thành công, != 0 thất bại

2messageStringmessage trả về
3resultObjectObject
4

(result) potId

String

5

(result) data

String

6

(result) dataHeader

String

7

(result) attachments

Stringfile đính kèm
8

(result) status

Integertrạng thái (mặc định khi phê duyệt sẽ là giá trị 2)
9

(result) approvalNote

String

Ghi chú phê duyệt


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

...