Azure spending - Get eligibility for product upgrade
Hiermee wordt de geschiktheid voor productupgrades opgehaald.
POST https://api.partnercenter.microsoft.com/v{version}/productUpgrades/eligibility
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
version
|
path | True |
string |
Aanvraagkoptekst
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
Name | Vereist | Type | Description |
---|---|---|---|
Authorization | True |
string |
Autorisatie Bearer-token |
ms-correlationid |
string |
Wordt gebruikt voor het intern bijhouden van aanvragen. Als er geen ms-correlationid wordt opgegeven, genereert de server een nieuwe voor elke aanvraag |
|
ms-cv |
string |
Wordt gebruikt voor het intern bijhouden van aanvragen. Als er geen ms-cv wordt opgegeven, genereert de server een nieuwe voor elke aanvraag |
|
ms-requestid |
string |
Wordt gebruikt voor idempotentie van aanvragen. Als er geen ms-requestid wordt opgegeven, genereert de server een nieuwe voor elke aanvraag |
Aanvraagbody
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
Name | Type | Description |
---|---|---|
customerId |
string |
|
productFamily |
string |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
Microsoft. |
De aanvraag is geslaagd. De antwoordtekst bevat de geschiktheidsinformatie. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
400 Bad Request |
Er is een ontbrekende of ongeldige invoer. De antwoordtekst bevat de foutdetails. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
|
401 Unauthorized |
De aanvraag is niet geverifieerd. De client moet zich eerst verifiëren bij de partner-API-service. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
|
403 Forbidden |
De aanvraag is geverifieerd, maar is geweigerd omdat de aanroeper niet de rechten heeft om deze aan te roepen. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
|
404 Not Found |
De resource is niet gevonden of niet beschikbaar met de opgegeven invoerparameters. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
|
500 Internal Server Error |
De api-service van de partner of een van de afhankelijkheden kan niet voldoen aan de aanvraag. Bellers kunnen dit opnieuw proberen. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Definities
Name | Description |
---|---|
Microsoft. |
|
Microsoft. |
Microsoft.Partner.Services.Transfers.V2.Models.ProductUpgradesEligibility
Name | Type | Description |
---|---|---|
customerId |
string |
|
isEligible |
boolean |
|
productFamily |
string |
|
reason |
string |
|
upgradeId |
string |
Microsoft.Partner.Services.Transfers.V2.Models.ProductUpgradesRequest
Name | Type | Description |
---|---|---|
customerId |
string |
|
productFamily |
string |