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

根据项目ID查询项目详情

功能介绍

该接口用于根据项目ID北向查询项目详情。

URI

  • URI格式
    POST /softcomai/datalake/dataplan/v1.0/north/progress/getdetailbyid/{progressId}
  • 参数说明

    参数名

    是否必选

    参数类型

    备注

    progressId

    String

    项目ID。

请求

  • 请求样例
    POST https://ipaddr:port/softcomai/datalake/dataplan/v1.0/north/progress/getdetailbyid/P_20200511190832_1663314393
  • 参数说明

    无。

响应

  • 响应样例
    {
    "success": true,
    "errorMsg": null,
    "errorCode": null,
    "returnData": {
    "id": "P_20200511190832_1663314393",
    "name": "FDI_20200511190817",
    "description": null,
    "userId": "06179cf4c080d5bb1faac0035a6a3650",
    "tenantId": "051fb6cf4c00d33d0f85c003b99352a0",
    "tenantName": "softcomai_z00284297_03",
    "projectId": "051fb6d19780d5312f41c003c7e7258d",
    "scheduleCycle": null,
    "scheduleInterval": null,
    "scheduleBeginTime": null,
    "beginTime": null,
    "endTime": null,
    "createTime": "2020-05-11 19:08:33",
    "updateTime": "2020-05-11 19:08:33",
    "period": null,
    "status": "failed",
    "schedulerStatus": null,
    "lastStartTime": "2020-05-16 10:26:40",
    "lastEndTime": "2020-05-16 10:27:59",
    "startUser": "061a1d780c00d3751f63c0030e17605a",
    "tag": "DFP",
    "tags": null,
    "fromSource": "P_20191214113112_204479854",
    "driveStrategy": "dataSource",
    "lastObsBucketName": null,
    "lastObsPath": null,
    "templateExtraInfoList": [],
    "subProgress": [],
    "progressType": "PROGRESS",
    "tasks": [
    {
    "id": "2436415713926025362",
    "source": "8858846052073158107",
    "taskName": "硬盘故障-任务",
    "taskType": "COLLECTION",
    "builtInTaskType": "",
    "executeType": "SCRIPT",
    "executeMethod": "GET",
    "executeTarget": null,
    "isKeyTask": "false",
    "isStautsUrl": "false",
    "userId": "06179cf4c080d5bb1faac0035a6a3650",
    "tenantId": "051fb6cf4c00d33d0f85c003b99352a0",
    "createTime": "2019-12-14 11:27:29",
    "updateTime": "2019-12-14 11:28:46",
    "timeout": "60",
    "script": {
    "id": "6174708617612744673",
    "source": "834314258647293313",
    "scriptName": "NilScript",
    "scriptType": "COLLECTION",
    "executeType": "SHELL",
    "scriptVersion": "NilTask",
    "bucketName": "obs-private-dataplan",
    "scriptPath": "scripts/progress/Cloud/P_20200511190832_1663314393/test.sh",
    "storageType": null,
    "scriptDesc": "NilScript",
    "userId": "06179cf4c080d5bb1faac0035a6a3650",
    "tenantId": "051fb6cf4c00d33d0f85c003b99352a0",
    "userName": "SoftComAI_wl_w00293514",
    "tenantName": "SoftComAI_wl_w00293514",
    "createTime": "2019-12-12 10:56:08",
    "updateTime": null,
    "taskId": "2436415713926025362",
    "status": "none"
    },
    "paramList": null,
    "successFlag": null,
    "successValue": null,
    "statusFlag": null,
    "statusSuccessValue": null,
    "statusFailValue": null,
    "statusRunningValue": null,
    "responseVariableName": null,
    "description": null,
    "variables": [
    {
    "id": "3158113653758807277",
    "source": "311146092604747592",
    "showName": "ftpAddr",
    "showNameEn": "ftpAddr",
    "varName": "ftpAddr",
    "varType": null,
    "varValue": "127.0.0.1",
    "remark": "FTP服务器地址",
    "defaultVisible": "true",
    "encrypt": "false",
    "userId": "06179cf4c080d5bb1faac0035a6a3650",
    "tenantId": "051fb6cf4c00d33d0f85c003b99352a0",
    "createTime": null,
    "updateTime": null,
    "taskId": "2436415713926025362",
    "taskType": null
    },
    {
    "id": "1190711499481581896",
    "source": "3132094203683562080",
    "showName": "ftpPort",
    "showNameEn": "ftpPort",
    "varName": "ftpPort",
    "varType": null,
    "varValue": "80",
    "remark": "FTP服务器端口",
    "defaultVisible": "true",
    "encrypt": "false",
    "userId": "06179cf4c080d5bb1faac0035a6a3650",
    "tenantId": "051fb6cf4c00d33d0f85c003b99352a0",
    "createTime": null,
    "updateTime": null,
    "taskId": "2436415713926025362",
    "taskType": null
    },
    {
    "id": "2958876155139609591",
    "source": "1518721554807227194",
    "showName": "ftpUser",
    "showNameEn": "ftpUser",
    "varName": "ftpUser",
    "varType": null,
    "varValue": "lihang",
    "remark": "FTP用户名",
    "defaultVisible": "true",
    "encrypt": "false",
    "userId": "06179cf4c080d5bb1faac0035a6a3650",
    "tenantId": "051fb6cf4c00d33d0f85c003b99352a0",
    "createTime": null,
    "updateTime": null,
    "taskId": "2436415713926025362",
    "taskType": null
    },
    {
    "id": "8712408630894679668",
    "source": "5377424903668031437",
    "showName": "ftpPsw",
    "showNameEn": "ftpPsw",
    "varName": "ftpPsw",
    "varType": null,
    "varValue": "123456",
    "remark": "FTP密码",
    "defaultVisible": "true",
    "encrypt": "false",
    "userId": "06179cf4c080d5bb1faac0035a6a3650",
    "tenantId": "051fb6cf4c00d33d0f85c003b99352a0",
    "createTime": null,
    "updateTime": null,
    "taskId": "2436415713926025362",
    "taskType": null
    },
    {
    "id": "3211659600356185886",
    "source": "4645638937199913177",
    "showName": "ftpPath",
    "showNameEn": "ftpPath",
    "varName": "ftpPath",
    "varType": null,
    "varValue": "/root/ftp",
    "remark": "FTP源端路径",
    "defaultVisible": "true",
    "encrypt": "false",
    "userId": "06179cf4c080d5bb1faac0035a6a3650",
    "tenantId": "051fb6cf4c00d33d0f85c003b99352a0",
    "createTime": null,
    "updateTime": null,
    "taskId": "2436415713926025362",
    "taskType": null
    },
    {
    "id": "7016818498513179894",
    "source": "7981860957006437851",
    "showName": "strategy",
    "showNameEn": "strategy",
    "varName": "strategy",
    "varType": null,
    "varValue": "manual",
    "remark": "采集策略",
    "defaultVisible": "false",
    "encrypt": "false",
    "userId": "06179cf4c080d5bb1faac0035a6a3650",
    "tenantId": "051fb6cf4c00d33d0f85c003b99352a0",
    "createTime": null,
    "updateTime": null,
    "taskId": "2436415713926025362",
    "taskType": null
    }
    ],
    "oneTimeTask": null,
    "commonTask": "false",
    "authType": null,
    "saveResponseVariableAsJson": null,
    "consoleAddr": null,
    "children": [],
    "gid": null,
    "preTaskGid": null,
    "preTaskId": null,
    "childGid": null,
    "isRoot": "false",
    "progressId": null,
    "status": null,
    "pid": "0"
    }
    ]
    }
    }
  • 要素说明

    参数名

    参数类型

    备注

    success

    Boolean

    请求是否成功,取值包括true和false。

    returnData

    JSON

    模板信息。

状态码

具体请参考状态码

分享:

    相关文档

    相关产品

close