Megosztás a következőn keresztül:


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

Microsoft.Partner.Core.Collections.ResourceCollection[Microsoft.Partner.Service.Customers.Contracts.V1.PartnerRelationship]

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

Name Description
Microsoft.Partner.Core.Collections.Link
Microsoft.Partner.Core.Collections.ResourceAttributes
Microsoft.Partner.Core.Collections.ResourceCollection[Microsoft.Partner.Service.Customers.Contracts.V1.PartnerRelationship]
Microsoft.Partner.Core.Collections.ResourceLinks
Microsoft.Partner.Service.Customers.Contracts.V1.PartnerRelationship
System.Collections.Generic.KeyValuePair[System.String,System.String]
Name Típus Description
body

string

headers

System.Collections.Generic.KeyValuePair[System.String,System.String][]

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

Microsoft.Partner.Core.Collections.ResourceAttributes

items

Microsoft.Partner.Service.Customers.Contracts.V1.PartnerRelationship[]

links

Microsoft.Partner.Core.Collections.ResourceLinks

totalCount

integer

Name Típus Description
next

Microsoft.Partner.Core.Collections.Link

previous

Microsoft.Partner.Core.Collections.Link

self

Microsoft.Partner.Core.Collections.Link

Microsoft.Partner.Service.Customers.Contracts.V1.PartnerRelationship

Name Típus Description
attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

id

string

location

string

mpnId

string

name

string

relationshipType enum:
  • is_indirect_cloud_solution_provider_of
  • is_indirect_reseller_of
  • none
state

string

System.Collections.Generic.KeyValuePair[System.String,System.String]

Name Típus Description
key

string

value

string