更新时间:2021-12-17 GMT+08:00
分享

创建任务

功能介绍

创建任务。

URI格式

  • URI格式
    POST  /softcomai/datalake/dataplan/v1.0/analysis/task
  • 参数说明

    无。

请求

  • 请求样例支持批量创建)
    POST  https://ipaddr:port/softcomai/datalake/dataplan/v1.0/analysis/task
    [
    {
    "taskName": "pmmrf-0106",
    "description": "描述",
    "dataType": "localUpload",
    "taskType": "DALAB",
    "protocol": "enodeb-pmmrf",
    "protocolType": "",
    "templatePath": "s3a://xxxa/xx.xml",
    "rule": []
    },
    {
    "taskName": "pmmrf-010544",
    "description": "描述",
    "dataType": "localUpload",
    "taskType": "DALAB",
    "protocol": "enodeb-pmmrf",
    "protocolType": "",
    "templatePath": "s3a://xxxa/xx.xml",
    "rule": []
    }
    ]
  • 参数说明

    参数名

    类型

    备注

    taskName

    String

    任务名称。

    description

    String

    任务描述。

    taskType

    String

    任务类型。

    dataType

    String

    数据类型。

    protocol

    String

    协议。

    protocolType

    String

    协议类型。

    templatePath

    String

    模板路径。

    rule

    JSON数组

    抽取规则。

响应

  • 响应样例
    {
    "success": true,
    "errorMsg": null,
    "errorCode": null,
    "returnData": [
    "xxxxx"
    ]
    }
  • 要素说明

    参数名

    类型

    备注

    success

    String

    请求状态。

    errorMessage

    String

    失败描述。

    errorCode

    String

    错误码。

    returnData

    JSON数组

    任务ID。

状态码

具体请参考状态码

分享:

    相关文档

    相关产品