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


Manage customer accounts - Update self serve policy

Frissítések az ügyfél önkiszolgáló szabályzatai.

PUT https://api.partnercenter.microsoft.com/v{version}/SelfServePolicy/{id}

URI-paraméterek

Name In Kötelező Típus Description
id
path True

string

Az azonosító.

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ére szolgál. Ha nincs megadva ms-requestid, a kiszolgáló minden kéréshez újat hoz létre

Kérelem törzse

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

Name Típus Description
selfServePolicy

Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.SelfServePolicy

Az önkiszolgáló szabályzat.

Válaszok

Name Típus Description
200 OK

Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.SelfServePolicy

A kérés sikeres volt. Az önkiszolgáló szabályzat létrehozása sikeresen megtörtént.

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

Definíciók

Name Description
Microsoft.Partner.Core.Collections.ResourceAttributes
Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.Grantor
Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.Permission
Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.SelfServeEntity
Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.SelfServePolicy

Microsoft.Partner.Core.Collections.ResourceAttributes

Name Típus Description
etag

string

objectType

string

Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.Grantor

Name Típus Description
grantorType

string

tenantID

string

Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.Permission

Name Típus Description
action

string

resource

string

Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.SelfServeEntity

Name Típus Description
selfServeEntityType

string

tenantID

string

Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.SelfServePolicy

Name Típus Description
attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

grantor

Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.Grantor

id

string

permissions

Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.Permission[]

selfServeEntity

Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.SelfServeEntity