/erp/sc/data/mail/detail{
"operation": {
"method": "POST",
"path": "/erp/sc/data/mail/detail"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 3,
"text": ""
},
"responseExample": "{\n \"code\": 0,\n \"message\": \"success\",\n \"error_details\": [],\n \"request_id\": \"7F1131D2-BB65-F77A-E29D-8C712D6EAB64\",\n \"response_time\": \"2022-03-31 17:18:07\",\n \"data\": {\n \"webmail_uuid\": \"1615637469510164901\",\n \"mail_sn_code\": \"OTH0163416\",\n \"subject\": \"标题\",\n \"from_name\": \"system\",\n \"from_address\": \"system@qq.com\",\n \"to_address_all\": \"test<test@qq.com>;test2<test2@qq.com>;\",\n \"date\": \"2020-11-29 17:52:28\",\n \"cc\": \"test<test@qq.com>;test2<test2@qq.com>;\",\n \"bcc\": \"test<test@qq.com>;test2<test2@qq.com>;\",\n \"text_html\": \"<p><em>Failed to send email test</em></p>\\r\\n\\r\\n\",\n \"text_plain\": \"\",\n \"attachments\": [\n {\n \"name\": \"F42FD424@DF41B544.txt\",\n \"size\": 97078\n },\n {\n \"name\": \"91C213FF@15C47C48.txt\",\n \"size\": 287677\n }\n ]\n type: \"\"\n },\n \"total\": 0\n}"
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | webmail_uuid | 邮件唯一标识 | string | — | 必填 | 邮件唯一标识 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | 必填 | 状态码,0 成功 |
| 2 | message | 响应信息 | string | success | 必填 | 响应信息 |
| 3 | error_details | 错误信息 | array<any> | — | 必填 | 错误信息 |
| 4 | request_id | 请求链路id | string | 73A0718B-AA68-E120-D28B-F7175018175D | 必填 | 请求链路id |
| 5 | response_time | 响应时间 | string | 2022-04-19 15:16:18 | 必填 | 响应时间 |
| 6 | data | 响应数据 | object | — | 必填 | 响应数据 |
| 6.1 | webmail_uuid | 邮件唯一标识 | string | 1615637469510164901 | 必填 | 邮件唯一标识 |
| 6.2 | subject | 邮件标题 | string | 标题 | 必填 | 邮件标题 |
| 6.3 | from_name | 发件人姓名 | string | system | 必填 | 发件人姓名 |
| 6.4 | from_address | 发件人地址 | string | system@qq.com | 必填 | 发件人地址 |
| 6.5 | to_address_all | 所有收件人地址 | string | test<test@qq.com>;test2<test2@qq.com>; | 必填 | 所有收件人地址 |
| 6.6 | date | 日期 | string | 2020-11-29 17:52:28 | 必填 | 日期 |
| 6.7 | cc | 抄送 | string | test<test@qq.com>;test2<test2@qq.com>; | 必填 | 抄送 |
| 6.8 | bcc | 密送地址 | string | test<test@qq.com>;test2<test2@qq.com>; | 必填 | 密送地址 |
| 6.9 | text_html | 邮件内容 | string | <p><em>Failed to send email test</em></p> | 必填 | 邮件内容 |
| 6.10 | text_plain | 纯文本的邮件内容 | string | — | 必填 | 纯文本的邮件内容 |
| 6.11 | attachments | 附件 | array<object> | — | 必填 | 附件 |
| 6.11.1 | name | 附件名称 | string | F42FD424@DF41B544.txt | 必填 | 附件名称 |
| 6.11.2 | size | 附件大小(b) | number | 97078 | 必填 | 附件大小(b) |
| 6.12 | type | 邮件类型 | string | — | 必填 | 邮件类型 0、QA 1、买家邮件 2、亚马逊邮件 3、站外邮件 |
| 6.13 | mail_sn_code | 邮件编号 | string | OTH0163416 | 必填 | 邮件编号 |
| 7 | total | 总数 | integer | 0 | 必填 | 总数 |
领星ERP的接口:查询邮件详情(/erp/sc/data/mail/detail),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。