ISDP-查询设备关联的任务&子任务列表(API名称:getSceneTaskList):响应示例

时间:2024-07-22 16:26:12

响应示例

{
"stateCode": "0",
    "errorMessage": null,
    "result": {
        "data": [
            {
                "taskName": "1_20220908_144225",
                "taskType": 2,
                "sceneTaskId": 1919494,
                "sceneMode": 4,
                "isNa": 0,
                "status": 1,
                "endTimestamp": null,
                "parentTaskId": 2949685,
                "parentCategory": "",
                "sceneName": "",
                "adminOrganization": "",
                "actualEndTime": null,
                "executorList": [
                    {
                        "userId": 153169,
                        "userName": "lyl09修改",
                        "userType": 1,
                        "sceneTaskId": 1919494
                    }
                ],
                "totalCount": 1,
                "finishCount": 0,
                "isExpire": 0
            },
            {
                "taskName": "2_20220908_144225",
                "taskType": 2,
                "sceneTaskId": 1919495,
                "sceneMode": 4,
                "isNa": 0,
                "status": 1,
                "endTimestamp": null,
                "parentTaskId": 2949685,
                "parentCategory": "",
                "sceneName": "",
                "adminOrganization": "",
                "actualEndTime": null,
                "executorList": [
                    {
                        "userId": 153169,
                        "userName": "lyl09修改",
                        "userType": 1,
                        "sceneTaskId": 1919495
                    }
                ],
                "totalCount": 1,
                "finishCount": 0,
                "isExpire": 0
            },
            {
                "taskName": "1_20220908_144443",
                "taskType": 2,
                "sceneTaskId": 1919498,
                "sceneMode": 4,
                "isNa": 0,
                "status": 1,
                "endTimestamp": null,
                "parentTaskId": 2949686,
                "parentCategory": "",
                "sceneName": "",
                "adminOrganization": "",
                "actualEndTime": null,
                "executorList": [
                    {
                        "userId": 153169,
                        "userName": "lyl09修改",
                        "userType": 1,
                        "sceneTaskId": 1919498
                    }
                ],
                "totalCount": 1,
                "finishCount": 0,
                "isExpire": 0
            },
            {
                "taskName": "1_20220909_151311",
                "taskType": 2,
                "sceneTaskId": 1919657,
                "sceneMode": 4,
                "isNa": 0,
                "status": 1,
                "endTimestamp": null,
                "parentTaskId": 2951381,
                "parentCategory": "",
                "sceneName": "",
                "adminOrganization": "",
                "actualEndTime": null,
                "executorList": [
                    {
                        "userId": 153169,
                        "userName": "lyl09修改",
                        "userType": 1,
                        "sceneTaskId": 1919657
                    }
                ],
                "totalCount": 1,
                "finishCount": 0,
                "isExpire": 0
            },
            {
                "taskName": "子任务1_20220914_142712",
                "taskType": 2,
                "sceneTaskId": 1920826,
                "sceneMode": 4,
                "isNa": 0,
                "status": 1,
                "endTimestamp": 1663136980000,
                "parentTaskId": 2955633,
                "parentCategory": "",
                "sceneName": "",
                "adminOrganization": "",
                "actualEndTime": null,
                "executorList": [
                    {
                        "userId": 25804,
                        "userName": "刘月",
                        "userType": 1,
                        "sceneTaskId": 1920826
                    }
                ],
                "totalCount": 1,
                "finishCount": 0,
                "isExpire": 1
            },
            {
                "taskName": "14:40_20220908_144225",
                "taskType": 1,
                "sceneTaskId": 2949685,
                "sceneMode": 4,
                "isNa": 0,
                "status": 1,
                "endTimestamp": null,
                "parentTaskId": 0,
                "parentCategory": "",
                "sceneName": "14:40",
                "adminOrganization": "杨凌作业系统测试№",
                "actualEndTime": null,
                "executorList": [
                    {
                        "userId": 153169,
                        "userName": "lyl09修改",
                        "userType": 1,
                        "sceneTaskId": 2949685
                    }
                ],
                "totalCount": 2,
                "finishCount": 0,
                "isExpire": 0
            },
            {
                "taskName": "测试计划结束",
                "taskType": 1,
                "sceneTaskId": 2955633,
                "sceneMode": 4,
                "isNa": 0,
                "status": 1,
                "endTimestamp": 1663136980000,
                "parentTaskId": 0,
                "parentCategory": "",
                "sceneName": "测试统计计划结束时间",
                "adminOrganization": "杨凌作业系统测试№",
                "actualEndTime": null,
                "executorList": [
                    {
                        "userId": 25804,
                        "userName": "刘月",
                        "userType": 1,
                        "sceneTaskId": 2955633
                    }
                ],
                "totalCount": 1,
                "finishCount": 0,
                "isExpire": 1
            }
        ],
        "pos": 0,
        "total_count": 7,
        "entityName": null,
        "totalCount": 7
    }
}
support.huaweicloud.com/api-isdp/api_01_0045.html