Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
hak talebi cihazı
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Belirtilen bir müşteri için tek bir cihazla ilgili hak talebinde bulunmak üzere gönderilen senkronize istek.
Not: SamsungResellerServiceFactory sınıfı tarafından oluşturulan ResellerService sınıfı bu API'yi desteklemez. Bunun yerine claimDeviceAsync kullanın.
Yöntem imzası
public ClaimDeviceResponse claimDevice ( ClaimDeviceRequest request ) throws CommonException ;
ClaimDeviceRequest
Mülk adı
Değer
Zorunlu
Açıklama
claim
DeviceClaim nesnesi
Evet
Cihaz için işleme alınan hak talebi.
DeviceClaim
Mülk adı
Değer
Zorunlu
Açıklama
deviceIdentifier
object(DeviceIdentifier)
Evet
Cihaz tanımlayıcısı.
customer
CompanyReference nesnesi
Evet
Cihazın atandığı müşterinin şirket referansı.
orderNumber
string
Hayır
Sipariş numarası.
vendorParams
map
Hayır
Ek alanlar, tedarikçi firma tarafından belirtilen anahtar/değer çifti.
ClaimDeviceResponse
Mülk adı
Değer
Açıklama
deviceId
string
"samsung/" veya "google/" ön ekiyle başlayan cihaz kimliği.
Hata davranışı
Hata oluştuğunda kitaplık aşağıdaki hata kodlarından birini içeren bir CommonException oluşturur:
Hata kodu
AUTHORIZATION_FAIL
DUPLICATE_DEVICES
INVALID_CUSTOMER_ID
INVALID_DEVICE_IMEI
INVALID_DEVICE_MEID
INVALID_DEVICE_SERIAL
INVALID_IDENTIFIER_SET
INVALID_MANUFACTURER
INVALID_MODEL
NOT_IMPLEMENTED
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları 'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-08-29 UTC.
[null,null,["Son güncelleme tarihi: 2025-08-29 UTC."],[],["This describes the `claimDevice` method, which synchronously claims a single device for a customer. It requires a `DeviceClaim` object containing the `deviceIdentifier` and `customer` details. Optional fields include `orderNumber` and `vendorParams`. The method returns a `ClaimDeviceResponse` containing the `deviceId`. Errors are handled by a `CommonException` with codes like `AUTHORIZATION_FAIL`, `INVALID_CUSTOMER_ID`, and `DUPLICATE_DEVICES`. This API is not supported by the `ResellerService` class.\n"]]