Delen via


Manage customer accounts - Get Directory Roles by CustomerId

GET https://api.partnercenter.microsoft.com/v1/customers/{customer_id}/directoryroles

URI-parameters

Name In Vereist Type Description
customer_id
path True

string

De tenant-id van de klant.

Aanvraagkoptekst

Name Vereist Type Description
Authorization True

string

Bearer-token voor autorisatie

ms-correlationid

string

Wordt intern gebruikt voor het bijhouden van aanvragen. Als er geen ms-correlationid is opgegeven, genereert de server een nieuwe voor elke aanvraag

ms-cv

string

Wordt intern gebruikt voor het bijhouden van aanvragen. Als er geen ms-cv is opgegeven, genereert de server een nieuwe voor elke aanvraag

ms-requestid

string

Wordt gebruikt voor idempotentie van aanvragen. Als er geen ms-requestid is opgegeven, genereert de server een nieuwe voor elke aanvraag

Antwoorden

Name Type Description
200 OK

Microsoft.Partner.Core.Collections.ResourceCollection[Microsoft.Partner.Providers.Contracts.V1.DirectoryRole]

De aanvraag is geslaagd. De hoofdtekst van het antwoord bevat een lijst met ondersteunde directoryrollen van klanten voor alle klanten.

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

Definities

Name Description
Microsoft.Partner.Core.Collections.Link
Microsoft.Partner.Core.Collections.ResourceAttributes
Microsoft.Partner.Core.Collections.ResourceCollection[Microsoft.Partner.Providers.Contracts.V1.DirectoryRole]
Microsoft.Partner.Core.Collections.ResourceLinks
Microsoft.Partner.Providers.Contracts.V1.DirectoryRole
System.Collections.Generic.KeyValuePair[System.String,System.String]
Name Type Description
body

string

headers

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

method

string

uri

string

Microsoft.Partner.Core.Collections.ResourceAttributes

Name Type Description
etag

string

objectType

string

Microsoft.Partner.Core.Collections.ResourceCollection[Microsoft.Partner.Providers.Contracts.V1.DirectoryRole]

Name Type Description
attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

items

Microsoft.Partner.Providers.Contracts.V1.DirectoryRole[]

links

Microsoft.Partner.Core.Collections.ResourceLinks

totalCount

integer

Name Type Description
next

Microsoft.Partner.Core.Collections.Link

previous

Microsoft.Partner.Core.Collections.Link

self

Microsoft.Partner.Core.Collections.Link

Microsoft.Partner.Providers.Contracts.V1.DirectoryRole

Name Type Description
attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

id

string

name

string

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

Name Type Description
key

string

value

string