Megosztás a következőn keresztül:


Manage orders - Get a list of offers for a market

Egy partner összes ajánlatát lekéri ország- és területi adatok használatával.

GET https://api.partnercenter.microsoft.com/v{version}/offers
GET https://api.partnercenter.microsoft.com/v{version}/offers?country={country}&offer_category_id={offer_category_id}&offset={offset}&size={size}

URI-paraméterek

Name In Kötelező Típus Description
version
path True

string

country
query

string

Az ország adatai. Kétbetűs országábrázolás

offer_category_id
query

string

Az ajánlatkategória azonosítója. Nem kötelező paraméter. Az ajánlatok kategória szerinti szűrése, ha meg van adva

offset
query

integer

int32

Az oldaleltolás. Nem kötelező paraméter

size
query

integer

int32

Az oldalméret. Nem kötelező paraméter

Kérelem fejléce

Name Kötelező Típus Description
Authorization True

string

Engedélyezési tulajdonos jogkivonata

ms-correlationid

string

A kérések belső nyomon követésére szolgál. Ha nincs megadva ms-correlationid, a kiszolgáló minden kéréshez létrehoz egy újat

MS-CV

string

A kérések belső nyomon követésére szolgál. Ha nincs megadva MS-CV, a kiszolgáló minden kéréshez létrehoz egy újat

ms-requestid

string

A kérések idempotensségére szolgál. Ha nincs megadva ms-requestid, a kiszolgáló minden kéréshez újat hoz létre

Válaszok

Name Típus Description
200 OK

ResourceCollection[Contracts.V1.Models.Offer]

A kérés sikeres volt. A kért partner ajánlati információi a válasz törzsében lesznek visszaadva.

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

Definíciók

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 Típus Description
id

string

name

string

type

string

unit

string

Contracts.V1.Models.Offer

Name Típus 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 Típus Description
attestationType

string

enforceAttestation

boolean

Contracts.V1.Models.OfferCategory

Name Típus Description
attributes

ResourceAttributes

country

string

id

string

links

ResourceLinks

locale

string

name

string

rank

integer

Name Típus Description
learnMore

Link

next

Link

previous

Link

self

Link

Name Típus Description
body

string

headers

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

method

string

uri

string

ResourceAttributes

Name Típus Description
etag

string

objectType

string

ResourceCollection[Contracts.V1.Models.Offer]

Name Típus Description
attributes

ResourceAttributes

items

Contracts.V1.Models.Offer[]

links

ResourceLinks

totalCount

integer

Name Típus Description
next

Link

previous

Link

self

Link

SupportedBillingCycles

Name Típus Description
annual

string

monthly

string

none

string

one_time

string

triennial

string

unknown

string

SupportedCatalogTypes

Name Típus Description
live

string

sandbox

string

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

Name Típus Description
key

string

value

string