Sdílet prostřednictvím


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

Contracts.V1.Models.Offer

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

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
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 (int32)
  • referral (int32)
actions

string[]

additionalProperties

object

attestationProperties

Contracts.V1.Models.OfferAttestationProperties

attributes

ResourceAttributes

billing enum:
  • license (int32)
  • none (int32)
  • usage (int32)
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 (int32)

limitUnitOfMeasure

string

links

Contracts.V1.Models.OfferLinks

locale

string

maximumQuantity

integer (int32)

minimumQuantity

integer (int32)

name

string

orderService

string

prerequisiteOffers

string[]

product

Contracts.V1.Models.Enums.OfferProduct

providerId

string

providerLocationId

string

providerName

string

rank

integer (int32)

reselleeQualifications

string[]

resellerQualifications

string[]

salesGroupId

string

supportedBillingCycles

SupportedBillingCycles[] (int32)

supportedCatalogTypes

SupportedCatalogTypes[] (int32)

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

ResourceAttributes

country

string

id

string

links

ResourceLinks

locale

string

name

string

rank

integer (int32)

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

Name Typ Description
next

Link

previous

Link

self

Link

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