Manage customer accounts - Get Subscribed Skus
GET https://api.partnercenter.microsoft.com/v1/customers/{customer_id}/subscribedskus
GET https://api.partnercenter.microsoft.com/v1/customers/{customer_id}/subscribedskus?licenseGroupIds={licenseGroupIds}
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
customer_id
|
path | True |
string |
顧客テナント ID。 |
license
|
query |
string[] |
ライセンス グループ ID (例: AAD 製品を意味する "Group1"、MDollar 製品を意味する "Group2")。 |
要求ヘッダー
名前 | 必須 | 型 | 説明 |
---|---|---|---|
Authorization | True |
string |
承認ベアラー トークン |
ms-correlationid |
string |
要求を内部的に追跡するために使用されます。 ms-correlationid が指定されていない場合、サーバーは要求ごとに新しいものを生成します |
|
ms-cv |
string |
要求を内部的に追跡するために使用されます。 ms-cv が指定されていない場合、サーバーは要求ごとに新しいものを生成します |
|
ms-requestid |
string |
要求のべき等性に使用されます。 ms-requestid が指定されていない場合、サーバーは要求ごとに新しいものを生成します |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
要求は成功しました。 応答本文には、ライセンスの割り当てに使用できる製品 SKU が含まれています。 Media Types: "application/json", "text/json" |
定義
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.Providers.Contracts.V1.SubscribedSku]
名前 | 型 | 説明 |
---|---|---|
attributes | ||
items | ||
links | ||
totalCount |
integer |
Microsoft.Partner.Core.Collections.ResourceLinks
名前 | 型 | 説明 |
---|---|---|
next | ||
previous | ||
self |
Microsoft.Partner.Providers.Contracts.V1.ProductSku
名前 | 型 | 説明 |
---|---|---|
id |
string |
|
licenseGroupId |
enum:
|
|
name |
string |
|
skuPartNumber |
string |
|
targetType |
string |
Microsoft.Partner.Providers.Contracts.V1.ServicePlan
名前 | 型 | 説明 |
---|---|---|
capabilityStatus |
string |
|
displayName |
string |
|
id |
string |
|
serviceName |
string |
|
targetType |
string |
Microsoft.Partner.Providers.Contracts.V1.SubscribedSku
名前 | 型 | 説明 |
---|---|---|
activeUnits |
integer |
|
attributes | ||
availableUnits |
integer |
|
capabilityStatus |
string |
|
consumedUnits |
integer |
|
productSku | ||
servicePlans | ||
suspendedUnits |
integer |
|
totalUnits |
integer |
|
warningUnits |
integer |
System.Collections.Generic.KeyValuePair[System.String,System.String]
名前 | 型 | 説明 |
---|---|---|
key |
string |
|
value |
string |