Manage orders - Get promotion eligibilities
전달된 프로모션 자격 요청 항목에 따라 프로모션 자격을 가져옵니다.
POST https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/promotionEligibilities
URI 매개 변수
Name | In(다음 안에) | 필수 | 형식 | Description |
---|---|---|---|---|
customer_id
|
path | True |
string |
|
version
|
path | True |
string |
요청 헤더
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
Name | 필수 | 형식 | Description |
---|---|---|---|
Authorization | True |
string |
권한 부여 전달자 토큰 |
MS-CorrelationId |
string |
내부적으로 요청을 추적하는 데 사용됩니다. MS-CorrelationId 제공되지 않으면 서버는 각 요청에 대해 새 MS-CorrelationId 생성합니다. |
|
MS-CV |
string |
내부적으로 요청을 추적하는 데 사용됩니다. MS-CV 제공되지 않으면 서버는 각 요청에 대해 새 MS-CV 생성합니다. |
|
MS-RequestId |
string |
요청의 idempotency에 사용됩니다. MS-RequestId 제공되지 않으면 서버는 각 요청에 대해 새 MS-RequestId 생성합니다. |
요청 본문
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
Name | 형식 | Description |
---|---|---|
attributes | ||
items |
Microsoft. |
응답
Name | 형식 | Description |
---|---|---|
200 OK |
요청이 성공했습니다. 응답 본문에는 프로모션 자격 정보가 포함됩니다. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
정의
Microsoft.Partner.Core.Collections.Link
Name | 형식 | Description |
---|---|---|
body |
string |
|
headers |
System. |
|
method |
string |
|
uri |
string |
Microsoft.Partner.Core.Collections.ResourceAttributes
Name | 형식 | Description |
---|---|---|
etag |
string |
|
objectType |
string |
Microsoft.Partner.Core.Collections.ResourceCollection`1[Microsoft.Partner.Services.RuleEngine.Models.PromotionEligibility]
Name | 형식 | Description |
---|---|---|
attributes | ||
items |
Microsoft. |
|
links | ||
totalCount |
integer |
Microsoft.Partner.Core.Collections.ResourceLinks
Name | 형식 | Description |
---|---|---|
next | ||
previous | ||
self |
Microsoft.Partner.Services.RuleEngine.Models.Enums.BillingCycleType
Name | 형식 | Description |
---|---|---|
0 |
Integer |
|
1 |
Integer |
|
2 |
Integer |
|
3 |
Integer |
|
4 |
Integer |
|
5 |
Integer |
Microsoft.Partner.Services.RuleEngine.Models.PromotionEligibilitiesRequest
Name | 형식 | Description |
---|---|---|
attributes | ||
items |
Microsoft. |
Microsoft.Partner.Services.RuleEngine.Models.PromotionEligibilitiesRequestItem
Name | 형식 | Description |
---|---|---|
billingCycle |
Microsoft. |
|
catalogItemId |
string |
|
id |
integer |
|
promotionId |
string |
|
quantity |
integer |
|
termDuration |
string |
Microsoft.Partner.Services.RuleEngine.Models.PromotionEligibility
Name | 형식 | Description |
---|---|---|
errors |
Microsoft. |
|
isEligible |
boolean |
|
promotionId |
string |
Microsoft.Partner.Services.RuleEngine.Models.PromotionEligibilityError
Name | 형식 | Description |
---|---|---|
description |
string |
|
type |
string |
System.Collections.Generic.KeyValuePair[System.String,System.String]
Name | 형식 | Description |
---|---|---|
key |
string |
|
value |
string |