文档中心 > API类目 > 淘宝小程序API

taobao.miniapp.ext.delivery.app.channel.configs.query (ISV查询应用的渠道信息)

ISV查询应用的渠道信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
req AppChannelQueryRequest 可选 入参
  • └ miniapp_id
  • Number
  • 可选
  • 30000000023435
  • 小程序id
  • └ channel
  • String
  • 可选
  • 1
  • 渠道id

响应参数

名称 类型 示例值 描述
result MiniappResult body
  • └ successful
  • Boolean
  • true
  • true or false
  • └ error_type
  • String
  • 1
  • 错误码
  • model
  • AppChannelConfigDTO []
  • model
  • └ config_url
  • String
  • https://www.taobao.com
  • 配置url
  • └ miniapp_id
  • Number
  • 3000000087131443
  • 小程序id
  • └ ext_properties
  • String
  • {}
  • 扩展参数
  • └ channel
  • String
  • 1
  • 渠道id
  • └ description
  • String
  • 测试测试描述
  • 卡片描述
  • └ title
  • String
  • 测试
  • 卡片标题
  • └ isv_simple_name
  • String
  • 测试
  • 服务商简称
  • └ article_code
  • String
  • FW_GOODS-1001241101
  • 对应服务市场code
  • └ status
  • Number
  • 1
  • 状态是否有效
  • └ error_msg
  • String
  • 错误信息
  • 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
MiniappExtDeliveryAppChannelConfigsQueryRequest req = new MiniappExtDeliveryAppChannelConfigsQueryRequest();
MiniappExtDeliveryAppChannelConfigsQueryRequest.AppChannelQueryRequest obj1 = new MiniappExtDeliveryAppChannelConfigsQueryRequest.AppChannelQueryRequest();
obj1.setMiniappId(30000000023435L);
obj1.setChannel("1");
req.setReq(obj1);
MiniappExtDeliveryAppChannelConfigsQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<miniapp_ext_delivery_app_channel_configs_query_response>
    <result>
        <successful>true</successful>
        <error_type>1</error_type>
        <model>
            <app_channel_config_d_t_o>
                <config_url>https://www.taobao.com</config_url>
                <miniapp_id>3000000087131443</miniapp_id>
                <ext_properties>{}</ext_properties>
                <channel>1</channel>
                <description>测试测试描述</description>
                <title>测试</title>
                <isv_simple_name>测试</isv_simple_name>
                <article_code>FW_GOODS-1001241101</article_code>
                <status>1</status>
            </app_channel_config_d_t_o>
        </model>
        <error_msg>错误信息</error_msg>
    </result>
</miniapp_ext_delivery_app_channel_configs_query_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

返回
顶部