Sdílet prostřednictvím


Manage orders - Get a list of trial conversion offers

Získá cílové převody pro zkušební předplatné.

GET https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/subscriptions/{subscription_id}/conversions

Parametry identifikátoru URI

Name V Vyžadováno Typ Description
customer_id
path True

string

Identifikátor tenanta active directory zákazníka.

subscription_id
path True

string

ID předplatného.

version
path True

string

Hlavička požadavku

Name Vyžadováno Typ Description
Authorization True

string

Nosný token autorizace

ms-correlationid

string

Používá se k internímu sledování požadavků. Pokud není zadaný identifikátor ms-correlationid, server vygeneruje pro každý požadavek nový.

ms-cv

string

Používá se k internímu sledování požadavků. Pokud ms-cv není zadaný, server vygeneruje pro každou žádost nový.

ms-requestid

string

Používá se pro idempotenci požadavků. Pokud není zadaný identifikátor ms-requestid, server pro každou žádost vygeneruje nový.

Odpovědi

Name Typ Description
200 OK

Microsoft.Partner.Core.Collections.ResourceCollection[Microsoft.Partner.Services.Subscriptions.V1.Models.Conversion]

Požadavek byl úspěšný. Text odpovědi obsahuje převody.

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

400 Bad Request

Chybí nebo je neplatný vstup. Text odpovědi poskytne podrobnosti o chybě.

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

401 Unauthorized

Požadavek nebyl ověřen. Klient se musí nejprve ověřit ve službě partnerského rozhraní API.

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

403 Forbidden

Požadavek byl ověřen, ale byl odmítnut, protože volající nemá práva k jeho vyvolání.

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

404 Not Found

Prostředek se s danými vstupními parametry nenašel nebo není k dispozici.

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

500 Internal Server Error

Službě partnerského rozhraní API nebo některé z jejích závislostí se nepodařilo požadavek splnit. Volající to můžou zkusit znovu.

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

Definice

Name Description
Microsoft.Partner.Core.Collections.Link
Microsoft.Partner.Core.Collections.ResourceAttributes
Microsoft.Partner.Core.Collections.ResourceCollection[Microsoft.Partner.Services.Subscriptions.V1.Models.Conversion]
Microsoft.Partner.Core.Collections.ResourceLinks
Microsoft.Partner.Services.Subscriptions.V1.Models.Conversion
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.Conversion]

Name Typ Description
attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

items

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

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.Conversion

Name Typ Description
attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

billingCycle enum:
  • annual
  • monthly
  • none
  • one_time
  • triennial
  • unknown
offerId

string

orderId

string

quantity

integer

targetOfferId

string

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

Name Typ Description
key

string

value

string