Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Asynchroniczne żądanie rezerwacji do 100 000 urządzeń dla jednego lub większej liczby klientów.
Metody asynchroniczne interfejsu API zwracają wynik przed zakończeniem przetwarzania. Pomagają też Twojej aplikacji (lub narzędziu) w reagowaniu na działania użytkowników, gdy oczekują na zakończenie długo trwającej operacji. Aplikacja powinna wywoływać funkcję getOperation, aby okresowo sprawdzać stan operacji.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 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"]]