次の方法で共有


Manage orders - Get add-ons for an offer ID

国とロケールの情報を使用して、オファーのすべてのアドオン オファーを取得します。

GET https://api.partnercenter.microsoft.com/v{version}/offers/{offer_id}/addons
GET https://api.partnercenter.microsoft.com/v{version}/offers/{offer_id}/addons?country={country}

URI パラメーター

名前 / 必須 説明
offer_id
path True

string

プラン ID。

version
path True

string

country
query

string

国情報。 国の 2 文字の表現

要求ヘッダー

名前 必須 説明
Authorization True

string

承認ベアラー トークン

ms-correlationid

string

要求を内部的に追跡するために使用されます。 ms-correlationid が指定されていない場合、サーバーは要求ごとに新しいものを生成します

MS-CV

string

要求を内部的に追跡するために使用されます。 MS-CV が指定されていない場合、サーバーは要求ごとに新しいものを生成します

ms-requestid

string

要求のべき等性に使用されます。 ms-requestid が指定されていない場合、サーバーは要求ごとに新しいものを生成します

応答

名前 説明
200 OK

ResourceCollection[Contracts.V1.Models.Offer]

要求は成功しました。 要求されたパートナーのオファー情報は、応答本文で返されます。

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

定義

名前 説明
Contracts.V1.Models.Enums.OfferProduct
Contracts.V1.Models.Offer
Contracts.V1.Models.OfferAttestationProperties
Contracts.V1.Models.OfferCategory
Contracts.V1.Models.OfferLinks
Link
ResourceAttributes
ResourceCollection[Contracts.V1.Models.Offer]
ResourceLinks
SupportedBillingCycles
SupportedCatalogTypes
System.Collections.Generic.KeyValuePair[System.String,System.String]

Contracts.V1.Models.Enums.OfferProduct

名前 説明
id

string

name

string

type

string

unit

string

Contracts.V1.Models.Offer

名前 説明
acquisitionType enum:
  • purchase
  • referral
actions

string[]

additionalProperties

object

attestationProperties

Contracts.V1.Models.OfferAttestationProperties

attributes

ResourceAttributes

billing enum:
  • license
  • none
  • usage
category

Contracts.V1.Models.OfferCategory

conversionTargetOffers

string[]

country

string

description

string

hasAddOns

boolean

id

string

isAddOn

boolean

isAutoRenewable

boolean

isAvailableForPurchase

boolean

isInternal

boolean

isMicrosoftProduct

boolean

isTrial

boolean

limit

integer

limitUnitOfMeasure

string

links

Contracts.V1.Models.OfferLinks

locale

string

maximumQuantity

integer

minimumQuantity

integer

name

string

orderService

string

prerequisiteOffers

string[]

product

Contracts.V1.Models.Enums.OfferProduct

providerId

string

providerLocationId

string

providerName

string

rank

integer

reselleeQualifications

string[]

resellerQualifications

string[]

salesGroupId

string

supportedBillingCycles

SupportedBillingCycles[]

supportedCatalogTypes

SupportedCatalogTypes[]

term

integer

termUnitOfMeasure

string

unitType

string

upgradeTargetOffers

string[]

uri

string

Contracts.V1.Models.OfferAttestationProperties

名前 説明
attestationType

string

enforceAttestation

boolean

Contracts.V1.Models.OfferCategory

名前 説明
attributes

ResourceAttributes

country

string

id

string

links

ResourceLinks

locale

string

name

string

rank

integer

名前 説明
learnMore

Link

next

Link

previous

Link

self

Link

名前 説明
body

string

headers

System.Collections.Generic.KeyValuePair[System.String,System.String][]

method

string

uri

string

ResourceAttributes

名前 説明
etag

string

objectType

string

ResourceCollection[Contracts.V1.Models.Offer]

名前 説明
attributes

ResourceAttributes

items

Contracts.V1.Models.Offer[]

links

ResourceLinks

totalCount

integer

名前 説明
next

Link

previous

Link

self

Link

SupportedBillingCycles

名前 説明
annual

string

monthly

string

none

string

one_time

string

triennial

string

unknown

string

SupportedCatalogTypes

名前 説明
live

string

sandbox

string

System.Collections.Generic.KeyValuePair[System.String,System.String]

名前 説明
key

string

value

string