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}
Parâmetros do URI
Name | Em | Necessário | Tipo | Description |
---|---|---|---|---|
customer_id
|
path | True |
string |
ID do locatário do cliente. |
license
|
query |
string[] |
IDs de grupo de licença (ex: "Group1" que significa produtos AAD, "Group2" que significa produtos MDollar). |
Cabeçalho do Pedido
Name | Necessário | Tipo | Description |
---|---|---|---|
Authorization | True |
string |
Token de portador de autorização |
ms-correlationid |
string |
Usado para rastrear solicitações internamente. Se um ms-correlationid não for fornecido, o servidor gerará um novo para cada solicitação |
|
ms-cv |
string |
Usado para rastrear solicitações internamente. Se um ms-cv não for fornecido, o servidor gerará um novo para cada solicitação |
|
ms-requestid |
string |
Usado para idempotência de solicitações. Se um ms-requestid não for fornecido, o servidor gerará um novo para cada solicitação |
Respostas
Name | Tipo | Description |
---|---|---|
200 OK |
O pedido foi bem-sucedido. O corpo da resposta contém as SKUs do produto disponíveis para atribuição de licença. Media Types: "application/json", "text/json" |
Definições
Microsoft.Partner.Core.Collections.Link
Name | Tipo | Description |
---|---|---|
body |
string |
|
headers |
System. |
|
method |
string |
|
uri |
string |
Microsoft.Partner.Core.Collections.ResourceAttributes
Name | Tipo | Description |
---|---|---|
etag |
string |
|
objectType |
string |
Microsoft.Partner.Core.Collections.ResourceCollection[Microsoft.Partner.Providers.Contracts.V1.SubscribedSku]
Name | Tipo | Description |
---|---|---|
attributes | ||
items | ||
links | ||
totalCount |
integer |
Microsoft.Partner.Core.Collections.ResourceLinks
Name | Tipo | Description |
---|---|---|
next | ||
previous | ||
self |
Microsoft.Partner.Providers.Contracts.V1.ProductSku
Name | Tipo | Description |
---|---|---|
id |
string |
|
licenseGroupId |
enum:
|
|
name |
string |
|
skuPartNumber |
string |
|
targetType |
string |
Microsoft.Partner.Providers.Contracts.V1.ServicePlan
Name | Tipo | Description |
---|---|---|
capabilityStatus |
string |
|
displayName |
string |
|
id |
string |
|
serviceName |
string |
|
targetType |
string |
Microsoft.Partner.Providers.Contracts.V1.SubscribedSku
Name | Tipo | 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 | Tipo | Description |
---|---|---|
key |
string |
|
value |
string |