/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
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | flag | 类型 | string | — | Required | 类型: sent 发件 receive 收件 |
| 2 | 店铺绑定邮箱 | string | — | Required | 店铺绑定邮箱 | |
| 3 | start_date | 开始日期 | string | — | Required | 开始日期,格式:yyyy-mm-dd |
| 4 | end_date | 开始日期 | string | — | Required | 开始日期,格式:yyyy-mm-dd |
| 5 | offset | 分页偏移量 | integer | — | Optional | 分页偏移量,默认0 |
| 6 | length | 分页长度 | integer | — | Optional | 分页长度,默认20 |
| 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 | 响应数据 | array<object> | — | Required | 响应数据 |
| 6.1 | webmail_uuid | 邮件唯一标识 | string | 118155928087207936 | Required | 邮件唯一标识 |
| 6.2 | date | 日期 | string | 2022-02-25 14:33:00 | Required | 日期 |
| 6.3 | subject | 邮件标题 | string | 标题1 | Required | 邮件标题 |
| 6.4 | from_name | 发件人姓名 | string | system | Required | 发件人姓名 |
| 6.5 | from_address | 发件人地址 | string | system@tapd.cn | Required | 发件人地址 |
| 6.6 | to_name | 接收人 | string | auto-communication | Required | 接收人 |
| 6.7 | to_address | 接收人地址 | string | auto-communication@qq.com | Required | 接收人地址 |
| 6.8 | has_attachment | 是否存在附件 | integer | 1 | Required | 是否存在附件: 1 存在 0 不存在 |
| 6.9 | mail_sn_code | 邮件编号 | string | OTH0163416 | Required | 邮件编号 |
| 7 | total | 总数 | integer | 187 | Required | 总数 |
The 查询邮件列表 API (/erp/sc/data/mail/lists) 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.