文档中心 > API类目 > 云游戏API

yunos.cggame.workflow.mario.querygametask (查询云游戏的测试结果)

查询云游戏的测试结果

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
bpms_task_id String 可选 23 任务id

响应参数

名称 类型 示例值 描述
result Response response 返回结果
  • └ code
  • Number
  • 123
  • 返回码
  • data
  • MarioRecordDetail
  • data
  • 具体的数据
  • └ log_url
  • String
  • http://oss.ali.com
  • 日志的url
  • └ report_id
  • Number
  • 23
  • 上报的id
  • └ failed
  • Number
  • 0
  • 执行失败
  • └ passed
  • Number
  • 1
  • 通过
  • └ other
  • String
  • 其他信息
  • └ biz_name
  • String
  • 小羊驼游戏测试
  • 业务名称
  • └ execute_user
  • String
  • 张三
  • 执行人
  • └ type
  • String
  • 1
  • 类型
  • └ platform
  • String
  • 小羊驼
  • 平台
  • └ state
  • Number
  • 1
  • 状态
  • └ report_url
  • String
  • http://alib.com
  • 上报的url
  • └ name
  • String
  • 王者荣耀
  • 名称
  • └ total_time
  • String
  • 1234
  • 花费的时间
  • └ task_id
  • Number
  • 2
  • 任务id
  • └ id
  • Number
  • 1
  • 主键
  • └ success
  • Boolean
  • true
  • 系统返回状态
  • └ message
  • String
  • 报错了
  • 额外信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
YunosCggameWorkflowMarioQuerygametaskRequest req = new YunosCggameWorkflowMarioQuerygametaskRequest();
req.setBpmsTaskId("23");
YunosCggameWorkflowMarioQuerygametaskResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<yunos_cggame_workflow_mario_querygametask_response>
    <result>
        <code>123</code>
        <data>
            <log_url>http://oss.ali.com</log_url>
            <report_id>23</report_id>
            <failed>0</failed>
            <passed>1</passed>
            <other>无</other>
            <biz_name>小羊驼游戏测试</biz_name>
            <execute_user>张三</execute_user>
            <type>1</type>
            <platform>小羊驼</platform>
            <state>1</state>
            <report_url>http://alib.com</report_url>
            <name>王者荣耀</name>
            <total_time>1234</total_time>
            <task_id>2</task_id>
            <id>1</id>
        </data>
        <success>true</success>
        <message>报错了</message>
    </result>
</yunos_cggame_workflow_mario_querygametask_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

返回
顶部