Project

General

Profile

Actions

Bug #2389

open

[RAP file][Send mail][Lỗi API] Để trống file name vẫn gửi thành công được

Added by Anh Vương Quốc 4 months ago. Updated 4 months ago.

Status:
Open
Priority:
High
Assignee:
Category:
-
Target version:
-
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:

  1. Trong postman, method POST, nhập url: http://10.207.252.135:8040/api/roaming/rap/export-send-email
  2. Ở tab Body, trường fileName để trống
  3. Nhấn Send

Dữ liệu đầu vào:
{
"rapFileIds": [4],
"emailFlowId": "195",
"emailTo": ["", "", ""],
"emailCc": ["", "", ""],
"emailBcc": [""],
"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

Also available in: Atom PDF