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}
Parâmetros de URI
Nome | Em | Obrigatório | Tipo | Description |
---|---|---|---|---|
customer_id
|
path | True |
string |
A ID do cliente. |
entitlementtype
|
query |
string |
O tipo de direito. |
|
show
|
query |
boolean |
Sinalizador para mostrar a data de expiração de cada ativo. |
Cabeçalho da solicitação
Nome | Obrigatório | Tipo | Description |
---|---|---|---|
Authorization | True |
string |
Token de portador de autorização |
ms-correlationid |
string |
Usado para acompanhar 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 acompanhar 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 idempotency de solicitações. Se uma ms-requestid não for fornecida, o servidor gerará uma nova para cada solicitação |
Respostas
Nome | Tipo | Description |
---|---|---|
200 OK |
A solicitação foi bem-sucedida. O corpo da resposta contém direitos. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Definições
Microsoft.Partner.Core.Collections.Link
Nome | Tipo | Description |
---|---|---|
body |
string |
|
headers |
System. |
|
method |
string |
|
uri |
string |
Microsoft.Partner.Core.Collections.ResourceAttributes
Nome | Tipo | Description |
---|---|---|
etag |
string |
|
objectType |
string |
Microsoft.Partner.Core.Collections.ResourceCollection[Microsoft.Partner.Fulfillment.Services.ServiceLayer.Models.Entitlement]
Nome | Tipo | Description |
---|---|---|
attributes | ||
items |
Microsoft. |
|
links | ||
totalCount |
integer |
Microsoft.Partner.Core.Collections.ResourceLinks
Nome | Tipo | Description |
---|---|---|
next | ||
previous | ||
self |
Microsoft.Partner.Fulfillment.Services.ServiceLayer.Models.Artifact
Nome | Tipo | Description |
---|---|---|
artifactType |
enum:
|
|
dynamicAttributes |
object |
Microsoft.Partner.Fulfillment.Services.ServiceLayer.Models.Entitlement
Nome | Tipo | Description |
---|---|---|
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
Nome | Tipo | Description |
---|---|---|
quantity |
integer |
|
status |
string |
Microsoft.Partner.Fulfillment.Services.ServiceLayer.Models.ReferenceOrder
Nome | Tipo | Description |
---|---|---|
alternateId |
string |
|
id |
string |
|
lineItemId |
string |
System.Collections.Generic.KeyValuePair[System.String,System.String]
Nome | Tipo | Description |
---|---|---|
key |
string |
|
value |
string |