Sdílet prostřednictvím


Device deployment - Uploaded Customer Devices

POST https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/deviceBatches

Parametry identifikátoru URI

Name V Vyžadováno Typ Description
customer_id
path True

string

ID zákazníka.

version
path True

string

Hlavička požadavku

Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"

Name Vyžadováno Typ Description
Authorization True

string

Nosný token autorizace

ms-correlationid

string

Používá se k internímu sledování požadavků. Pokud není zadaný identifikátor ms-correlationid, server vygeneruje pro každý požadavek nový.

ms-cv

string

Používá se k internímu sledování požadavků. Pokud ms-cv není zadaný, server vygeneruje pro každou žádost nový.

ms-requestid

string

Používá se pro idempotenci požadavků. Pokud není zadaný identifikátor ms-requestid, server pro každou žádost vygeneruje nový.

Text požadavku

Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"

Name Typ Description
batchId

string

devices

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

Odpovědi

Name Typ Description
200 OK

object

OK

Media Types: "application/json", "text/json", "application/xml", "text/xml"

202 Accepted

object

Žádost byla úspěšně přijata. Odkaz na dotaz na stav zařízení nahraného zákazníka se vrátí v textu odpovědi.

Media Types: "application/json", "text/json", "application/xml", "text/xml"

Definice

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 Typ Description
body

string

headers

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

method

string

uri

string

Microsoft.Partner.Core.Collections.ResourceAttributes

Name Typ Description
etag

string

objectType

string

Name Typ 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 Typ 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 Typ 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 Typ Description
key enum:
  • none
  • o_o_b_e
value

string

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

Name Typ Description
key

string

value

string