Manage orders - Get a availability by ID (by country)
Hiermee haalt u een beschikbaarheid op voor de aangevraagde context.
GET https://api.partnercenter.microsoft.com/v{version}/products/{productId}/skus/{skuId}/availabilities/{availabilityId}
GET https://api.partnercenter.microsoft.com/v{version}/products/{productId}/skus/{skuId}/availabilities/{availabilityId}?country={country}
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
availability
|
path | True |
string |
De beschikbaarheids-id. |
product
|
path | True |
string |
De product-id. |
sku
|
path | True |
string |
De sKU-id. |
version
|
path | True |
string |
|
country
|
query |
string |
De landinformatie. Twee letters van het land |
Aanvraagkoptekst
Name | Vereist | Type | Description |
---|---|---|---|
Authorization | True |
string |
Bearer-token voor autorisatie |
ms-correlationid |
string |
Wordt intern gebruikt voor het bijhouden van aanvragen. Als er geen ms-correlationid is opgegeven, genereert de server een nieuwe voor elke aanvraag |
|
MS-CV |
string |
Wordt intern gebruikt voor het bijhouden van aanvragen. Als er geen MS-CV is opgegeven, genereert de server een nieuwe voor elke aanvraag |
|
ms-requestid |
string |
Wordt gebruikt voor idempotentie van aanvragen. Als er geen ms-requestid is opgegeven, genereert de server een nieuwe voor elke aanvraag |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
De aanvraag is geslaagd. De beschikbaarheid wordt geretourneerd in de hoofdtekst van het antwoord. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Definities
Contracts.V1.Models.Availability
Name | Type | Description |
---|---|---|
catalogItemId |
string |
|
country |
string |
|
defaultCurrency | ||
id |
string |
|
includedQuantityOptions | ||
isPurchasable |
boolean |
|
isRenewable |
boolean |
|
links | ||
product | ||
productId |
string |
|
renewalInstructions | ||
segment |
string |
|
sku | ||
skuId |
string |
|
terms |
Contracts.V1.Models.AvailabilityIncludedQuantity
Name | Type | Description |
---|---|---|
description |
string |
|
units |
string |
Contracts.V1.Models.AvailabilityLinks
Name | Type | Description |
---|---|---|
next | ||
previous | ||
pricing | ||
self |
Contracts.V1.Models.AvailabilityTerm
Name | Type | Description |
---|---|---|
billingCycle |
string |
|
cancellationPolicies | ||
description |
string |
|
duration |
string |
|
id |
string |
|
renewalOptions |
Contracts.V1.Models.CancellationPolicy
Name | Type | Description |
---|---|---|
refundOptions |
Contracts.V1.Models.CancellationRefundOption
Name | Type | Description |
---|---|---|
expiresAfter |
string |
|
sequenceId |
integer |
|
type |
string |
Contracts.V1.Models.CurrencyInfo
Name | Type | Description |
---|---|---|
code |
string |
|
symbol |
string |
Contracts.V1.Models.ItemType
Name | Type | Description |
---|---|---|
displayName |
string |
|
id |
string |
|
subType |
Contracts.V1.Models.Product
Name | Type | Description |
---|---|---|
description |
string |
|
id |
string |
|
isMicrosoftProduct |
boolean |
|
links | ||
localizedAttributes |
System. |
|
productType | ||
publisherName |
string |
|
title |
string |
Contracts.V1.Models.ProductLinks
Name | Type | Description |
---|---|---|
next | ||
previous | ||
self | ||
skus |
Contracts.V1.Models.RenewalInstruction
Name | Type | Description |
---|---|---|
applicableTermIds |
string[] |
|
renewalOptions |
Contracts.V1.Models.RenewalInstructionOption
Name | Type | Description |
---|---|---|
isAutoRenewable |
boolean |
|
renewToId |
string |
Contracts.V1.Models.RenewalOption
Name | Type | Description |
---|---|---|
description |
string |
|
termDuration |
string |
Contracts.V1.Models.Sku
Name | Type | Description |
---|---|---|
actions |
string[] |
|
attestationProperties | ||
consumptionType |
string |
|
description |
string |
|
dynamicAttributes |
object |
|
id |
string |
|
inventoryVariables |
string[] |
|
isTrial |
boolean |
|
links | ||
maximumQuantity |
integer |
|
minimumQuantity |
integer |
|
productId |
string |
|
provisioningVariables |
string[] |
|
purchasePrerequisites |
string[] |
|
supportedBillingCycles | ||
termsOfUseUri |
string |
|
title |
string |
Contracts.V1.Models.SkuAttestationProperties
Name | Type | Description |
---|---|---|
attestationType |
string |
|
enforceAttestation |
boolean |
Link
Name | Type | Description |
---|---|---|
body |
string |
|
headers |
System. |
|
method |
string |
|
uri |
string |
ResourceLinks
Name | Type | Description |
---|---|---|
next | ||
previous | ||
self |
SupportedBillingCycles
Name | Type | Description |
---|---|---|
annual |
string |
|
monthly |
string |
|
none |
string |
|
one_time |
string |
|
triennial |
string |
|
unknown |
string |
System.Collections.Generic.KeyValuePair[System.String,System.String]
Name | Type | Description |
---|---|---|
key |
string |
|
value |
string |