Manage customer accounts - Get Entitlements
GET https://api.partnercenter.microsoft.com/V1/customers/{customer_id}/entitlements
GET https://api.partnercenter.microsoft.com/V1/customers/{customer_id}/entitlements?entitlementtype={entitlementtype}&showExpiry={showExpiry}
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
customer_id
|
path | True |
string |
顧客 ID。 |
entitlementtype
|
query |
string |
エンタイトルメントの種類。 |
|
show
|
query |
boolean |
各資産の有効期限を表示するフラグ。 |
要求ヘッダー
名前 | 必須 | 型 | 説明 |
---|---|---|---|
Authorization | True |
string |
承認ベアラー トークン |
ms-correlationid |
string |
要求を内部的に追跡するために使用されます。 ms-correlationid が指定されていない場合、サーバーは要求ごとに新しいものを生成します |
|
ms-cv |
string |
要求を内部的に追跡するために使用されます。 ms-cv が指定されていない場合、サーバーは要求ごとに新しいものを生成します |
|
ms-requestid |
string |
要求のべき等性に使用されます。 ms-requestid が指定されていない場合、サーバーは要求ごとに新しいものを生成します |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
要求は成功しました。 応答本文にはエンタイトルメントが含まれています。 Media Types: "application/json", "text/json", "application/xml", "text/xml" |
定義
Microsoft.Partner.Core.Collections.Link
名前 | 型 | 説明 |
---|---|---|
body |
string |
|
headers |
System. |
|
method |
string |
|
uri |
string |
Microsoft.Partner.Core.Collections.ResourceAttributes
名前 | 型 | 説明 |
---|---|---|
etag |
string |
|
objectType |
string |
Microsoft.Partner.Core.Collections.ResourceCollection[Microsoft.Partner.Fulfillment.Services.ServiceLayer.Models.Entitlement]
名前 | 型 | 説明 |
---|---|---|
attributes | ||
items |
Microsoft. |
|
links | ||
totalCount |
integer |
Microsoft.Partner.Core.Collections.ResourceLinks
名前 | 型 | 説明 |
---|---|---|
next | ||
previous | ||
self |
Microsoft.Partner.Fulfillment.Services.ServiceLayer.Models.Artifact
名前 | 型 | 説明 |
---|---|---|
artifactType |
enum:
|
|
dynamicAttributes |
object |
Microsoft.Partner.Fulfillment.Services.ServiceLayer.Models.Entitlement
名前 | 型 | 説明 |
---|---|---|
entitledArtifacts |
Microsoft. |
|
entitlementType |
enum:
|
|
expiryDate |
string |
|
fulfillmentState |
string |
|
includedEntitlements |
Microsoft. |
|
minEventDate |
string |
|
productId |
string |
|
quantity |
integer |
|
quantityDetails |
Microsoft. |
|
referenceOrder |
Microsoft. |
|
skuId |
string |
Microsoft.Partner.Fulfillment.Services.ServiceLayer.Models.QuantityDetail
名前 | 型 | 説明 |
---|---|---|
quantity |
integer |
|
status |
string |
Microsoft.Partner.Fulfillment.Services.ServiceLayer.Models.ReferenceOrder
名前 | 型 | 説明 |
---|---|---|
alternateId |
string |
|
id |
string |
|
lineItemId |
string |
System.Collections.Generic.KeyValuePair[System.String,System.String]
名前 | 型 | 説明 |
---|---|---|
key |
string |
|
value |
string |