Partager via


Manage orders - Get the list of New-Commerce migrations

Obtient la liste des migrations New Commerce.

GET https://api.partnercenter.microsoft.com/v{version}/migrations/newcommerce
GET https://api.partnercenter.microsoft.com/v{version}/migrations/newcommerce?CustomerTenantId={CustomerTenantId}&CurrentSubscriptionId={CurrentSubscriptionId}&ExternalReferenceId={ExternalReferenceId}&IsMicrosoftLed={IsMicrosoftLed}&PageSize={PageSize}

Paramètres URI

Nom Dans Obligatoire Type Description
version
path True

string

CurrentSubscriptionId
query

string

CustomerTenantId
query

string

ExternalReferenceId
query

string

IsMicrosoftLed
query

boolean

PageSize
query

integer

int32

En-tête de la demande

Nom Obligatoire Type Description
Authorization True

string

Jeton du porteur d’autorisation

MS-CorrelationId

string

Utilisé pour le suivi des demandes en interne. Si un MS-CorrelationId n’est pas fourni, le serveur en génère un nouveau pour chaque requête

MS-CV

string

Utilisé pour le suivi des demandes en interne. Si un MS-CV n’est pas fourni, le serveur en génère un nouveau pour chaque requête

MS-RequestId

string

Utilisé pour l’idempotency des requêtes. Si un MS-RequestId n’est pas fourni, le serveur en génère un nouveau pour chaque requête

Réponses

Nom Type Description
200 OK

Microsoft.Partner.Providers.Migration.V1.Models.NewCommerceMigration[]

La demande a réussi. Le corps de la réponse contient les migrations New Commerce.

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

400 Bad Request

Une entrée est manquante ou non valide. Le corps de la réponse fournit les détails de l’erreur.

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

401 Unauthorized

La demande n’a pas été authentifiée. Le client doit d’abord s’authentifier auprès du service d’API partenaire.

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

403 Forbidden

La demande a été authentifiée, mais a été refusée, car l’appelant n’a pas les droits de l’appeler.

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

404 Not Found

La ressource est introuvable ou non disponible avec les paramètres d’entrée donnés.

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

500 Internal Server Error

Le service d’API partenaire ou l’une de ses dépendances n’a pas pu répondre à la demande. Les appelants peuvent réessayer.

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

Définitions

Microsoft.Partner.Providers.Migration.V1.Models.NewCommerceMigration

Nom Type Description
addOnMigrations

Microsoft.Partner.Providers.Migration.V1.Models.NewCommerceMigration[]

billingCycle

string

catalogItemId

string

completedTime

string

currentSubscriptionId

string

customTermEndDate

string

customerTenantId

string

externalReferenceId

string

id

string

microsoftLed

boolean

newCommerceOrderId

string

newCommerceSubscriptionId

string

purchaseFullTerm

boolean

quantity

integer

startedTime

string

status

string

subscriptionEndDate

string

termDuration

string