Manage orders - Get Offer by ID
Načte nabídku podle identifikátoru partnera pomocí informací o zemi a národním prostředí.
GET https://api.partnercenter.microsoft.com/v{version}/offers/{offer_id}
GET https://api.partnercenter.microsoft.com/v{version}/offers/{offer_id}?country={country}
Parametry identifikátoru URI
Name | V | Vyžadováno | Typ | Description |
---|---|---|---|---|
offer_id
|
path | True |
string |
Identifikátor nabídky. |
version
|
path | True |
string |
|
country
|
query |
string |
Informace o zemi. Dvoumísmenná reprezentace země |
Hlavička požadavku
Name | Vyžadováno | Typ | Description |
---|---|---|---|
Authorization | True |
string |
Autorizační nosný token |
ms-correlationid |
string |
Používá se pro interní sledování požadavků. Pokud není zadaný parametr ms-correlationid, server pro každý požadavek vygeneruje nový. |
|
MS-CV |
string |
Používá se pro interní sledování požadavků. Pokud není zadaný MS-CV, server pro každý požadavek vygeneruje nový. |
|
ms-requestid |
string |
Používá se k idempotenci požadavků. Pokud není zadaný identifikátor ms-requestid, server pro každý požadavek vygeneruje nový. |
Odpovědi
Name | Typ | Description |
---|---|---|
200 OK |
Požadavek byl úspěšný. Požadované informace o nabídkách partnera se vrátí v textu odpovědi. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Definice
Contracts.V1.Models.Enums.OfferProduct
Name | Typ | Description |
---|---|---|
id |
string |
|
name |
string |
|
type |
string |
|
unit |
string |
Contracts.V1.Models.Offer
Name | Typ | Description |
---|---|---|
acquisitionType |
enum:
|
|
actions |
string[] |
|
additionalProperties |
object |
|
attestationProperties | ||
attributes | ||
billing |
enum:
|
|
category | ||
conversionTargetOffers |
string[] |
|
country |
string |
|
description |
string |
|
hasAddOns |
boolean |
|
id |
string |
|
isAddOn |
boolean |
|
isAutoRenewable |
boolean |
|
isAvailableForPurchase |
boolean |
|
isInternal |
boolean |
|
isMicrosoftProduct |
boolean |
|
isTrial |
boolean |
|
limit |
integer (int32) |
|
limitUnitOfMeasure |
string |
|
links | ||
locale |
string |
|
maximumQuantity |
integer (int32) |
|
minimumQuantity |
integer (int32) |
|
name |
string |
|
orderService |
string |
|
prerequisiteOffers |
string[] |
|
product | ||
providerId |
string |
|
providerLocationId |
string |
|
providerName |
string |
|
rank |
integer (int32) |
|
reselleeQualifications |
string[] |
|
resellerQualifications |
string[] |
|
salesGroupId |
string |
|
supportedBillingCycles |
Supported |
|
supportedCatalogTypes |
Supported |
|
term |
integer (int32) |
|
termUnitOfMeasure |
string |
|
unitType |
string |
|
upgradeTargetOffers |
string[] |
|
uri |
string |
Contracts.V1.Models.OfferAttestationProperties
Name | Typ | Description |
---|---|---|
attestationType |
string |
|
enforceAttestation |
boolean |
Contracts.V1.Models.OfferCategory
Name | Typ | Description |
---|---|---|
attributes | ||
country |
string |
|
id |
string |
|
links | ||
locale |
string |
|
name |
string |
|
rank |
integer (int32) |
Contracts.V1.Models.OfferLinks
Name | Typ | Description |
---|---|---|
learnMore | ||
next | ||
previous | ||
self |
Link
Name | Typ | Description |
---|---|---|
body |
string |
|
headers |
System. |
|
method |
string |
|
uri |
string |
ResourceAttributes
Name | Typ | Description |
---|---|---|
etag |
string |
|
objectType |
string |
ResourceLinks
Name | Typ | Description |
---|---|---|
next | ||
previous | ||
self |
SupportedBillingCycles
Hodnota | Description |
---|---|
annual | |
monthly | |
none | |
one_time | |
triennial | |
unknown |
SupportedCatalogTypes
Hodnota | Description |
---|---|
live | |
sandbox |
System.Collections.Generic.KeyValuePair[System.String,System.String]
Name | Typ | Description |
---|---|---|
key |
string |
|
value |
string |