Manage orders - Create a a New-Commerce migration
Crée et démarre le traitement d’une entité de migration New-Commerce.
POST https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/migrations/newcommerce
Paramètres URI
Nom | Dans | Obligatoire | Type | Description |
---|---|---|---|---|
customer_id
|
path | True |
string |
|
version
|
path | True |
string |
En-tête de la demande
Media Types: "application/json-patch+json", "application/json", "text/json", "application/*+json"
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 |
Corps de la demande
Media Types: "application/json-patch+json", "application/json", "text/json", "application/*+json"
Nom | Type | Description |
---|---|---|
addOnMigrations |
Microsoft. |
|
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 |
Réponses
Nom | Type | Description |
---|---|---|
201 Created |
string |
La demande a réussi. Le corps de la réponse contient l’entité 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. |
|
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 |