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 |
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
Microsoft.Partner.Core.Collections.Link
Name | Typ | Description |
---|---|---|
body |
string |
|
headers |
System. |
|
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 | ||
items |
Microsoft. |
|
links | ||
totalCount |
integer |
Microsoft.Partner.Core.Collections.ResourceLinks
Name | Typ | Description |
---|---|---|
next | ||
previous | ||
self |
Microsoft.Partner.Services.Subscriptions.V1.Models.Conversion
Name | Typ | Description |
---|---|---|
attributes | ||
billingCycle |
enum:
|
|
offerId |
string |
|
orderId |
string |
|
quantity |
integer |
|
targetOfferId |
string |
System.Collections.Generic.KeyValuePair[System.String,System.String]
Name | Typ | Description |
---|---|---|
key |
string |
|
value |
string |