Solicitud asíncrona para reclamar hasta 100,000 dispositivos para uno o más clientes.
Los métodos asíncronos de la API muestran un resultado antes de que se complete el procesamiento. También ayudan a que tu app (o herramienta) siga siendo responsiva para los usuarios mientras esperan que se complete una operación de larga duración. Tu app debe llamar a getOperation para verificar el estado de la operación periódicamente.
[null,null,["Última actualización: 2024-11-09 (UTC)"],[[["This asynchronous API allows you to claim up to 100,000 devices for one or more customers."],["Each request using the `ResellerService` class supports claiming devices for only one customer; attempting to claim for multiple customers will result in an `INTERNAL_SERVER_ERROR`."],["The asynchronous method `claimDevicesAsync` returns a result before processing is complete, and you must use `getOperation` to periodically check the status."],["The `ClaimDevicesRequest` requires a list of `DeviceClaim` objects, and each `DeviceClaim` must include a `DeviceIdentifier` and `CompanyReference` for the customer."],["Potential error codes include `DEVICE_UPLOAD_COUNT_EXCEEDED`, `DUPLICATE_DEVICES`, `INTERNAL_SERVER_ERROR`, and various `INVALID` errors related to customer, device identifiers, and device information."]]],["The `claimDevicesAsync` method initiates an asynchronous request to claim up to 100,000 devices. Each request, using `ClaimDevicesRequest`, must specify a list of `DeviceClaim` objects, each detailing device identifiers and a customer. The `ResellerService` only supports one customer per request. The method returns `ClaimDevicesResponse` with `Operation` objects for tracking status. Errors, like `DEVICE_UPLOAD_COUNT_EXCEEDED` or `INTERNAL_SERVER_ERROR`, are reported within the `Operation` object.\n"]]