文档中心 > API类目 > 交易猫API

alibaba.jym.industry.outsidegamepropertysync.querypropertyinfo (外部查询游戏属性库属性信息)

外部查询游戏属性库属性信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
out_side_query_game_property_info_request_dto OutSideQueryGamePropertyInfoRequestDTO 必须 属性信息查询DTO
  • └ game_id
  • String
  • 必须
  • 1000019
  • 交易猫游戏id

响应参数

名称 类型 示例值 描述
result OutSideQueryGamePropertyInfoResponseDTO true 外部查询需要采集属性结构信息响应DTO
  • └ game_properties_compressed
  • String
  • H4sIAAAAAAAAAO
  • 加密压缩的属性信息
sub_code_type String 20001 子集错误码,提供与业务细节使用
is_success Boolean true 接口调用结果: true/false
sub_extra_err_msg String 参数错误 子集错误描述,提供与业务细节使用
state_code String ILEEGAL_PARAM 错误码枚举
extra_err_msg String 内部错误 错误详细描述

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaJymIndustryOutsidegamepropertysyncQuerypropertyinfoRequest req = new AlibabaJymIndustryOutsidegamepropertysyncQuerypropertyinfoRequest();
AlibabaJymIndustryOutsidegamepropertysyncQuerypropertyinfoRequest.OutSideQueryGamePropertyInfoRequestDTO obj1 = new AlibabaJymIndustryOutsidegamepropertysyncQuerypropertyinfoRequest.OutSideQueryGamePropertyInfoRequestDTO();
obj1.setGameId("1000019");
req.setOutSideQueryGamePropertyInfoRequestDto(obj1);
AlibabaJymIndustryOutsidegamepropertysyncQuerypropertyinfoResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_jym_industry_outsidegamepropertysync_querypropertyinfo_response>
    <result>
        <game_properties_compressed>H4sIAAAAAAAAAO</game_properties_compressed>
    </result>
    <sub_code_type>20001</sub_code_type>
    <is_success>true</is_success>
    <sub_extra_err_msg>参数错误</sub_extra_err_msg>
    <state_code>ILEEGAL_PARAM</state_code>
    <extra_err_msg>内部错误</extra_err_msg>
</alibaba_jym_industry_outsidegamepropertysync_querypropertyinfo_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

返回
顶部