Partager via


Manage orders - Get the collection of migration events associated to a New-Commerce migration ID or subscription ID

Obtient la collection d’événements de migration associés à un ID de migration New-Commerce ou à un ID d’abonnement.

GET https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/migrations/newcommerce/events
GET https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/migrations/newcommerce/events?migration_id={migration_id}&current_subscription_id={current_subscription_id}

Paramètres URI

Nom Dans Obligatoire Type Description
customer_id
path True

string

version
path True

string

current_subscription_id
query

string

migration_id
query

string

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 événements de migration 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