Megosztás a következőn keresztül:


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

Microsoft.Partner.Providers.Contracts.V1.Device[]

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

Name Description
Microsoft.Partner.Core.Collections.Link
Microsoft.Partner.Core.Collections.ResourceAttributes
Microsoft.Partner.Core.Collections.ResourceLinks
Microsoft.Partner.Providers.Contracts.V1.Device
Microsoft.Partner.Providers.Contracts.V1.DeviceBatchCreationRequest
System.Collections.Generic.KeyValuePair[Microsoft.Partner.Providers.Contracts.V1.Enums.PolicyCategory,System.String]
System.Collections.Generic.KeyValuePair[System.String,System.String]
Name Típus Description
body

string

headers

System.Collections.Generic.KeyValuePair[System.String,System.String][]

method

string

uri

string

Microsoft.Partner.Core.Collections.ResourceAttributes

Name Típus Description
etag

string

objectType

string

Name Típus Description
next

Microsoft.Partner.Core.Collections.Link

previous

Microsoft.Partner.Core.Collections.Link

self

Microsoft.Partner.Core.Collections.Link

Microsoft.Partner.Providers.Contracts.V1.Device

Name Típus Description
allowedOperations

string[]

attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

hardwareHash

string

id

string

links

Microsoft.Partner.Core.Collections.ResourceLinks

modelName

string

oemManufacturerName

string

policies

System.Collections.Generic.KeyValuePair[Microsoft.Partner.Providers.Contracts.V1.Enums.PolicyCategory,System.String][]

productKey

string

serialNumber

string

uploadedBy

string

uploadedDate

string

Microsoft.Partner.Providers.Contracts.V1.DeviceBatchCreationRequest

Name Típus Description
attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

batchId

string

devices

Microsoft.Partner.Providers.Contracts.V1.Device[]

System.Collections.Generic.KeyValuePair[Microsoft.Partner.Providers.Contracts.V1.Enums.PolicyCategory,System.String]

Name Típus Description
key enum:
  • none
  • o_o_b_e
value

string

System.Collections.Generic.KeyValuePair[System.String,System.String]

Name Típus Description
key

string

value

string