文档中心 > API类目 > 全球速卖通-物流管理

aliexpress.logistics.getannouncement (获取物流公告信息)

获取物流公告信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
end_time Number 可选 1627787471000 开始时间
start_time Number 可选 1622517071000 结束时间
seller_id String 可选 200042360 商家id

响应参数

名称 类型 示例值 描述
resultdata Resultdata 明细条目执行结果对象
  • result_list
  • Result []
  • 结果列表
  • └ cover
  • String
  • https://img.alicdn.com/imgextra/i2/O1CN01tftKl01izGFy0uY1C_!!6000000004483-2-tps-650-434.png
  • 封面
  • └ message_type
  • String
  • announcement
  • 消息类型
  • └ description
  • String
  • 助力中非跨境电商物流提速,菜鸟首条中国-非洲跨境包裹专线正式启用 6月24日,菜鸟正式开通中国-非洲跨境包裹专线,飞机从中国香港起飞到达尼日利亚,每周班次6班以上。让中国到非洲的跨境包裹的物流时效,由原来的60天缩短至20天左右。 2021年1月1日,非洲大陆自由贸易区正式启动,有望形成...
  • 描述
  • └ title
  • String
  • 助力中非跨境电商物流提速,菜鸟首条中国-非洲跨境包裹专线正式启用
  • 标题
  • └ url
  • String
  • https://cgmp.aliexpress.com/ae-global-seller-center/messagedetail?slug=fenm86&nameSpace=ld4y6n/gztha0
  • 跳转链接
  • └ status
  • String
  • 1
  • 状态
  • └ publish_time
  • Date
  • 1624589576000
  • 发布时间
  • └ error_desc
  • String
  • demo
  • 1
  • └ success
  • Boolean
  • true
  • 明细条目执行结果的成功状态

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AliexpressLogisticsGetannouncementRequest req = new AliexpressLogisticsGetannouncementRequest();
req.setEndTime(1627787471000L);
req.setStartTime(1622517071000L);
req.setSellerId("200042360");
AliexpressLogisticsGetannouncementResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<aliexpress_logistics_getannouncement_response>
    <resultdata>
        <result_list>
            <result>
                <cover>https://img.alicdn.com/imgextra/i2/O1CN01tftKl01izGFy0uY1C_!!6000000004483-2-tps-650-434.png</cover>
                <message_type>announcement</message_type>
                <description>助力中非跨境电商物流提速,菜鸟首条中国-非洲跨境包裹专线正式启用   6月24日,菜鸟正式开通中国-非洲跨境包裹专线,飞机从中国香港起飞到达尼日利亚,每周班次6班以上。让中国到非洲的跨境包裹的物流时效,由原来的60天缩短至20天左右。  2021年1月1日,非洲大陆自由贸易区正式启动,有望形成...</description>
                <title>助力中非跨境电商物流提速,菜鸟首条中国-非洲跨境包裹专线正式启用</title>
                <url>https://cgmp.aliexpress.com/ae-global-seller-center/messagedetail?slug=fenm86&amp;nameSpace=ld4y6n/gztha0</url>
                <status>1</status>
                <publish_time>1624589576000</publish_time>
            </result>
        </result_list>
        <error_desc>demo</error_desc>
        <success>true</success>
    </resultdata>
</aliexpress_logistics_getannouncement_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部