alibaba.autocar.case.get (通过id获取case详情)

通过caseid获取case详情

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
id Number 必须 1234567 要查询详情的caseId

响应参数

名称 类型 示例值 描述
result Result 接口返回model
  • response_data
  • ResponseData
  • 返回数据主体
  • └ extend_info0
  • String
  • {"shotOssUrl":"auto-car-data/adctest/case/viewer_shot/ccb25549-5a4b-4025-98c6-ac4e319ceb3d.jpg"}
  • 扩展信息0, 主要用来存放截图的oss地址
  • └ gmt_modified
  • Date
  • 1620454965000
  • case最近一次修改时间
  • └ label_info
  • String
  • {"duration":60,"taskType":"小GCase","label":{"规划":{"天气":"晴天","extend":{"行驶路网":{"西溪蝶园":"xxdy-xg"},"问题类型":{"纵向问题":"停车不走"}},"行驶路网":"西溪蝶园","问题类型":"纵向问题","场景分类":"其他","场景执行状态":"失败"}},"projectName":"小G","version":{"integration":"v4.3.27.2","conf":"3.2.2_20210421-101918-00644ba","map":"loc.20210407101050.1733"}}
  • 打标信息
  • └ operation_description
  • String
  • 路测
  • 操作描述
  • └ extend_info1
  • String
  • 预留
  • 预留扩展字段1
  • └ usr_defined_label
  • String
  • {"duration":60,"taskType":"小GCase","label":{"规划":{"天气":"晴天","extend":{"行驶路网":{"西溪蝶园":"xxdy-xg"},"问题类型":{"纵向问题":"停车不走"}},"行驶路网":"西溪蝶园","问题类型":"纵向问题","场景分类":"其他","场景执行状态":"失败"}},"projectName":"小G","version":{"integration":"v4.3.27.2","conf":"3.2.2_20210421-101918-00644ba","map":"loc.20210407101050.1733"}}
  • 用户自定义打标信息
  • └ modifier
  • String
  • 周思奇
  • 修改者
  • └ label_type
  • String
  • XIAOG_PARALLEL
  • 打标类型
  • └ auto_test_config
  • String
  • {"ParallelPicPath": ["nasa/case/20210507/G3-005/parallel/pic/G3-005_2021-05-07-20-44-02.jpg"], "ParallelTxtPath": ["nasa/case/20210507/G3-044/parallel/txt/20210507_203648_10_video.log.zip", "nasa/case/20210507/G3-044/parallel/txt/20210507_203844_59_nasa.log.zip"], "ParallelVideoPath": ["nasa/case/20210507/G3-005/parallel/video/20210507_204402.avi.zip"]}
  • 自动测试配置
  • └ description
  • String
  • 规划,纵向问题,停车不走,轮胎打滑(西溪蝶园) || 规划,平行驾驶接管
  • case描述
  • └ test_type
  • String
  • 道路测试
  • 测试类型
  • └ rd_label_info
  • String
  • {"duration":60,"taskType":"小GCase","label":{"规划":{"天气":"晴天","extend":{"行驶路网":{"西溪蝶园":"xxdy-xg"},"问题类型":{"纵向问题":"停车不走"}},"行驶路网":"西溪蝶园","问题类型":"纵向问题","场景分类":"其他","场景执行状态":"失败"}},"projectName":"小G","version":{"integration":"v4.3.27.2","conf":"3.2.2_20210421-101918-00644ba","map":"loc.20210407101050.1733"}}
  • rd打标信息
  • └ device_id
  • String
  • G3-005
  • 车辆ID
  • └ loc_groundtruth_info
  • String
  • 坑洼
  • 地面状态信息
  • └ sim_recurrence
  • String
  • 仿真复现
  • └ case_type
  • String
  • roadcase
  • case类型
  • └ case_version
  • String
  • v4.3.27.2
  • case版本
  • └ valid
  • String
  • TRUE
  • 是否有效
  • └ case_label_type
  • String
  • MPI
  • case打标类型
  • └ xg_event_status
  • byte
  • 0
  • 小G事件状态
  • └ case_raw_time
  • String
  • 2021-05-07 20:44:02.0
  • case原始发生时间
  • └ test_case_suit
  • String
  • 123
  • 所属测试集id
  • └ case_name
  • String
  • caseName
  • case名称
  • └ start_time
  • Date
  • 1620391413000
  • case开始时间
  • └ id
  • Number
  • 62913402
  • caseId
  • └ time_config
  • String
  • {"simTime": 1620391438476583, "exitTime": 1620391463476583, "entryTime": 1620391428476583}
  • case仿真时间配置
  • └ device_type
  • String
  • G3
  • 车型
  • └ creator
  • String
  • 徐XX
  • case创建者
  • └ issue_id
  • Number
  • 94360
  • case关联的issueId
  • └ module
  • String
  • 规划
  • 模块
  • └ priority
  • Number
  • 0
  • case优先级
  • └ gmt_create
  • Date
  • 1620391443000
  • case创建时间
  • └ url
  • String
  • case链接
  • └ related_id
  • String
  • {"badcase": [63005904]}
  • 关联的caseId
  • └ time_stamp
  • Number
  • 1620391443476583
  • case发生时间戳
  • └ disengage_type
  • String
  • EVENT_GUARD_PARALLEL_INTERPOSE
  • disengage类型
  • └ issue_url
  • String
  • https://aone.alibaba-inc.com/project/1009136/issue/34390133
  • case的Aone链接
  • └ global_event_id
  • String
  • 2021-05-07 20:44
  • case全局唯一id
  • └ map_version
  • String
  • loc.20210407101050.1733
  • case地图版本
  • └ mpci
  • String
  • {}
  • mpci信息
  • └ map_id
  • String
  • 428
  • case地图id
  • └ end_time
  • Date
  • 1620391473000
  • case结束时间
  • └ road_networks
  • String
  • xxdy-xg
  • case路网
  • └ case_info
  • String
  • case信息 XXXX
  • case信息
  • └ remarks
  • String
  • 近期经常出现此类型
  • 评论
  • └ status
  • String
  • Verified Passed
  • case验证状态
  • └ msg_info
  • String
  • 接口调用成功/失败
  • 本次接口调用返回描述
  • └ msg_code
  • String
  • SUCCESS
  • 接口返回码

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAutocarCaseGetRequest req = new AlibabaAutocarCaseGetRequest();
req.setId(1234567L);
AlibabaAutocarCaseGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_autocar_case_get_response>
    <result>
        <response_data>
            <extend_info0>{&quot;shotOssUrl&quot;:&quot;auto-car-data/adctest/case/viewer_shot/ccb25549-5a4b-4025-98c6-ac4e319ceb3d.jpg&quot;}</extend_info0>
            <gmt_modified>1620454965000</gmt_modified>
            <label_info>{&quot;duration&quot;:60,&quot;taskType&quot;:&quot;小GCase&quot;,&quot;label&quot;:{&quot;规划&quot;:{&quot;天气&quot;:&quot;晴天&quot;,&quot;extend&quot;:{&quot;行驶路网&quot;:{&quot;西溪蝶园&quot;:&quot;xxdy-xg&quot;},&quot;问题类型&quot;:{&quot;纵向问题&quot;:&quot;停车不走&quot;}},&quot;行驶路网&quot;:&quot;西溪蝶园&quot;,&quot;问题类型&quot;:&quot;纵向问题&quot;,&quot;场景分类&quot;:&quot;其他&quot;,&quot;场景执行状态&quot;:&quot;失败&quot;}},&quot;projectName&quot;:&quot;小G&quot;,&quot;version&quot;:{&quot;integration&quot;:&quot;v4.3.27.2&quot;,&quot;conf&quot;:&quot;3.2.2_20210421-101918-00644ba&quot;,&quot;map&quot;:&quot;loc.20210407101050.1733&quot;}}</label_info>
            <operation_description>路测</operation_description>
            <extend_info1>预留</extend_info1>
            <usr_defined_label>{&quot;duration&quot;:60,&quot;taskType&quot;:&quot;小GCase&quot;,&quot;label&quot;:{&quot;规划&quot;:{&quot;天气&quot;:&quot;晴天&quot;,&quot;extend&quot;:{&quot;行驶路网&quot;:{&quot;西溪蝶园&quot;:&quot;xxdy-xg&quot;},&quot;问题类型&quot;:{&quot;纵向问题&quot;:&quot;停车不走&quot;}},&quot;行驶路网&quot;:&quot;西溪蝶园&quot;,&quot;问题类型&quot;:&quot;纵向问题&quot;,&quot;场景分类&quot;:&quot;其他&quot;,&quot;场景执行状态&quot;:&quot;失败&quot;}},&quot;projectName&quot;:&quot;小G&quot;,&quot;version&quot;:{&quot;integration&quot;:&quot;v4.3.27.2&quot;,&quot;conf&quot;:&quot;3.2.2_20210421-101918-00644ba&quot;,&quot;map&quot;:&quot;loc.20210407101050.1733&quot;}}</usr_defined_label>
            <modifier>周思奇</modifier>
            <label_type>XIAOG_PARALLEL</label_type>
            <auto_test_config>{&quot;ParallelPicPath&quot;: [&quot;nasa/case/20210507/G3-005/parallel/pic/G3-005_2021-05-07-20-44-02.jpg&quot;], &quot;ParallelTxtPath&quot;: [&quot;nasa/case/20210507/G3-044/parallel/txt/20210507_203648_10_video.log.zip&quot;, &quot;nasa/case/20210507/G3-044/parallel/txt/20210507_203844_59_nasa.log.zip&quot;], &quot;ParallelVideoPath&quot;: [&quot;nasa/case/20210507/G3-005/parallel/video/20210507_204402.avi.zip&quot;]}</auto_test_config>
            <description>规划,纵向问题,停车不走,轮胎打滑(西溪蝶园) || 规划,平行驾驶接管</description>
            <test_type>道路测试</test_type>
            <rd_label_info>{&quot;duration&quot;:60,&quot;taskType&quot;:&quot;小GCase&quot;,&quot;label&quot;:{&quot;规划&quot;:{&quot;天气&quot;:&quot;晴天&quot;,&quot;extend&quot;:{&quot;行驶路网&quot;:{&quot;西溪蝶园&quot;:&quot;xxdy-xg&quot;},&quot;问题类型&quot;:{&quot;纵向问题&quot;:&quot;停车不走&quot;}},&quot;行驶路网&quot;:&quot;西溪蝶园&quot;,&quot;问题类型&quot;:&quot;纵向问题&quot;,&quot;场景分类&quot;:&quot;其他&quot;,&quot;场景执行状态&quot;:&quot;失败&quot;}},&quot;projectName&quot;:&quot;小G&quot;,&quot;version&quot;:{&quot;integration&quot;:&quot;v4.3.27.2&quot;,&quot;conf&quot;:&quot;3.2.2_20210421-101918-00644ba&quot;,&quot;map&quot;:&quot;loc.20210407101050.1733&quot;}}</rd_label_info>
            <device_id>G3-005</device_id>
            <loc_groundtruth_info>坑洼</loc_groundtruth_info>
            <sim_recurrence>空</sim_recurrence>
            <case_type>roadcase</case_type>
            <case_version>v4.3.27.2</case_version>
            <valid>TRUE</valid>
            <case_label_type>MPI</case_label_type>
            <xg_event_status>0</xg_event_status>
            <case_raw_time>2021-05-07 20:44:02.0</case_raw_time>
            <test_case_suit>123</test_case_suit>
            <case_name>caseName</case_name>
            <start_time>1620391413000</start_time>
            <id>62913402</id>
            <time_config>{&quot;simTime&quot;: 1620391438476583, &quot;exitTime&quot;: 1620391463476583, &quot;entryTime&quot;: 1620391428476583}</time_config>
            <device_type>G3</device_type>
            <creator>徐XX</creator>
            <issue_id>94360</issue_id>
            <module>规划</module>
            <priority>0</priority>
            <gmt_create>1620391443000</gmt_create>
            <url>空</url>
            <related_id>{&quot;badcase&quot;: [63005904]}</related_id>
            <time_stamp>1620391443476583</time_stamp>
            <disengage_type>EVENT_GUARD_PARALLEL_INTERPOSE</disengage_type>
            <issue_url>https://aone.alibaba-inc.com/project/1009136/issue/34390133</issue_url>
            <global_event_id>2021-05-07 20:44</global_event_id>
            <map_version>loc.20210407101050.1733</map_version>
            <mpci>{}</mpci>
            <map_id>428</map_id>
            <end_time>1620391473000</end_time>
            <road_networks>xxdy-xg</road_networks>
            <case_info>case信息 XXXX</case_info>
            <remarks>近期经常出现此类型</remarks>
            <status>Verified Passed</status>
        </response_data>
        <msg_info>接口调用成功/失败</msg_info>
        <msg_code>SUCCESS</msg_code>
    </result>
</alibaba_autocar_case_get_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

返回
顶部