Manage customer accounts - Get partner relationships
パートナーのリセラーのセグメントを取得します。 パートナー関係のオプションのフィルター処理を適用することもできます。 リセラーは、名前を含む文字列でのみフィルター処理できます。 現在、完全検索はサポートされていません。 リセラーは、{Microsoft.Partner.Core.Query.Filters.FieldFilterOperation.StartsWith} フィルター操作を使用してフィルター処理し、フィルター フィールドとして Name (Value added reseller name) を指定してフィルター処理できます。
GET https://api.partnercenter.microsoft.com/v{version}/relationships
GET https://api.partnercenter.microsoft.com/v{version}/relationships?relationship_type={relationship_type}&filter.operator={filter.operator}
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
version
|
path | True |
string |
|
filter.
|
query |
integer int32 |
||
relationship_type
|
query |
integer int32 |
リレーションシップの種類。 |
要求ヘッダー
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
名前 | 必須 | 型 | 説明 |
---|---|---|---|
Authorization | True |
string |
承認ベアラー トークン |
ms-correlationid |
string |
要求を内部的に追跡するために使用されます。 ms-correlationid が指定されていない場合、サーバーは要求ごとに新しいものを生成します |
|
ms-cv |
string |
要求を内部的に追跡するために使用されます。 ms-cv が指定されていない場合、サーバーは要求ごとに新しいものを生成します |
|
ms-requestid |
string |
要求のべき等性に使用されます。 ms-requestid が指定されていない場合、サーバーは要求ごとに新しいものを生成します |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
要求は成功しました。 応答本文には、パートナー関係の一覧が含まれています。 Media Types: "application/json", "text/json" |
定義
Microsoft.Partner.Core.Collections.Link
名前 | 型 | 説明 |
---|---|---|
body |
string |
|
headers |
System. |
|
method |
string |
|
uri |
string |
Microsoft.Partner.Core.Collections.ResourceAttributes
名前 | 型 | 説明 |
---|---|---|
etag |
string |
|
objectType |
string |
Microsoft.Partner.Core.Collections.ResourceCollection[Microsoft.Partner.Service.Customers.Contracts.V1.PartnerRelationship]
名前 | 型 | 説明 |
---|---|---|
attributes | ||
items |
Microsoft. |
|
links | ||
totalCount |
integer |
Microsoft.Partner.Core.Collections.ResourceLinks
名前 | 型 | 説明 |
---|---|---|
next | ||
previous | ||
self |
Microsoft.Partner.Service.Customers.Contracts.V1.PartnerRelationship
名前 | 型 | 説明 |
---|---|---|
attributes | ||
id |
string |
|
location |
string |
|
mpnId |
string |
|
name |
string |
|
relationshipType |
enum:
|
|
state |
string |
System.Collections.Generic.KeyValuePair[System.String,System.String]
名前 | 型 | 説明 |
---|---|---|
key |
string |
|
value |
string |