alibaba.autocar.case.labelrecord.create (新增标注任务)

新增标注任务

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
ai_car_label_record_do AiCarLabelRecordDO 可选 接口参数
  • └ creator
  • String
  • 可选
  • 张三
  • 创建人
  • └ case_id
  • Number
  • 可选
  • 108256384
  • caseId
  • └ template_id
  • Number
  • 可选
  • 28
  • 模板id
  • └ oss_path
  • String
  • 可选
  • oss://path
  • OSS路径
  • └ version_id
  • String
  • 可选
  • 1
  • 版本id
  • └ content
  • String
  • 可选
  • content
  • 标注内容
  • └ content_path
  • String
  • 可选
  • path
  • 标注路径

响应参数

名称 类型 示例值 描述
result Response 接口返回模型
  • └ response_data
  • Number
  • 1
  • 插入成功后的数据id
  • └ msg_info
  • String
  • 接口调用成功
  • 本次接口调用返回描述
  • └ msg_code
  • String
  • success
  • 接口返回码

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAutocarCaseLabelrecordCreateRequest req = new AlibabaAutocarCaseLabelrecordCreateRequest();
AlibabaAutocarCaseLabelrecordCreateRequest.AiCarLabelRecordDO obj1 = new AlibabaAutocarCaseLabelrecordCreateRequest.AiCarLabelRecordDO();
obj1.setCreator("张三");
obj1.setCaseId(108256384L);
obj1.setTemplateId(28L);
obj1.setOssPath("oss://path");
obj1.setVersionId("1");
obj1.setContent("content");
obj1.setContentPath("path");
req.setAiCarLabelRecordDo(obj1);
AlibabaAutocarCaseLabelrecordCreateResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_autocar_case_labelrecord_create_response>
    <result>
        <response_data>1</response_data>
        <msg_info>接口调用成功</msg_info>
        <msg_code>success</msg_code>
    </result>
</alibaba_autocar_case_labelrecord_create_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

返回
顶部