Versions Compared

Key

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

...

3.3 API Spec: <gắn link tài liệu mô tả API vào đây>

Panel
titleAPI Spec Documentlấ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.

Body

Request body

STT

STT 

Path

Field

Field

Required

Data Type / Length

Description

Note

Sample Values

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

Sample Values

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

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

...