Manage customer accounts - Get partner relationships by customer ID
Lekéri a partner viszonteladóinak egy szegmensét egy adott ügyfél-azonosítóhoz.
GET https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/relationships
URI-paraméterek
Name | In | Kötelező | Típus | Description |
---|---|---|---|---|
customer_id
|
path | True |
string |
Az ügyfél-azonosító. |
version
|
path | True |
string |
Kérelem fejléce
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ére szolgál. Ha nincs megadva ms-requestid, a kiszolgáló minden kéréshez újat hoz létre |
Válaszok
Name | Típus | Description |
---|---|---|
200 OK |
A kérés sikeres volt. A válasz törzse tartalmazza a megadott ügyfélhez társított partnerkapcsolatok listáját. Media Types: "application/json", "text/json" |
Definíciók
Microsoft.Partner.Core.Collections.Link
Name | Típus | Description |
---|---|---|
body |
string |
|
headers |
System. |
|
method |
string |
|
uri |
string |
Microsoft.Partner.Core.Collections.ResourceAttributes
Name | Típus | Description |
---|---|---|
etag |
string |
|
objectType |
string |
Microsoft.Partner.Core.Collections.ResourceCollection[Microsoft.Partner.Service.Customers.Contracts.V1.PartnerRelationship]
Name | Típus | Description |
---|---|---|
attributes | ||
items |
Microsoft. |
|
links | ||
totalCount |
integer |
Microsoft.Partner.Core.Collections.ResourceLinks
Name | Típus | Description |
---|---|---|
next | ||
previous | ||
self |
Microsoft.Partner.Service.Customers.Contracts.V1.PartnerRelationship
Name | Típus | Description |
---|---|---|
attributes | ||
id |
string |
|
location |
string |
|
mpnId |
string |
|
name |
string |
|
relationshipType |
enum:
|
|
state |
string |
System.Collections.Generic.KeyValuePair[System.String,System.String]
Name | Típus | Description |
---|---|---|
key |
string |
|
value |
string |