Device deployment - Uploaded Customer Devices
POST https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/deviceBatches
URI-paraméterek
Name | In | Kötelező | Típus | Description |
---|---|---|---|---|
customer_id
|
path | True |
string |
Az ügyfél azonosítója. |
version
|
path | True |
string |
Kérelem fejléce
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
Name | Kötelező | Típus | Description |
---|---|---|---|
Authorization | True |
string |
Engedélyezési tulajdonos jogkivonata |
ms-correlationid |
string |
A kérések belső nyomon követésére szolgál. Ha nincs megadva ms-correlationid, a kiszolgáló minden kéréshez létrehoz egy újat |
|
ms-cv |
string |
A kérések belső nyomon követésére szolgál. Ha nincs megadva ms-cv, a kiszolgáló minden kéréshez létrehoz egy újat |
|
ms-requestid |
string |
A kérések idempotensségéhez használatos. Ha nincs megadva ms-requestid, a kiszolgáló minden kéréshez létrehoz egy újat |
Kérelem törzse
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
Name | Típus | Description |
---|---|---|
batchId |
string |
|
devices |
Válaszok
Name | Típus | Description |
---|---|---|
200 OK |
object |
OK Media Types: "application/json", "text/json", "application/xml", "text/xml" |
202 Accepted |
object |
A kérést sikeresen elfogadták. A feltöltött ügyfél eszközállapotának lekérdezésére szolgáló hivatkozás a válasz törzsében lesz visszaadva. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Definíciók
Microsoft.Partner.Core.Collections.Link
Name | Típus | Description |
---|---|---|
body |
string |
|
headers |
System. |
|
method |
string |
|
uri |
string |
Microsoft.Partner.Core.Collections.ResourceAttributes
Name | Típus | Description |
---|---|---|
etag |
string |
|
objectType |
string |
Microsoft.Partner.Core.Collections.ResourceLinks
Name | Típus | Description |
---|---|---|
next | ||
previous | ||
self |
Microsoft.Partner.Providers.Contracts.V1.Device
Name | Típus | Description |
---|---|---|
allowedOperations |
string[] |
|
attributes | ||
hardwareHash |
string |
|
id |
string |
|
links | ||
modelName |
string |
|
oemManufacturerName |
string |
|
policies | ||
productKey |
string |
|
serialNumber |
string |
|
uploadedBy |
string |
|
uploadedDate |
string |
Microsoft.Partner.Providers.Contracts.V1.DeviceBatchCreationRequest
Name | Típus | Description |
---|---|---|
attributes | ||
batchId |
string |
|
devices |
System.Collections.Generic.KeyValuePair[Microsoft.Partner.Providers.Contracts.V1.Enums.PolicyCategory,System.String]
Name | Típus | Description |
---|---|---|
key |
enum:
|
|
value |
string |
System.Collections.Generic.KeyValuePair[System.String,System.String]
Name | Típus | Description |
---|---|---|
key |
string |
|
value |
string |