Sdílet prostřednictvím


Manage orders - Get add-ons for an offer ID

Načte všechny doplňkové nabídky nabídky pomocí informací o zemi a národním prostředí.

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}

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é vyjádření země

Hlavička požadavku

Name Vyžadováno Typ Description
Authorization True

string

Nosný token autorizace

ms-correlationid

string

Používá se pro interní sledování požadavků. Pokud ms-correlationid není zadaný, server pro každý požadavek vygeneruje nový.

MS-CV

string

Používá se pro interní sledování požadavků. Pokud ms-CV není k dispozici, server vygeneruje nový pro každý požadavek.

ms-requestid

string

Používá se pro idempotenci požadavků. Pokud ms-requestid není zadaný, server pro každý požadavek vygeneruje nový.

Odpovědi

Name Typ Description
200 OK

ResourceCollection[Contracts.V1.Models.Offer]

Žádost byla úspěšná. V textu odpovědi se vrátí informace o nabídkách požadovaného partnera.

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

Definice

Name Description
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

Name Typ Description
id

string

name

string

type

string

unit

string

Contracts.V1.Models.Offer

Name Typ Description
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

Name Typ Description
attestationType

string

enforceAttestation

boolean

Contracts.V1.Models.OfferCategory

Name Typ Description
attributes

ResourceAttributes

country

string

id

string

links

ResourceLinks

locale

string

name

string

rank

integer

Name Typ Description
learnMore

Link

next

Link

previous

Link

self

Link

Name Typ Description
body

string

headers

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

method

string

uri

string

ResourceAttributes

Name Typ Description
etag

string

objectType

string

ResourceCollection[Contracts.V1.Models.Offer]

Name Typ Description
attributes

ResourceAttributes

items

Contracts.V1.Models.Offer[]

links

ResourceLinks

totalCount

integer

Name Typ Description
next

Link

previous

Link

self

Link

SupportedBillingCycles

Name Typ Description
annual

string

monthly

string

none

string

one_time

string

triennial

string

unknown

string

SupportedCatalogTypes

Name Typ Description
live

string

sandbox

string

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

Name Typ Description
key

string

value

string