Manage orders - Perform a subscription upgrade
Führt ein Abonnementupgrade aus.
POST https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/subscriptions/{subscription_id}/upgrades
URI-Parameter
Name | In | Erforderlich | Typ | Beschreibung |
---|---|---|---|---|
customer_id
|
path | True |
string |
Die Kunden-ID. |
subscription_id
|
path | True |
string |
Die Abonnement-ID. |
version
|
path | True |
string |
Anforderungsheader
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
Name | Erforderlich | Typ | Beschreibung |
---|---|---|---|
Authorization | True |
string |
Autorisierungs-Bearertoken |
ms-correlationid |
string |
Wird intern zum Nachverfolgen von Anforderungen verwendet. Wenn keine ms-correlationid angegeben wird, generiert der Server für jede Anforderung eine neue. |
|
ms-cv |
string |
Wird intern zum Nachverfolgen von Anforderungen verwendet. Wenn kein ms-cv bereitgestellt wird, generiert der Server für jede Anforderung eine neue. |
|
ms-requestid |
string |
Wird für die Idempotenz von Anforderungen verwendet. Wenn keine ms-requestid angegeben wird, generiert der Server für jede Anforderung eine neue anforderung. |
Anforderungstext
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
Name | Typ | Beschreibung |
---|---|---|
attributes | ||
isEligible |
boolean |
|
quantity |
integer (int32) |
|
targetOffer | ||
upgradeErrors |
Microsoft. |
|
upgradeType |
enum:
|
Antworten
Name | Typ | Beschreibung |
---|---|---|
200 OK |
Microsoft. |
Die Anforderung war erfolgreich. Das Upgradeergebnis wird im Antworttext zurückgegeben. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
400 Bad Request |
Es fehlte eine oder eine ungültige Eingabe. Der Antworttext enthält die Fehlerdetails. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
|
401 Unauthorized |
Die Anforderung wurde nicht authentifiziert. Der Client muss sich zuerst beim Partner-API-Dienst authentifizieren. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
|
403 Forbidden |
Die Anforderung wurde authentifiziert, wurde aber abgelehnt, da der Aufrufer nicht über die Rechte zum Aufrufen verfügt. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
|
404 Not Found |
Die Ressource wurde mit den angegebenen Eingabeparametern nicht gefunden oder nicht verfügbar. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
|
500 Internal Server Error |
Der Partner-API-Dienst oder eine seiner Abhängigkeiten konnte die Anforderung nicht erfüllen. Anrufer versuchen dies möglicherweise erneut. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Definitionen
Microsoft.Partner.Core.Collections.Link
Name | Typ | Beschreibung |
---|---|---|
body |
string |
|
headers |
System. |
|
method |
string |
|
uri |
string |
Microsoft.Partner.Core.Collections.ResourceAttributes
Name | Typ | Beschreibung |
---|---|---|
etag |
string |
|
objectType |
string |
Microsoft.Partner.Core.Collections.ResourceLinks
Name | Typ | Beschreibung |
---|---|---|
next | ||
previous | ||
self |
Microsoft.Partner.Core.Web.Exceptions.ServiceFault
Name | Typ | Beschreibung |
---|---|---|
code |
integer (int32) |
|
data |
string[] |
|
description |
string |
|
source |
string |
Microsoft.Partner.Providers.Catalog.V1.Models.Offer
Name | Typ | Beschreibung |
---|---|---|
acquisitionType |
string |
|
actions |
string[] |
|
additionalProperties |
object |
|
attributes | ||
billing |
string |
|
category | ||
conversionTargetOffers |
string[] |
|
description |
string |
|
hasAddOns |
boolean |
|
id |
string |
|
isAutoRenewable |
boolean |
|
isAvailableForPurchase |
boolean |
|
isInternal |
boolean |
|
isMicrosoftProduct |
boolean |
|
isTrial |
boolean |
|
links | ||
maximumQuantity |
integer (int32) |
|
minimumQuantity |
integer (int32) |
|
name |
string |
|
product | ||
reselleeQualifications |
string[] |
|
resellerQualifications |
string[] |
|
salesGroupId |
string |
|
supportedBillingCycles |
Supported |
|
supportedCatalogTypes |
string[] |
|
term |
integer (int32) |
|
termUnitOfMeasure |
string |
|
unitType |
string |
|
upgradeTargetOffers |
string[] |
|
uri |
string |
Microsoft.Partner.Providers.Catalog.V1.Models.OfferCategory
Name | Typ | Beschreibung |
---|---|---|
attributes | ||
country |
string |
|
id |
string |
|
links | ||
locale |
string |
|
name |
string |
|
rank |
integer (int32) |
Microsoft.Partner.Providers.Catalog.V1.Models.OfferLinks
Name | Typ | Beschreibung |
---|---|---|
learnMore | ||
next | ||
previous | ||
self |
Microsoft.Partner.Providers.Catalog.V1.Models.OfferProduct
Name | Typ | Beschreibung |
---|---|---|
id |
string |
|
name |
string |
|
unit |
string |
Microsoft.Partner.Services.Subscriptions.V1.Models.Upgrade
Name | Typ | Beschreibung |
---|---|---|
attributes | ||
isEligible |
boolean |
|
quantity |
integer (int32) |
|
targetOffer | ||
upgradeErrors |
Microsoft. |
|
upgradeType |
enum:
|
Microsoft.Partner.Services.Subscriptions.V1.Models.UpgradeError
Name | Typ | Beschreibung |
---|---|---|
additionalDetails |
string |
|
attributes | ||
code |
enum:
|
|
description |
string |
Microsoft.Partner.Services.Subscriptions.V1.Models.UpgradeResult
Name | Typ | Beschreibung |
---|---|---|
attributes | ||
licenseErrors |
Microsoft. |
|
sourceSubscriptionId |
string |
|
targetSubscriptionId |
string |
|
upgradeErrors |
Microsoft. |
|
upgradeType |
enum:
|
Microsoft.Partner.Services.Subscriptions.V1.Models.UserLicenseError
Name | Typ | Beschreibung |
---|---|---|
attributes | ||
string |
||
errors | ||
name |
string |
|
userObjectId |
string (uuid) |
SupportedBillingCycles
Wert | Beschreibung |
---|---|
annual | |
monthly | |
none | |
one_time | |
triennial | |
unknown |
System.Collections.Generic.KeyValuePair[System.String,System.String]
Name | Typ | Beschreibung |
---|---|---|
key |
string |
|
value |
string |