共用方式為


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 參數

名稱 位於 必要 類型 Description
customer_id
path True

string

客戶租用戶標識碼。

licenseGroupIds
query

string[]

授權群組標識碼(例如:“Group1”,意指 AAD 產品“Group2”,即 MDollar 產品)。

要求標頭

名稱 必要 類型 Description
Authorization True

string

授權持有人令牌

ms-correlationid

string

用於在內部追蹤要求。 如果未提供 ms-correlationid,伺服器會為每個要求產生新的要求

ms-cv

string

用於在內部追蹤要求。 如果未提供 ms-cv,伺服器將會為每個要求產生新的要求

ms-requestid

string

用於要求等冪性。 如果未提供 ms-requestid,伺服器將會為每個要求產生新的要求

回應

名稱 類型 Description
200 OK

Microsoft.Partner.Core.Collections.ResourceCollection[Microsoft.Partner.Providers.Contracts.V1.SubscribedSku]

要求成功。 回應本文包含可供授權指派的產品 SKU。

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

定義

名稱 Description
Microsoft.Partner.Core.Collections.Link
Microsoft.Partner.Core.Collections.ResourceAttributes
Microsoft.Partner.Core.Collections.ResourceCollection[Microsoft.Partner.Providers.Contracts.V1.SubscribedSku]
Microsoft.Partner.Core.Collections.ResourceLinks
Microsoft.Partner.Providers.Contracts.V1.ProductSku
Microsoft.Partner.Providers.Contracts.V1.ServicePlan
Microsoft.Partner.Providers.Contracts.V1.SubscribedSku
System.Collections.Generic.KeyValuePair[System.String,System.String]
名稱 類型 Description
body

string

headers

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

method

string

uri

string

Microsoft.Partner.Core.Collections.ResourceAttributes

名稱 類型 Description
etag

string

objectType

string

Microsoft.Partner.Core.Collections.ResourceCollection[Microsoft.Partner.Providers.Contracts.V1.SubscribedSku]

名稱 類型 Description
attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

items

Microsoft.Partner.Providers.Contracts.V1.SubscribedSku[]

links

Microsoft.Partner.Core.Collections.ResourceLinks

totalCount

integer

名稱 類型 Description
next

Microsoft.Partner.Core.Collections.Link

previous

Microsoft.Partner.Core.Collections.Link

self

Microsoft.Partner.Core.Collections.Link

Microsoft.Partner.Providers.Contracts.V1.ProductSku

名稱 類型 Description
id

string

licenseGroupId enum:
  • group1
  • group2
  • group3
  • none
name

string

skuPartNumber

string

targetType

string

Microsoft.Partner.Providers.Contracts.V1.ServicePlan

名稱 類型 Description
capabilityStatus

string

displayName

string

id

string

serviceName

string

targetType

string

Microsoft.Partner.Providers.Contracts.V1.SubscribedSku

名稱 類型 Description
activeUnits

integer

attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

availableUnits

integer

capabilityStatus

string

consumedUnits

integer

productSku

Microsoft.Partner.Providers.Contracts.V1.ProductSku

servicePlans

Microsoft.Partner.Providers.Contracts.V1.ServicePlan[]

suspendedUnits

integer

totalUnits

integer

warningUnits

integer

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

名稱 類型 Description
key

string

value

string