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

获取内置任务

功能介绍

获取内置任务。

URI

  • URI格式
    GET /softcomai/datalake/dataplan/v1.0/tasks/builtIntTask?builtInType={builtInType}&version={version}
  • 参数说明

    参数名

    是否必选

    参数类型

    备注

    builtInType

    String

    内置任务类型。

    version

    String

    内置任务版本。

请求

  • 请求样例
    GET https://ipaddr:port/softcomai/datalake/dataplan/v1.0/tasks/builtIntTask?builtInType=GOVERN_NAIE_SIMPLE&version=V1.0
  • 参数说明

    参数名

    是否必选

    参数类型

    备注

    builtIntType

    String

    内置任务类型。

    version

    String

    内置任务版本。

响应

  • 响应样例
    {
    	"success" : true,
    	"returnData" : [{
    			"id" : "402898ac672b54fd016744f23fbb0050",
    			"pId" : "0",
    			"label" : "一方数据_HW",
    			"children" : [{
    					"id" : "402898ac672b54fd0167450accee005a",
    					"pId" : "402898ac672b54fd016744f23fbb0050",
    					"label" : "主题数据--网络状态",
    					"children" : [{
    							"id" : "402898ac6782434a016782db8ac1001d",
    							"pId" : "402898ac672b54fd0167450accee005a",
    							"label" : "周期性测量",
    							"children" : []
    						}
    					]
    				}
    			]
    		}
    	]
    }
    
  • 要素说明

    参数名

    参数类型

    备注

    success

    String

    请求是否成功。

    returnData

    JSON

    返回体。

    id

    String

    目录ID。

    pId

    String

    父目录ID。

    label

    String

    目录的显示名称。

    children

    JSON

    子目录列表。

状态码

具体请参考状态码

分享:

    相关文档

    相关产品