Method: partners.devices.claimAsync

Claims a batch of devices for a customer asynchronously. Adds the devices to zero-touch enrollment. To learn more, read Long‑running batch operations.

HTTP request

POST https://androiddeviceprovisioning.googleapis.com/v1/partners/{partnerId}/devices:claimAsync

The URL uses Google API HTTP annotation syntax.

Path parameters

Parameters
partnerId

string (int64 format)

Required. The ID of the reseller partner.

Request body

The request body contains data with the following structure:

JSON representation
{
  "claims": [
    {
      object(PartnerClaim)
    }
  ]
}
Fields
claims[]

object(PartnerClaim)

Required. A list of device claims.

Response body

If successful, the response body contains an instance of Operation.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/androidworkprovisioning

For more information, see the OAuth 2.0 Overview.

PartnerClaim

Identifies one claim request.

JSON representation
{
  "deviceIdentifier": {
    object(DeviceIdentifier)
  },
  "sectionType": enum(DeviceProvisioningSectionType),
  "customerId": string,
  "deviceMetadata": {
    object(DeviceMetadata)
  }
}
Fields
deviceIdentifier

object(DeviceIdentifier)

Required. Device identifier of the device.

sectionType

enum(DeviceProvisioningSectionType)

Required. The section type of the device's provisioning record.

customerId

string (int64 format)

Required. The ID of the customer for whom the device is being claimed.

deviceMetadata

object(DeviceMetadata)

Required. The metadata to attach to the device at claim.