Manage customer accounts - Create self serve policy
Cria as políticas de autoatendimento para um cliente.
POST https://api.partnercenter.microsoft.com/v{version}/SelfServePolicy
Parâmetros do URI
Name | Em | Necessário | Tipo | Description |
---|---|---|---|---|
version
|
path | True |
string |
Cabeçalho do Pedido
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
Name | Necessário | Tipo | Description |
---|---|---|---|
Authorization | True |
string |
Token de portador de autorização |
ms-correlationid |
string |
Usado para rastrear solicitações internamente. Se um ms-correlationid não for fornecido, o servidor gerará um novo para cada solicitação |
|
ms-cv |
string |
Usado para rastrear solicitações internamente. Se um ms-cv não for fornecido, o servidor gerará um novo para cada solicitação |
|
ms-requestid |
string |
Usado para idempotência de solicitações. Se um ms-requestid não for fornecido, o servidor gerará um novo para cada solicitação |
Corpo do Pedido
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
Name | Tipo | Description |
---|---|---|
selfServePolicy |
Microsoft. |
A política de autosserviço. |
Respostas
Name | Tipo | Description |
---|---|---|
200 OK |
object |
OK Media Types: "application/json", "text/json", "application/xml", "text/xml" |
201 Created |
Microsoft. |
O pedido foi bem-sucedido. A política de autoatendimento é criada com êxito. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Definições
Microsoft.Partner.Core.Collections.ResourceAttributes
Name | Tipo | Description |
---|---|---|
etag |
string |
|
objectType |
string |
Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.Grantor
Name | Tipo | Description |
---|---|---|
grantorType |
string |
|
tenantID |
string |
Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.Permission
Name | Tipo | Description |
---|---|---|
action |
string |
|
resource |
string |
Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.SelfServeEntity
Name | Tipo | Description |
---|---|---|
selfServeEntityType |
string |
|
tenantID |
string |
Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.SelfServePolicy
Name | Tipo | Description |
---|---|---|
attributes | ||
grantor |
Microsoft. |
|
id |
string |
|
permissions |
Microsoft. |
|
selfServeEntity |
Microsoft. |