다음을 통해 공유


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 매개 변수

Name In(다음 안에) 필수 형식 Description
customer_id
path True

string

고객 ID입니다.

entitlementtype
query

string

권한 유형입니다.

showExpiry
query

boolean

각 자산의 만료 날짜를 표시하는 플래그입니다.

요청 헤더

Name 필수 형식 Description
Authorization True

string

권한 부여 전달자 토큰

ms-correlationid

string

내부적으로 요청을 추적하는 데 사용됩니다. ms-correlationid가 제공되지 않으면 서버는 각 요청에 대해 새 상관 관계를 생성합니다.

ms-cv

string

내부적으로 요청을 추적하는 데 사용됩니다. ms-cv 제공되지 않으면 서버는 각 요청에 대해 새 ms-cv 생성합니다.

ms-requestid

string

요청의 idempotency에 사용됩니다. ms-requestid가 제공되지 않으면 서버는 각 요청에 대해 새 요청을 생성합니다.

응답

Name 형식 Description
200 OK

Microsoft.Partner.Core.Collections.ResourceCollection[Microsoft.Partner.Fulfillment.Services.ServiceLayer.Models.Entitlement]

요청이 성공했습니다. 응답 본문에는 자격이 포함됩니다.

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

정의

Name Description
Microsoft.Partner.Core.Collections.Link
Microsoft.Partner.Core.Collections.ResourceAttributes
Microsoft.Partner.Core.Collections.ResourceCollection[Microsoft.Partner.Fulfillment.Services.ServiceLayer.Models.Entitlement]
Microsoft.Partner.Core.Collections.ResourceLinks
Microsoft.Partner.Fulfillment.Services.ServiceLayer.Models.Artifact
Microsoft.Partner.Fulfillment.Services.ServiceLayer.Models.Entitlement
Microsoft.Partner.Fulfillment.Services.ServiceLayer.Models.QuantityDetail
Microsoft.Partner.Fulfillment.Services.ServiceLayer.Models.ReferenceOrder
System.Collections.Generic.KeyValuePair[System.String,System.String]
Name 형식 Description
body

string

headers

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

method

string

uri

string

Microsoft.Partner.Core.Collections.ResourceAttributes

Name 형식 Description
etag

string

objectType

string

Microsoft.Partner.Core.Collections.ResourceCollection[Microsoft.Partner.Fulfillment.Services.ServiceLayer.Models.Entitlement]

Name 형식 Description
attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

items

Microsoft.Partner.Fulfillment.Services.ServiceLayer.Models.Entitlement[]

links

Microsoft.Partner.Core.Collections.ResourceLinks

totalCount

integer

Name 형식 Description
next

Microsoft.Partner.Core.Collections.Link

previous

Microsoft.Partner.Core.Collections.Link

self

Microsoft.Partner.Core.Collections.Link

Microsoft.Partner.Fulfillment.Services.ServiceLayer.Models.Artifact

Name 형식 Description
artifactType enum:
  • product_key
  • reservedinstance
  • unknown
  • virtual_machine_reserved_instance
dynamicAttributes

object

Microsoft.Partner.Fulfillment.Services.ServiceLayer.Models.Entitlement

Name 형식 Description
entitledArtifacts

Microsoft.Partner.Fulfillment.Services.ServiceLayer.Models.Artifact[]

entitlementType enum:
  • reservedinstance
  • software
  • unknown
  • virtual_machine_reserved_instance
expiryDate

string

fulfillmentState

string

includedEntitlements

Microsoft.Partner.Fulfillment.Services.ServiceLayer.Models.Entitlement[]

minEventDate

string

productId

string

quantity

integer

quantityDetails

Microsoft.Partner.Fulfillment.Services.ServiceLayer.Models.QuantityDetail[]

referenceOrder

Microsoft.Partner.Fulfillment.Services.ServiceLayer.Models.ReferenceOrder

skuId

string

Microsoft.Partner.Fulfillment.Services.ServiceLayer.Models.QuantityDetail

Name 형식 Description
quantity

integer

status

string

Microsoft.Partner.Fulfillment.Services.ServiceLayer.Models.ReferenceOrder

Name 형식 Description
alternateId

string

id

string

lineItemId

string

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

Name 형식 Description
key

string

value

string