Actions
Bug #2389
open[RAP file][Send mail][Lỗi API] Để trống file name vẫn gửi thành công được
Start date:
08/21/2025
Due date:
% Done:
0%
Estimated time:
Due Date - Customer:
Start Date - Customer:
Description
Các bước thực hiện:
- Trong postman, method POST, nhập url: http://10.207.252.135:8040/api/roaming/rap/export-send-email
- Ở tab Body, trường fileName để trống
- Nhấn Send
Dữ liệu đầu vào:
{
"rapFileIds": [4],
"emailFlowId": "195",
"emailTo": ["anh2@gmail.com", "abccba@gmail.com", "abc1234@gmail.com"],
"emailCc": ["a11@gmail.com", "dfsf@sdfsdf1.com", "dfsf@sdfsdf1.com"],
"emailBcc": ["a@gmail.com"],
"subjectEmail": "COUNTER GUN STRIKE",
"files": [
{
"emailFlowAttachFileId": 0,
"fileName": "",
"filePath": "product/email_flow/2025/8/RCCYPK9VNMVT001242025-08-20T09:44:29.572005808."
}
],
"emailContent": "
Oke team follow my command
"}
Kết quả mong đợi:
-Hiển thị thông báo lỗi: [RM2_WEB_ERROR_016526] {} is required
Kết quả thực tế:
{
"success": true,
"data":{
"msg_content": null,
"msg_code": null,
"payload": true
}
}
Files
Actions