Device deployment - Get Devices
GET https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/deviceBatches/{deviceBatch_id}/devices
Parametry identyfikatora URI
| Nazwa | W | Wymagane | Typ | Opis |
|---|---|---|---|---|
|
customer_id
|
path | True |
string |
Identyfikator klienta. |
|
device
|
path | True |
string |
Identyfikator partii urządzenia. |
|
version
|
path | True |
string |
Nagłówek żądania
| Nazwa | Wymagane | Typ | Opis |
|---|---|---|---|
| Authorization | True |
string |
Token elementu nośnego autoryzacji |
| ms-correlationid |
string |
Służy do śledzenia żądań wewnętrznie. Jeśli nie podano identyfikatora ms-correlationid, serwer wygeneruje nowy dla każdego żądania |
|
| ms-cv |
string |
Służy do śledzenia żądań wewnętrznie. Jeśli nie podano ms-cv, serwer wygeneruje nowy dla każdego żądania |
|
| ms-requestid |
string |
Służy do idempotentności żądań. Jeśli nie podano identyfikatora ms-requestid, serwer wygeneruje nowy dla każdego żądania |
Odpowiedzi
| Nazwa | Typ | Opis |
|---|---|---|
| 200 OK |
Żądanie zakończyło się pomyślnie. Żądane urządzenia klienta są zwracane w treści odpowiedzi. Media Types: "application/json", "text/json" |
Definicje
Microsoft.Partner.Core.Collections.Link
| Nazwa | Typ | Opis |
|---|---|---|
| body |
string |
|
| headers |
System. |
|
| method |
string |
|
| uri |
string |
Microsoft.Partner.Core.Collections.ResourceAttributes
| Nazwa | Typ | Opis |
|---|---|---|
| etag |
string |
|
| objectType |
string |
Microsoft.Partner.Core.Collections.ResourceLinks
| Nazwa | Typ | Opis |
|---|---|---|
| next | ||
| previous | ||
| self |
Microsoft.Partner.Providers.Contracts.V1.Device
| Nazwa | Typ | Opis |
|---|---|---|
| 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]
| Nazwa | Typ | Opis |
|---|---|---|
| key |
enum:
|
|
| value |
string |
System.Collections.Generic.KeyValuePair[System.String,System.String]
| Nazwa | Typ | Opis |
|---|---|---|
| key |
string |
|
| value |
string |