/erp/sc/data/mail/lists{
"operation": {
"method": "POST",
"path": "/erp/sc/data/mail/lists"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"flag": "sent",
"email": "xxx@qq.com",
"offset": 0,
"length": 20
},
"responseExample": {
"code": 0,
"message": "success",
"error_details": [],
"request_id": "27BB5B29-31C0-FA02-6A88-7134DED5A8C6",
"response_time": "2022-03-31 15:49:35",
"data": [
{
"webmail_uuid": "118155928087207936",
"date": "2022-02-25 14:33:00",
"subject": "标题1",
"from_name": "system",
"from_address": "system@tapd.cn",
"to_name": "auto-communication",
"to_address": "auto-communication@qq.com",
"has_attachment": 1,
"mail_sn_code": "OTH0163416"
},
{
"webmail_uuid": "118155927439331328",
"date": "2022-02-24 22:30:22",
"subject": "标题2",
"from_name": "system",
"from_address": "system@tapd.cn",
"to_name": "auto-communication",
"to_address": "auto-communication@qq.com",
"has_attachment": 0,
"mail_sn_code": "OTH0163415"
}
],
"total": 187
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | flag | 类型 | string | — | 必填 | 类型: sent 发件 receive 收件 |
| 2 | 店铺绑定邮箱 | string | — | 必填 | 店铺绑定邮箱 | |
| 3 | start_date | 开始日期 | string | — | 必填 | 开始日期,格式:yyyy-mm-dd |
| 4 | end_date | 开始日期 | string | — | 必填 | 开始日期,格式:yyyy-mm-dd |
| 5 | offset | 分页偏移量 | integer | — | 可选 | 分页偏移量,默认0 |
| 6 | length | 分页长度 | integer | — | 可选 | 分页长度,默认20 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 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 | 响应数据 | array<object> | — | 必填 | 响应数据 |
| 6.1 | webmail_uuid | 邮件唯一标识 | string | 118155928087207936 | 必填 | 邮件唯一标识 |
| 6.2 | date | 日期 | string | 2022-02-25 14:33:00 | 必填 | 日期 |
| 6.3 | subject | 邮件标题 | string | 标题1 | 必填 | 邮件标题 |
| 6.4 | from_name | 发件人姓名 | string | system | 必填 | 发件人姓名 |
| 6.5 | from_address | 发件人地址 | string | system@tapd.cn | 必填 | 发件人地址 |
| 6.6 | to_name | 接收人 | string | auto-communication | 必填 | 接收人 |
| 6.7 | to_address | 接收人地址 | string | auto-communication@qq.com | 必填 | 接收人地址 |
| 6.8 | has_attachment | 是否存在附件 | integer | 1 | 必填 | 是否存在附件: 1 存在 0 不存在 |
| 6.9 | mail_sn_code | 邮件编号 | string | OTH0163416 | 必填 | 邮件编号 |
| 7 | total | 总数 | integer | 187 | 必填 | 总数 |
领星ERP的接口:查询邮件列表(/erp/sc/data/mail/lists),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。