다음을 통해 공유


Manage customer accounts - Get self serve policy by ID

ID별로 셀프 서비스 정책을 가져옵니다.

GET https://api.partnercenter.microsoft.com/v{version}/SelfServePolicy/{id}

URI 매개 변수

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

string

ID입니다.

version
path True

string

요청 헤더

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.Service.Customers.Contracts.V1.SelfServePolicy.SelfServePolicy]

요청이 성공했습니다. 셀프 서비스 정책이 성공적으로 검색됩니다.

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.Service.Customers.Contracts.V1.SelfServePolicy.SelfServePolicy]
Microsoft.Partner.Core.Collections.ResourceLinks
Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.Grantor
Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.Permission
Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.SelfServeEntity
Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.SelfServePolicy
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.Service.Customers.Contracts.V1.SelfServePolicy.SelfServePolicy]

Name 형식 Description
attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

items

Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.SelfServePolicy[]

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.Service.Customers.Contracts.V1.SelfServePolicy.Grantor

Name 형식 Description
grantorType

string

tenantID

string

Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.Permission

Name 형식 Description
action

string

resource

string

Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.SelfServeEntity

Name 형식 Description
selfServeEntityType

string

tenantID

string

Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.SelfServePolicy

Name 형식 Description
attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

grantor

Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.Grantor

id

string

permissions

Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.Permission[]

selfServeEntity

Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.SelfServeEntity

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

Name 형식 Description
key

string

value

string