注意:以下文档只适用于TOP接口,请谨慎使用!

文档中心 > API类目 > 闲鱼游戏

alibaba.idle.game.report.upload (服务商游戏验号报告铺货)

服务商上传游戏验号报告

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
game_report_upload_cmd GameReportUploadCmd 可选 接口入参
  • └ item_id
  • Number
  • 必须
  • 213123
  • 商品id
  • └ game_name
  • String
  • 必须
  • 王者荣耀
  • 游戏名称
  • └ report
  • String
  • 必须
  • {}
  • 报告内容
  • └ report_sketch_pic
  • String
  • 可选
  • https://test.png
  • 报告切图

响应参数

名称 类型 示例值 描述
result IdleCommonResult 返回结果
  • └ data
  • Number
  • 1232121
  • 报告id
  • └ success
  • Boolean
  • false
  • 是否成功
  • └ err_code
  • String
  • PARAM_ILLEGAL
  • 错误码
  • └ err_msg
  • String
  • 参数不合法
  • 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaIdleGameReportUploadRequest req = new AlibabaIdleGameReportUploadRequest();
AlibabaIdleGameReportUploadRequest.GameReportUploadCmd obj1 = new AlibabaIdleGameReportUploadRequest.GameReportUploadCmd();
obj1.setItemId(213123L);
obj1.setGameName("王者荣耀");
obj1.setReport("{}");
obj1.setReportSketchPic("https://test.png");
req.setGameReportUploadCmd(obj1);
AlibabaIdleGameReportUploadResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_idle_game_report_upload_response>
    <result>
        <data>1232121</data>
        <success>false</success>
        <err_code>PARAM_ILLEGAL</err_code>
        <err_msg>参数不合法</err_msg>
    </result>
</alibaba_idle_game_report_upload_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

返回
顶部