Device deployment - Get Devices
GET https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/deviceBatches/{deviceBatch_id}/devices
Parâmetros de URI
| Nome | Em | Obrigatório | Tipo | Description |
|---|---|---|---|---|
|
customer_id
|
path | True |
string |
A ID do cliente. |
|
device
|
path | True |
string |
A ID do lote do dispositivo. |
|
version
|
path | True |
string |
Cabeçalho da solicitação
| Nome | Obrigatório | Tipo | Description |
|---|---|---|---|
| Authorization | True |
string |
Token de portador de autorização |
| ms-correlationid |
string |
Usado para acompanhar solicitações internamente. Se um ms-correlationid não for fornecido, o servidor gerará um novo para cada solicitação |
|
| ms-cv |
string |
Usado para acompanhar solicitações internamente. Se um ms-cv não for fornecido, o servidor gerará um novo para cada solicitação |
|
| ms-requestid |
string |
Usado para idempotency de solicitações. Se uma ms-requestid não for fornecida, o servidor gerará uma nova para cada solicitação |
Respostas
| Nome | Tipo | Description |
|---|---|---|
| 200 OK |
A solicitação foi bem-sucedida. Os dispositivos do cliente solicitado são retornados no corpo da resposta. Media Types: "application/json", "text/json" |
Definições
Microsoft.Partner.Core.Collections.Link
| Nome | Tipo | Description |
|---|---|---|
| body |
string |
|
| headers |
System. |
|
| method |
string |
|
| uri |
string |
Microsoft.Partner.Core.Collections.ResourceAttributes
| Nome | Tipo | Description |
|---|---|---|
| etag |
string |
|
| objectType |
string |
Microsoft.Partner.Core.Collections.ResourceLinks
| Nome | Tipo | Description |
|---|---|---|
| next | ||
| previous | ||
| self |
Microsoft.Partner.Providers.Contracts.V1.Device
| Nome | Tipo | Description |
|---|---|---|
| allowedOperations |
string[] |
|
| attributes | ||
| hardwareHash |
string |
|
| id |
string |
|
| links | ||
| modelName |
string |
|
| oemManufacturerName |
string |
|
| policies | ||
| productKey |
string |
|
| serialNumber |
string |
|
| uploadedBy |
string |
|
| uploadedDate |
string (date-time) |
System.Collections.Generic.KeyValuePair[Microsoft.Partner.Providers.Contracts.V1.Enums.PolicyCategory,System.String]
| Nome | Tipo | Description |
|---|---|---|
| key |
enum:
|
|
| value |
string |
System.Collections.Generic.KeyValuePair[System.String,System.String]
| Nome | Tipo | Description |
|---|---|---|
| key |
string |
|
| value |
string |