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


Manage customer accounts - Create self serve policy

Létrehozza az ügyfél önkiszolgáló szabályzatát.

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

URI-paraméterek

Name In Kötelező Típus Description
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
selfServePolicy

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

Az önkiszolgáló szabályzat.

Válaszok

Name Típus Description
200 OK

object

OK

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

201 Created

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