修改无人车后结算任务运行记录
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
update_run_result | UpdateAiCarAleRunResultDto | 必须 | 请求参数DTO | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
response_data | Boolean | true | 是否修改成功 |
msg_info | String | 修改成功 | msgInfo |
msg_code | String | SUCCESS | msgCode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaAutocarAleRunresultUpdateRequest req = new AlibabaAutocarAleRunresultUpdateRequest(); AlibabaAutocarAleRunresultUpdateRequest.UpdateAiCarAleRunResultDto obj1 = new AlibabaAutocarAleRunresultUpdateRequest.UpdateAiCarAleRunResultDto(); obj1.setId(123456L); obj1.setRunId(123L); obj1.setVersion( "V1" ); obj1.setCarId( "A1-001" ); obj1.setStartTime(StringUtils.parseDateTime( "2020-01-01 03:03:03" )); obj1.setEndTime(StringUtils.parseDateTime( "2020-01-01 03:03:03" )); obj1.setCaseId(12356L); obj1.setOssPath( "/dir/file.dat" ); obj1.setExtraInfo( "{\"key1\":\"value1\"}" ); obj1.setSimRunStatus( "success 或 failure" ); req.setUpdateRunResult(obj1); AlibabaAutocarAleRunresultUpdateResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 | < alibaba_autocar_ale_runresult_update_response > < response_data >true</ response_data > < msg_info >修改成功</ msg_info > < msg_code >SUCCESS</ msg_code > </ alibaba_autocar_ale_runresult_update_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|