Delen via


Manage orders - Get promotion eligibilities

Haalt de promotiemogelijkheden op op basis van de geslaagde geschiktheidsaanvraagitems voor promotie.

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

URI-parameters

Name In Vereist Type Description
customer_id
path True

string

version
path True

string

Aanvraagkoptekst

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

Name Vereist Type Description
Authorization True

string

Autorisatie Bearer-token

MS-CorrelationId

string

Wordt gebruikt voor het intern bijhouden van aanvragen. Als er geen MS-CorrelationId is opgegeven, genereert de server een nieuwe voor elke aanvraag

MS-CV

string

Wordt gebruikt voor het intern bijhouden van aanvragen. Als er geen MS-CV wordt opgegeven, genereert de server een nieuwe voor elke aanvraag

MS-RequestId

string

Wordt gebruikt voor idempotentie van aanvragen. Als er geen MS-RequestId is opgegeven, genereert de server een nieuwe voor elke aanvraag

Aanvraagbody

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

Name Type Description
attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

items

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

Antwoorden

Name Type Description
200 OK

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

De aanvraag is geslaagd. De hoofdtekst van het antwoord bevat de geschiktheidsinformatie voor de promotie.

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

Definities

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 Type Description
body

string

headers

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

method

string

uri

string

Microsoft.Partner.Core.Collections.ResourceAttributes

Name Type Description
etag

string

objectType

string

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

Name Type Description
attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

items

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

links

Microsoft.Partner.Core.Collections.ResourceLinks

totalCount

integer

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

Integer

1

Integer

2

Integer

3

Integer

4

Integer

5

Integer

Microsoft.Partner.Services.RuleEngine.Models.PromotionEligibilitiesRequest

Name Type Description
attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

items

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

Microsoft.Partner.Services.RuleEngine.Models.PromotionEligibilitiesRequestItem

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

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

isEligible

boolean

promotionId

string

Microsoft.Partner.Services.RuleEngine.Models.PromotionEligibilityError

Name Type Description
description

string

type

string

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

Name Type Description
key

string

value

string