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}
URI-parametrar
Name | I | Obligatorisk | Typ | Description |
---|---|---|---|---|
customer_id
|
path | True |
string |
Kund-ID:t. |
entitlementtype
|
query |
string |
Berättigandetyp. |
|
show
|
query |
boolean |
Flagga för att visa förfallodatum för varje tillgång. |
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 rättigheter. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
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.Fulfillment.Services.ServiceLayer.Models.Entitlement]
Name | Typ | Description |
---|---|---|
attributes | ||
items |
Microsoft. |
|
links | ||
totalCount |
integer |
Microsoft.Partner.Core.Collections.ResourceLinks
Name | Typ | Description |
---|---|---|
next | ||
previous | ||
self |
Microsoft.Partner.Fulfillment.Services.ServiceLayer.Models.Artifact
Name | Typ | Description |
---|---|---|
artifactType |
enum:
|
|
dynamicAttributes |
object |
Microsoft.Partner.Fulfillment.Services.ServiceLayer.Models.Entitlement
Name | Typ | 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
Name | Typ | Description |
---|---|---|
quantity |
integer |
|
status |
string |
Microsoft.Partner.Fulfillment.Services.ServiceLayer.Models.ReferenceOrder
Name | Typ | Description |
---|---|---|
alternateId |
string |
|
id |
string |
|
lineItemId |
string |
System.Collections.Generic.KeyValuePair[System.String,System.String]
Name | Typ | Description |
---|---|---|
key |
string |
|
value |
string |