Manage customer accounts - Get Licenses
GET https://api.partnercenter.microsoft.com/v1/customers/{customer_id}/users/{user_id}/licenses
GET https://api.partnercenter.microsoft.com/v1/customers/{customer_id}/users/{user_id}/licenses?licenseGroupIds={licenseGroupIds}
URI 매개 변수
Name | In(다음 안에) | 필수 | 형식 | Description |
---|---|---|---|---|
customer_id
|
path | True |
string |
고객 테넌트 ID입니다. |
user_id
|
path | True |
string |
할당된 라이선스를 얻기 위한 사용자의 사용자 ID 또는 사용자 계정 이름입니다. |
license
|
query |
string[] |
라이선스 그룹 ID(예: AAD 제품을 의미하는 "Group1", MDollar 제품을 의미하는 "Group2") |
요청 헤더
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 |
요청이 성공했습니다. 응답 본문에는 라이선스 목록이 포함됩니다. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
정의
Microsoft.Partner.Core.Collections.ResourceAttributes
Name | 형식 | Description |
---|---|---|
etag |
string |
|
objectType |
string |
Microsoft.Partner.Providers.Contracts.V1.License
Name | 형식 | Description |
---|---|---|
attributes | ||
productSku | ||
servicePlans |
Microsoft.Partner.Providers.Contracts.V1.ProductSku
Name | 형식 | Description |
---|---|---|
id |
string |
|
licenseGroupId |
enum:
|
|
name |
string |
|
skuPartNumber |
string |
|
targetType |
string |
Microsoft.Partner.Providers.Contracts.V1.ServicePlan
Name | 형식 | Description |
---|---|---|
capabilityStatus |
string |
|
displayName |
string |
|
id |
string |
|
serviceName |
string |
|
targetType |
string |