Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Richiesta asincrona per rivendicare fino a 100.000 dispositivi per uno o più clienti.
I metodi API asincroni restituiscono un risultato prima del completamento dell'elaborazione. Inoltre, aiutano la tua app (o il tuo strumento) a rimanere reattiva per gli utenti mentre aspettano il completamento di un'operazione di lunga durata. L'app deve chiamare
getOperation
per controllare periodicamente lo stato dell'operazione.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 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"]]