请求
curl --location 'https://openapi.gs-robot.com/openapi/v2alpha1/robots/TEST00-0000-000-B001/taskReports?page=1&startTimeUtcFloor=2024-05-22T01%3A33%3A17Z&startTimeUtcUpper=2024-08-22T23%3A34%3A07Z&pageSize=100'
--header 'Authorization: Bearer {{token}}'
输出
{
"robotTaskReports": [
{
"id": "b3b1bf9d-d428-4e59-95c2-9b279a34011b",
"displayName": "10-2",
"robot": "B1",
"robotSerialNumber": "TEST00-0000-000-B001",
"operator": "user",
"completionPercentage": 0.622,
"durationSeconds": 12,
"plannedCleaningAreaSquareMeter": 7.045,
"actualCleaningAreaSquareMeter": 4.385,
"efficiencySquareMeterPerHour": 1315.5,
"plannedPolishingAreaSquareMeter": 0,
"actualPolishingAreaSquareMeter": 0,
"waterConsumptionLiter": 0,
"startBatteryPercentage": 67,
"endBatteryPercentage": 67,
"consumablesResidualPercentage": {
"brush": 100,
"filter": 100,
"suctionBlade": 100
},
"taskInstanceId": "18616278-dbca-4b58-b92d-190f1dbbd694",
"cleaningMode": "__尘推",
"taskEndStatus": 1,
"taskReportPngUri": "https://bot.gs-robot.com/robot-task/task/report/png/v2/en/b3b1bf9d-d428-4e59-95c2-9b279a34011b",
"subTasks": [
{
"mapId": "398cd586-e999-4174-b6be-745856f707d4",
"mapName": "1010",
"actualCleaningAreaSquareMeter": 4.385,
"taskId": "7a770bfb-b8d9-4b08-9d61-fa04f7c004bd"
},
{
"mapId": "3395374f-73b6-4bed-9a90-bece082854fa",
"mapName": "floor-200",
"actualCleaningAreaSquareMeter": 0,
"taskId": "d49656e4-a2ff-4808-82da-c8542595dcbb"
}
],
"taskId": "2051bc8d-60c2-482a-9a1f-2bc283b52b3e",
"planId": "",
"startTime": "2024-08-14T06:55:45Z",
"endTime": "2024-08-14T06:57:19Z"
},
{
"id": "203456cf-3af1-47f0-a0a2-7ee0c5ed118c",
"displayName": "10-2",
"robot": "B1",
"robotSerialNumber": "TEST00-0000-000-B001",
"operator": "user",
"completionPercentage": 0.619,
"durationSeconds": 13,
"plannedCleaningAreaSquareMeter": 6.948,
"actualCleaningAreaSquareMeter": 4.3,
"efficiencySquareMeterPerHour": 1190.769,
"plannedPolishingAreaSquareMeter": 0,
"actualPolishingAreaSquareMeter": 0,
"waterConsumptionLiter": 0,
"startBatteryPercentage": 92,
"endBatteryPercentage": 91,
"consumablesResidualPercentage": {
"brush": 100,
"filter": 100,
"suctionBlade": 100
},
"taskInstanceId": "b55dde60-a943-4b4f-8e33-51d00cd7244e",
"cleaningMode": "__尘推",
"taskEndStatus": 1,
"taskReportPngUri": "https://bot.gs-robot.com/robot-task/task/report/png/v2/en/203456cf-3af1-47f0-a0a2-7ee0c5ed118c",
"subTasks": [
{
"mapId": "398cd586-e999-4174-b6be-745856f707d4",
"mapName": "1010",
"actualCleaningAreaSquareMeter": 4.3,
"taskId": "7a770bfb-b8d9-4b08-9d61-fa04f7c004bd"
},
{
"mapId": "3395374f-73b6-4bed-9a90-bece082854fa",
"mapName": "floor-200",
"actualCleaningAreaSquareMeter": 0,
"taskId": "d49656e4-a2ff-4808-82da-c8542595dcbb"
}
],
"taskId": "2051bc8d-60c2-482a-9a1f-2bc283b52b3e",
"planId": "",
"startTime": "2024-08-14T02:55:41Z",
"endTime": "2024-08-14T03:03:36Z"
}
],
"page": 1,
"pageSize": 100,
"total": "2"
}