Manage customer accounts - Created Customer User
POST https://api.partnercenter.microsoft.com/v1/customers/{customer_id}/users
Parameter URI
Nama | Dalam | Diperlukan | Jenis | Deskripsi |
---|---|---|---|---|
customer_id
|
path | True |
string |
Id penyewa pelanggan. |
Header Permintaan
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
Nama | Diperlukan | Jenis | Deskripsi |
---|---|---|---|
Authorization | True |
string |
Token Pembawa Otorisasi |
ms-correlationid |
string |
Digunakan untuk melacak permintaan secara internal. Jika ms-correlationid tidak disediakan, server akan menghasilkan yang baru untuk setiap permintaan |
|
ms-cv |
string |
Digunakan untuk melacak permintaan secara internal. Jika ms-cv tidak disediakan, server akan menghasilkan yang baru untuk setiap permintaan |
|
ms-requestid |
string |
Digunakan untuk idempotensi permintaan. Jika ms-requestid tidak disediakan, server akan menghasilkan yang baru untuk setiap permintaan |
Isi Permintaan
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
Nama | Jenis | Deskripsi |
---|---|---|
displayName |
string |
|
firstName |
string |
|
id |
string |
|
immutableId |
string |
|
lastDirectorySyncTime |
string |
|
lastName |
string |
|
links | ||
passwordProfile | ||
phoneNumber |
string |
|
softDeletionTime |
string |
|
state |
enum:
|
|
usageLocation |
string |
|
userDomainType |
enum:
|
|
userPrincipalName |
string |
Respons
Nama | Jenis | Deskripsi |
---|---|---|
200 OK |
object |
OK Media Types: "application/json", "text/json", "application/xml", "text/xml" |
201 Created |
Permintaan berhasil. Isi respons berisi pengguna pelanggan yang dibuat. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Definisi
Microsoft.Partner.Core.Collections.Link
Nama | Jenis | Deskripsi |
---|---|---|
body |
string |
|
headers |
System. |
|
method |
string |
|
uri |
string |
Microsoft.Partner.Core.Collections.ResourceAttributes
Nama | Jenis | Deskripsi |
---|---|---|
etag |
string |
|
objectType |
string |
Microsoft.Partner.Core.Collections.ResourceLinks
Nama | Jenis | Deskripsi |
---|---|---|
next | ||
previous | ||
self |
Microsoft.Partner.Providers.Contracts.V1.CustomerUser
Nama | Jenis | Deskripsi |
---|---|---|
attributes | ||
displayName |
string |
|
firstName |
string |
|
id |
string |
|
immutableId |
string |
|
lastDirectorySyncTime |
string |
|
lastName |
string |
|
links | ||
passwordProfile | ||
phoneNumber |
string |
|
softDeletionTime |
string |
|
state |
enum:
|
|
usageLocation |
string |
|
userDomainType |
enum:
|
|
userPrincipalName |
string |
Microsoft.Partner.Providers.Contracts.V1.PasswordProfile
Nama | Jenis | Deskripsi |
---|---|---|
forceChangePassword |
boolean |
|
password |
System.Collections.Generic.KeyValuePair[System.String,System.String]
Nama | Jenis | Deskripsi |
---|---|---|
key |
string |
|
value |
string |
System.Security.SecureString
Nama | Jenis | Deskripsi |
---|---|---|
length |
integer |