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 | ||
items |
Microsoft. |
Odpovědi
Name | Typ | Description |
---|---|---|
200 OK |
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
Microsoft.Partner.Core.Collections.Link
Name | Typ | Description |
---|---|---|
body |
string |
|
headers |
System. |
|
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 | ||
items |
Microsoft. |
|
links | ||
totalCount |
integer |
Microsoft.Partner.Core.Collections.ResourceLinks
Name | Typ | Description |
---|---|---|
next | ||
previous | ||
self |
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 | ||
items |
Microsoft. |
Microsoft.Partner.Services.RuleEngine.Models.PromotionEligibilitiesRequestItem
Name | Typ | Description |
---|---|---|
billingCycle |
Microsoft. |
|
catalogItemId |
string |
|
id |
integer |
|
promotionId |
string |
|
quantity |
integer |
|
termDuration |
string |
Microsoft.Partner.Services.RuleEngine.Models.PromotionEligibility
Name | Typ | Description |
---|---|---|
errors |
Microsoft. |
|
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 |