/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}"
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | webmail_uuid | 邮件唯一标识 | string | — | Required | 邮件唯一标识 |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | Required | 状态码,0 成功 |
| 2 | message | 响应信息 | string | success | Required | 响应信息 |
| 3 | error_details | 错误信息 | array<any> | — | Required | 错误信息 |
| 4 | request_id | 请求链路id | string | 73A0718B-AA68-E120-D28B-F7175018175D | Required | 请求链路id |
| 5 | response_time | 响应时间 | string | 2022-04-19 15:16:18 | Required | 响应时间 |
| 6 | data | 响应数据 | object | — | Required | 响应数据 |
| 6.1 | webmail_uuid | 邮件唯一标识 | string | 1615637469510164901 | Required | 邮件唯一标识 |
| 6.2 | subject | 邮件标题 | string | 标题 | Required | 邮件标题 |
| 6.3 | from_name | 发件人姓名 | string | system | Required | 发件人姓名 |
| 6.4 | from_address | 发件人地址 | string | system@qq.com | Required | 发件人地址 |
| 6.5 | to_address_all | 所有收件人地址 | string | test<test@qq.com>;test2<test2@qq.com>; | Required | 所有收件人地址 |
| 6.6 | date | 日期 | string | 2020-11-29 17:52:28 | Required | 日期 |
| 6.7 | cc | 抄送 | string | test<test@qq.com>;test2<test2@qq.com>; | Required | 抄送 |
| 6.8 | bcc | 密送地址 | string | test<test@qq.com>;test2<test2@qq.com>; | Required | 密送地址 |
| 6.9 | text_html | 邮件内容 | string | <p><em>Failed to send email test</em></p> | Required | 邮件内容 |
| 6.10 | text_plain | 纯文本的邮件内容 | string | — | Required | 纯文本的邮件内容 |
| 6.11 | attachments | 附件 | array<object> | — | Required | 附件 |
| 6.11.1 | name | 附件名称 | string | F42FD424@DF41B544.txt | Required | 附件名称 |
| 6.11.2 | size | 附件大小(b) | number | 97078 | Required | 附件大小(b) |
| 6.12 | type | 邮件类型 | string | — | Required | 邮件类型 0、QA 1、买家邮件 2、亚马逊邮件 3、站外邮件 |
| 6.13 | mail_sn_code | 邮件编号 | string | OTH0163416 | Required | 邮件编号 |
| 7 | total | 总数 | integer | 0 | Required | 总数 |
The 查询邮件详情 API (/erp/sc/data/mail/detail) of 领星ERP is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 领星ERP version updates.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.