Manage customer accounts - Create self serve policy
Létrehozza az ügyfél önkiszolgáló szabályzatát.
POST https://api.partnercenter.microsoft.com/v{version}/SelfServePolicy
URI-paraméterek
Name | In | Kötelező | Típus | Description |
---|---|---|---|---|
version
|
path | True |
string |
Kérelem fejléce
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
Name | Kötelező | Típus | Description |
---|---|---|---|
Authorization | True |
string |
Engedélyezési tulajdonos jogkivonata |
ms-correlationid |
string |
A kérések belső nyomon követésére szolgál. Ha nincs megadva ms-correlationid, a kiszolgáló minden kéréshez létrehoz egy újat |
|
ms-cv |
string |
A kérések belső nyomon követésére szolgál. Ha nincs megadva ms-cv, a kiszolgáló minden kéréshez létrehoz egy újat |
|
ms-requestid |
string |
A kérések idempotensségéhez használatos. Ha nincs megadva ms-requestid, a kiszolgáló minden kéréshez létrehoz egy újat |
Kérelem törzse
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
Name | Típus | Description |
---|---|---|
selfServePolicy |
Microsoft. |
Az önkiszolgáló szabályzat. |
Válaszok
Name | Típus | Description |
---|---|---|
200 OK |
object |
OK Media Types: "application/json", "text/json", "application/xml", "text/xml" |
201 Created |
Microsoft. |
A kérés sikeres volt. Az önkiszolgáló szabályzat létrehozása sikeresen megtörtént. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Definíciók
Microsoft.Partner.Core.Collections.ResourceAttributes
Name | Típus | Description |
---|---|---|
etag |
string |
|
objectType |
string |
Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.Grantor
Name | Típus | Description |
---|---|---|
grantorType |
string |
|
tenantID |
string |
Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.Permission
Name | Típus | Description |
---|---|---|
action |
string |
|
resource |
string |
Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.SelfServeEntity
Name | Típus | Description |
---|---|---|
selfServeEntityType |
string |
|
tenantID |
string |
Microsoft.Partner.Service.Customers.Contracts.V1.SelfServePolicy.SelfServePolicy
Name | Típus | Description |
---|---|---|
attributes | ||
grantor |
Microsoft. |
|
id |
string |
|
permissions |
Microsoft. |
|
selfServeEntity |
Microsoft. |