API Guide

Table Of Contents
}
]
}
/api/DeviceService/Devices(Id)/RecentActivity
This URI represents the recent activities for a specific device.
GET method for RecentActivity
This method returns the recent activities for a specific device.
Description Returns the recent activities for a specific device.
Privilege VIEW
HTTP response
codes
200
Example
response body
{
"@odata.context":
"$metadata#Collection(DeviceService.ExecutionHistoryDetailModel)",
"@odata.count": 2,
"value": [
{
"Id": 953,
"Progress": "100",
"StartTime": "2017-09-06 05:12:29.650",
"EndTime": "2017-09-06 05:12:30.847",
"TaskStatusId": 2060,
"Key": "WIN-02GODDHDJTC",
"Value": "Running\nCompleted",
"TaskName": "Blink LED",
"ExecutionHistoryId": 561,
"TaskId": 10265,
"TaskType": 3
},
{
"Id": 9,
"Progress": "100",
"StartTime": "2017-09-05 04:48:37.080",
"EndTime": "2017-09-05 04:48:37.856",
"TaskStatusId": 2070,
"Key": "WIN-02GODDHDJTC",
"Value": "Running\nSlot ID passed null cannot perform Quick Deploy.
\nTask Failed.
Execution has completed",
"TaskName": "Deployment and Configuration Check",
"ExecutionHistoryId": 8,
"TaskId": 4015,
"TaskType": 24
}
]
}
Devices
261