Sdílet prostřednictvím


Manage orders - Get promotion eligibilities

Získá eligibility povýšení na základě úspěšných položek žádosti o nárok na povýšení.

POST https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/promotionEligibilities

Parametry identifikátoru URI

Name V Vyžadováno Typ Description
customer_id
path True

string

version
path True

string

Hlavička požadavku

Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"

Name Vyžadováno Typ Description
Authorization True

string

Nosný autorizační token

MS-CorrelationId

string

Používá se k internímu sledování požadavků. Pokud MS-CorrelationId nezadáte, server pro každý požadavek vygeneruje nový.

MS-CV

string

Používá se k internímu 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 nezadáte, server pro každý požadavek vygeneruje nový.

Text požadavku

Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"

Name Typ Description
attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

items

Microsoft.Partner.Services.RuleEngine.Models.PromotionEligibilitiesRequestItem[]

Odpovědi

Name Typ Description
200 OK

Microsoft.Partner.Core.Collections.ResourceCollection`1[Microsoft.Partner.Services.RuleEngine.Models.PromotionEligibility]

Požadavek byl úspěšný. Tělo odpovědi obsahuje informace o způsobilosti k povýšení.

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

Definice

Name Description
Microsoft.Partner.Core.Collections.Link
Microsoft.Partner.Core.Collections.ResourceAttributes
Microsoft.Partner.Core.Collections.ResourceCollection`1[Microsoft.Partner.Services.RuleEngine.Models.PromotionEligibility]
Microsoft.Partner.Core.Collections.ResourceLinks
Microsoft.Partner.Services.RuleEngine.Models.Enums.BillingCycleType
Microsoft.Partner.Services.RuleEngine.Models.PromotionEligibilitiesRequest
Microsoft.Partner.Services.RuleEngine.Models.PromotionEligibilitiesRequestItem
Microsoft.Partner.Services.RuleEngine.Models.PromotionEligibility
Microsoft.Partner.Services.RuleEngine.Models.PromotionEligibilityError
System.Collections.Generic.KeyValuePair[System.String,System.String]
Name Typ Description
body

string

headers

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

method

string

uri

string

Microsoft.Partner.Core.Collections.ResourceAttributes

Name Typ Description
etag

string

objectType

string

Microsoft.Partner.Core.Collections.ResourceCollection`1[Microsoft.Partner.Services.RuleEngine.Models.PromotionEligibility]

Name Typ Description
attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

items

Microsoft.Partner.Services.RuleEngine.Models.PromotionEligibility[]

links

Microsoft.Partner.Core.Collections.ResourceLinks

totalCount

integer

Name Typ Description
next

Microsoft.Partner.Core.Collections.Link

previous

Microsoft.Partner.Core.Collections.Link

self

Microsoft.Partner.Core.Collections.Link

Microsoft.Partner.Services.RuleEngine.Models.Enums.BillingCycleType

Name Typ Description
0

Integer

1

Integer

2

Integer

3

Integer

4

Integer

5

Integer

Microsoft.Partner.Services.RuleEngine.Models.PromotionEligibilitiesRequest

Name Typ Description
attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

items

Microsoft.Partner.Services.RuleEngine.Models.PromotionEligibilitiesRequestItem[]

Microsoft.Partner.Services.RuleEngine.Models.PromotionEligibilitiesRequestItem

Name Typ Description
billingCycle

Microsoft.Partner.Services.RuleEngine.Models.Enums.BillingCycleType

catalogItemId

string

id

integer

promotionId

string

quantity

integer

termDuration

string

Microsoft.Partner.Services.RuleEngine.Models.PromotionEligibility

Name Typ Description
errors

Microsoft.Partner.Services.RuleEngine.Models.PromotionEligibilityError[]

isEligible

boolean

promotionId

string

Microsoft.Partner.Services.RuleEngine.Models.PromotionEligibilityError

Name Typ Description
description

string

type

string

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

Name Typ Description
key

string

value

string