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-parametrar
Name | I | Obligatorisk | Typ | Description |
---|---|---|---|---|
customer_id
|
path | True |
string |
Kundens klientorganisations-ID. |
license
|
query |
string[] |
licensgrupp-ID:ar (t.ex. "Grupp1" vilket innebär AAD-produkter, "Group2" vilket innebär MDollar-produkter). |
Begärandehuvud
Name | Obligatorisk | Typ | Description |
---|---|---|---|
Authorization | True |
string |
Token för auktoriseringsbärare |
ms-correlationid |
string |
Används för att spåra begäranden internt. Om ett ms-correlationid inte anges genererar servern en ny för varje begäran |
|
ms-cv |
string |
Används för att spåra begäranden internt. Om en ms-cv inte tillhandahålls genererar servern en ny för varje begäran |
|
ms-requestid |
string |
Används för idempotens för begäranden. Om ett ms-requestid inte har angetts genererar servern en ny för varje begäran |
Svar
Name | Typ | Description |
---|---|---|
200 OK |
Begäran lyckades. Svarstexten innehåller de produkt-SKU:er som är tillgängliga för licenstilldelning. Media Types: "application/json", "text/json" |
Definitioner
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[Microsoft.Partner.Providers.Contracts.V1.SubscribedSku]
Name | Typ | Description |
---|---|---|
attributes | ||
items | ||
links | ||
totalCount |
integer |
Microsoft.Partner.Core.Collections.ResourceLinks
Name | Typ | Description |
---|---|---|
next | ||
previous | ||
self |
Microsoft.Partner.Providers.Contracts.V1.ProductSku
Name | Typ | Description |
---|---|---|
id |
string |
|
licenseGroupId |
enum:
|
|
name |
string |
|
skuPartNumber |
string |
|
targetType |
string |
Microsoft.Partner.Providers.Contracts.V1.ServicePlan
Name | Typ | Description |
---|---|---|
capabilityStatus |
string |
|
displayName |
string |
|
id |
string |
|
serviceName |
string |
|
targetType |
string |
Microsoft.Partner.Providers.Contracts.V1.SubscribedSku
Name | Typ | Description |
---|---|---|
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]
Name | Typ | Description |
---|---|---|
key |
string |
|
value |
string |