Dela via


Manage customer accounts - Get managed services

Hämtar en kunds lista över hanterade tjänster.

GET https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/managedservices

URI-parametrar

Name I Obligatorisk Typ Description
customer_id
path True

string

Kundens active directory-klientidentifierare.

version
path True

string

Begärandehuvud

Name Obligatorisk Typ Description
Authorization True

string

Token för auktoriseringsbärare

ms-correlationid

string

Används för att spåra begäranden internt. Om ett ms-correlationid inte anges genererar servern en ny för varje begäran

ms-cv

string

Används för att spåra begäranden internt. Om en ms-cv inte tillhandahålls genererar servern en ny för varje begäran

ms-requestid

string

Används för idempotens för begäranden. Om ett ms-requestid inte har angetts genererar servern en ny för varje begäran

Svar

Name Typ Description
200 OK

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

Begäran lyckades. Svarstexten innehåller listan över hanterade tjänster.

Media Types: "application/json", "text/json"

Definitioner

Name Description
Microsoft.Partner.Core.Collections.Link
Microsoft.Partner.Core.Collections.ResourceAttributes
Microsoft.Partner.Core.Collections.ResourceCollection[Microsoft.Partner.Service.Customers.Contracts.V1.ManagedService]
Microsoft.Partner.Core.Collections.ResourceLinks
Microsoft.Partner.Service.Customers.Contracts.V1.ManagedService
Microsoft.Partner.Service.Customers.Contracts.V1.ManagedServiceLinks
System.Collections.Generic.KeyValuePair[System.String,System.String]
Name Typ Description
body

string

headers

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

method

string

uri

string

Microsoft.Partner.Core.Collections.ResourceAttributes

Name Typ Description
etag

string

objectType

string

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

Name Typ Description
attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

items

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

links

Microsoft.Partner.Core.Collections.ResourceLinks

totalCount

integer

Name Typ 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.ManagedService

Name Typ Description
attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

groupName

string

id

string

links

Microsoft.Partner.Service.Customers.Contracts.V1.ManagedServiceLinks

name

string

Name Typ Description
adminService

Microsoft.Partner.Core.Collections.Link

next

Microsoft.Partner.Core.Collections.Link

previous

Microsoft.Partner.Core.Collections.Link

self

Microsoft.Partner.Core.Collections.Link

serviceHealth

Microsoft.Partner.Core.Collections.Link

serviceTicket

Microsoft.Partner.Core.Collections.Link

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

Name Typ Description
key

string

value

string