文档中心 > API类目 > 饿了么API

alibaba.eleme.newoaid.decide (华为未激活设备判定)

华为未激活设备判定

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
req_id Number 可选 1665370785209 请求唯一ID
signature String 可选 abc 签名
app_id String 可选 abc 应用ID
req_time Number 可选 1665370785209 时间戳
campaign_id String 可选 abc123 任务ID
rta_id_list String 可选 [] rta_id列表
oaids String 可选 [] oaid列表

响应参数

名称 类型 示例值 描述
result_message String success 返回码描述
oaid_group_list RtaOaidGroupList [] oaid组列表
  • material
  • RtaMaterial
  • 素材
  • └ summary
  • String
  • 123
  • 消息摘要
  • buttons
  • RtaButtons []
  • 按钮列表
  • └ data
  • String
  • 123
  • 数据
  • └ action_type
  • Number
  • 1
  • 按钮动作类型
  • └ name
  • String
  • 1
  • 按钮名称
  • └ intent_type
  • Number
  • 1
  • 打开自定义页面方式
  • └ intent
  • String
  • 1
  • 方式
  • └ data
  • String
  • 123
  • 数据
  • └ action_type
  • Number
  • 1
  • 点击消息跳转动作
  • └ image_url
  • String
  • http://*
  • 消息右侧大图标URL
  • └ action
  • String
  • {}
  • 动作
  • └ title
  • String
  • 123
  • 消息标题
  • └ body
  • String
  • 123
  • 消息内容
  • └ intent
  • String
  • 123
  • 方式
  • └ bi_tag
  • String
  • 123
  • 批量消息标识
  • └ oaids
  • String []
  • oaid列表
result_code String 0 状态码
rsp_time Number 123 响应时间戳

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaElemeNewoaidDecideRequest req = new AlibabaElemeNewoaidDecideRequest();
req.setReqId(1665370785209L);
req.setSignature("abc");
req.setAppId("abc");
req.setReqTime(1665370785209L);
req.setCampaignId("abc123");
req.setRtaIdList("[]");
req.setOaids("[]");
AlibabaElemeNewoaidDecideResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_eleme_newoaid_decide_response>
    <result_message>success</result_message>
    <oaid_group_list>
        <rta_oaid_group_list>
            <material>
                <summary>123</summary>
                <buttons>
                    <rta_buttons>
                        <data>123</data>
                        <action_type>1</action_type>
                        <name>1</name>
                        <intent_type>1</intent_type>
                        <intent>1</intent>
                    </rta_buttons>
                </buttons>
                <data>123</data>
                <action_type>1</action_type>
                <image_url>http://*</image_url>
                <action>{}</action>
                <title>123</title>
                <body>123</body>
                <intent>123</intent>
                <bi_tag>123</bi_tag>
            </material>
        </rta_oaid_group_list>
    </oaid_group_list>
    <result_code>0</result_code>
    <rsp_time>123</rsp_time>
</alibaba_eleme_newoaid_decide_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

返回
顶部