Sdílet prostřednictvím


Device deployment - Update Device Policy

PATCH https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/DevicePolicyUpdates

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 pro interní sledování požadavků. Pokud ms-correlationid není zadaný, server pro každý požadavek vygeneruje nový.

ms-cv

string

Používá se pro interní sledování požadavků. Pokud ms-cv není k dispozici, server pro každý požadavek vygeneruje nový.

ms-requestid

string

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

Text požadavku

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

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

Požadavek byl úspěšně přijat. Odkaz na dotaz na aktualizovaný stav zařízení 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.DevicePolicyUpdateRequest
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.DevicePolicyUpdateRequest

Name Typ Description
attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

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