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

alibaba.jym.industry.outsidegamepropertysync.syncpropertyinfo (外部上报游戏属性信息)

外部上报游戏属性信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
out_side_sync_game_property_request_dto OutSideSyncGamePropertyRequestDTO 必须 属性信息DTO
  • └ game_id
  • String
  • 必须
  • 1000019
  • 交易猫游戏id
  • └ game_properties_compressed
  • String
  • 必须
  • XXXX
  • 压缩加密后的属性信息

响应参数

名称 类型 示例值 描述
result OutSideSyncGamePropertyResponseDTO 上报结果DTO
  • └ result
  • Boolean
  • true
  • true - 成功,false - 失败
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);
AlibabaJymIndustryOutsidegamepropertysyncSyncpropertyinfoRequest req = new AlibabaJymIndustryOutsidegamepropertysyncSyncpropertyinfoRequest();
AlibabaJymIndustryOutsidegamepropertysyncSyncpropertyinfoRequest.OutSideSyncGamePropertyRequestDTO obj1 = new AlibabaJymIndustryOutsidegamepropertysyncSyncpropertyinfoRequest.OutSideSyncGamePropertyRequestDTO();
obj1.setGameId("1000019");
obj1.setGamePropertiesCompressed("XXXX");
req.setOutSideSyncGamePropertyRequestDto(obj1);
AlibabaJymIndustryOutsidegamepropertysyncSyncpropertyinfoResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_jym_industry_outsidegamepropertysync_syncpropertyinfo_response>
    <result>
        <result>true</result>
    </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_syncpropertyinfo_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

返回
顶部