Theo dõi trạng thái của một hoạt động diễn ra trong thời gian dài để xác nhận quyền sở hữu, huỷ xác nhận quyền sở hữu hoặc đính kèm siêu dữ liệu vào thiết bị. Để tìm hiểu thêm, hãy đọc bài viết Thao tác hàng loạt diễn ra trong thời gian dài.
Trạng thái xử lý của từng thiết bị trong hoạt động. Một PerDeviceStatus cho mỗi thiết bị. Thứ tự trong danh sách khớp với các mặt hàng trong yêu cầu ban đầu.
OperationPerDevice
Một tác vụ cho mỗi thiết bị trong thao tác. Tương ứng với từng thay đổi về thiết bị trong yêu cầu.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2024-08-29 UTC."],[[["This document describes the structure for tracking the status of long-running operations related to claiming, unclaiming, or attaching metadata to devices."],["The `successCount` field provides a summary of the number of items successfully processed within the operation."],["The `perDeviceStatus` field contains a list of `OperationPerDevice` objects, which detail the processing status for each individual device in the operation."],["Each `OperationPerDevice` includes a `result` field that uses the `PerDeviceStatusInBatch` to define the outcome of each device's operation."],["`PerDeviceStatusInBatch` includes fields like `status`, `deviceId`, `errorMessage`, and `errorIdentifier` that will detail if an operation was successful, and if not, to give a description of the failure."]]],["The provided content outlines the structure for tracking device operations, such as claiming, unclaiming, or updating metadata. Key information includes `successCount`, which reflects the number of successfully processed items. `OperationPerDevice` details individual device tasks with their corresponding request types (`claim`, `unclaim`, or `updateMetadata`). `PerDeviceStatusInBatch` captures each device's processing status, including `status`, `deviceId` (if successful), and `errorMessage` and `errorIdentifier` (if failed).\n"]]