Dela via


Manage orders - Get transition eligibilities for a subscription.

Hämtar övergångsberättiganden för en prenumeration.

GET https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/subscriptions/{subscription_id}/transitioneligibilities
GET https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/subscriptions/{subscription_id}/transitioneligibilities?eligibilityType={eligibilityType}

URI-parametrar

Name I Obligatorisk Typ Description
customer_id
path True

string

Kund-ID: t.

subscription_id
path True

string

Prenumerations-ID:t.

version
path True

string

eligibilityType
query

string

Typövergångsberättigande.

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.Services.Subscriptions.V1.Models.TransitionEligibility]

Begäran lyckades. Svarstexten innehåller övergångsberättigandena.

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

400 Bad Request

Det saknades eller ogiltiga indata. Svarstexten innehåller felinformationen.

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

401 Unauthorized

Begäran autentiserades inte. Klienten måste autentisera med partner-API-tjänsten först.

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

403 Forbidden

Begäran autentiserades men nekades eftersom anroparen inte har behörighet att anropa den.

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

404 Not Found

Resursen hittades inte eller är inte tillgänglig med de angivna indataparametrarna.

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

500 Internal Server Error

Partner-API-tjänsten eller något av dess beroenden kunde inte uppfylla begäran. Anropare kan försöka igen.

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.Services.Subscriptions.V1.Models.TransitionEligibility]
Microsoft.Partner.Core.Collections.ResourceLinks
Microsoft.Partner.Services.Subscriptions.V1.Models.TransitionEligibility
Microsoft.Partner.Services.Subscriptions.V1.Models.TransitionEligibilityDetail
Microsoft.Partner.Services.Subscriptions.V1.Models.TransitionError
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.Services.Subscriptions.V1.Models.TransitionEligibility]

Name Typ Description
attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

items

Microsoft.Partner.Services.Subscriptions.V1.Models.TransitionEligibility[]

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.Services.Subscriptions.V1.Models.TransitionEligibility

Name Typ Description
attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

catalogItemId

string

description

string

eligibilities

Microsoft.Partner.Services.Subscriptions.V1.Models.TransitionEligibilityDetail[]

quantity

integer

title

string

Microsoft.Partner.Services.Subscriptions.V1.Models.TransitionEligibilityDetail

Name Typ Description
errors

Microsoft.Partner.Services.Subscriptions.V1.Models.TransitionError[]

isEligible

boolean

transitionType enum:
  • none
  • transition_only
  • transition_with_license_transfer

Microsoft.Partner.Services.Subscriptions.V1.Models.TransitionError

Name Typ Description
code enum:
  • 0
  • 1
  • 10
  • 11
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
description

string

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

Name Typ Description
key

string

value

string