轻易云
注册体验

领星ERP查询邮件列表接口

所属平台
领星ERP
类型
WebAPI
作用
QUERY
接口版本
1.0
适配器
\Adapter\LingXing\LXQueryAdapter
授权方式
OTHER
描述
客服 · POST · 请求参数 6 个(必填 4) · 响应参数 16 个 · 限流令牌桶容量 1
更新日期
2026-11-21

查询邮件列表

POST/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
  }
}

接口请求参数

序号字段名称类型默认值必填描述
1flag类型string—必填类型: sent 发件 receive 收件
2email店铺绑定邮箱string—必填店铺绑定邮箱
3start_date开始日期string—必填开始日期,格式:yyyy-mm-dd
4end_date开始日期string—必填开始日期,格式:yyyy-mm-dd
5offset分页偏移量integer—可选分页偏移量,默认0
6length分页长度integer—可选分页长度,默认20

接口响应参数

序号字段名称类型默认值必填描述
1code状态码integer0必填状态码,0 成功
2message响应信息stringsuccess必填响应信息
3error_details错误信息array<any>—必填错误信息
4request_id请求链路idstring73A0718B-AA68-E120-D28B-F7175018175D必填请求链路id
5response_time响应时间string2022-04-19 15:16:18必填响应时间
6data响应数据array<object>—必填响应数据
6.1webmail_uuid邮件唯一标识string118155928087207936必填邮件唯一标识
6.2date日期string2022-02-25 14:33:00必填日期
6.3subject邮件标题string标题1必填邮件标题
6.4from_name发件人姓名stringsystem必填发件人姓名
6.5from_address发件人地址stringsystem@tapd.cn必填发件人地址
6.6to_name接收人stringauto-communication必填接收人
6.7to_address接收人地址stringauto-communication@qq.com必填接收人地址
6.8has_attachment是否存在附件integer1必填是否存在附件: 1 存在 0 不存在
6.9mail_sn_code邮件编号stringOTH0163416必填邮件编号
7total总数integer187必填总数

领星ERP的接口:查询邮件列表(/erp/sc/data/mail/lists),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。

需要对接这个接口?

轻易云已预置该接口的适配能力,联系我们即可开始配置数据集成。