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


Manage customer accounts - License Updates

POST https://api.partnercenter.microsoft.com/v1/customers/{customer_id}/users/{user_id}/licenseupdates
POST https://api.partnercenter.microsoft.com/v1/customers/{customer_id}/users/{user_id}/licenseupdates?isKickInstantOn={isKickInstantOn}

URI-paraméterek

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

string

Az ügyfél bérlőazonosítója.

user_id
path True

string

Egy felhasználó felhasználóazonosítója vagy egyszerű felhasználóneve a licenckiosztáshoz.

isKickInstantOn
query

boolean

a jelző jelzi, hogy azonnali be- és bekapcsolást szeretne-e aktiválni (ez a GoDaddy adott lekérdezési paramétere, és csak a GoDaddy ügyfélbérlőjének kell kick API-t megadnia. A GoDaddy mindig elküldte ezt a jelzőt. így az alapértelmezett értéket false (hamis) értékre módosíthatjuk).

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
licensesToAssign

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

licensesToRemove

string[]

Válaszok

Name Típus Description
200 OK

object

OK

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

201 Created

Microsoft.Partner.Providers.Contracts.V1.LicenseUpdate

OK

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

Definíciók

Name Description
Microsoft.Partner.Core.Collections.ResourceAttributes
Microsoft.Partner.Providers.Contracts.V1.LicenseAssignment
Microsoft.Partner.Providers.Contracts.V1.LicenseUpdate
Microsoft.Partner.Providers.Contracts.V1.LicenseWarning

Microsoft.Partner.Core.Collections.ResourceAttributes

Name Típus Description
etag

string

objectType

string

Microsoft.Partner.Providers.Contracts.V1.LicenseAssignment

Name Típus Description
excludedPlans

string[]

skuId

string

Microsoft.Partner.Providers.Contracts.V1.LicenseUpdate

Name Típus Description
attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

licenseWarnings

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

licensesToAssign

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

licensesToRemove

string[]

Microsoft.Partner.Providers.Contracts.V1.LicenseWarning

Name Típus Description
code

string

message

string

servicePlans

string[]