Manage customer accounts - Get self serve policies
Hämtar självbetjäningsprincipen för en kund.
GET https://api.partnercenter.microsoft.com/v{version}/SelfServePolicy
GET https://api.partnercenter.microsoft.com/v{version}/SelfServePolicy?entity_id={entity_id}
URI-parametrar
Name | I | Obligatorisk | Typ | Description |
---|---|---|---|---|
version
|
path | True |
string |
|
entity_id
|
query |
string |
Entitets-ID. |
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. Självbetjäningsprincipen har hämtats. Media Types: "application/json", "text/json" |
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.Service.Customers.Contracts.V1.SelfServePolicy.SelfServePolicy]
Name | Typ | Description |
---|---|---|
attributes | ||
items |
Microsoft. |
|
links | ||
totalCount |
integer |
Microsoft.Partner.Core.Collections.ResourceLinks
Name | Typ | Description |
---|---|---|
next | ||
previous | ||
self |
Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.Grantor
Name | Typ | Description |
---|---|---|
grantorType |
string |
|
tenantID |
string |
Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.Permission
Name | Typ | Description |
---|---|---|
action |
string |
|
resource |
string |
Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.SelfServeEntity
Name | Typ | Description |
---|---|---|
selfServeEntityType |
string |
|
tenantID |
string |
Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.SelfServePolicy
Name | Typ | Description |
---|---|---|
attributes | ||
grantor |
Microsoft. |
|
id |
string |
|
permissions |
Microsoft. |
|
selfServeEntity |
Microsoft. |
System.Collections.Generic.KeyValuePair[System.String,System.String]
Name | Typ | Description |
---|---|---|
key |
string |
|
value |
string |