Partager via


Manage orders - Cancel the New-Commerce migration for the specified ID

Annule la planification de migration New-Commerce.

POST https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/migrations/newcommerce/schedules/{new_commerce_migration_schedule_id}/cancel

Paramètres URI

Nom Dans Obligatoire Type Description
customer_id
path True

string

new_commerce_migration_schedule_id
path True

string

version
path True

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

La demande a réussi. Le corps de la réponse contient l’entité de planification de migration New-Commerce qui a été annulée.

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

Nom Type Description
addOnMigrationSchedules

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

billingCycle

string

catalogItemId

string

createdTime

string

currentSubscriptionId

string

customTermEndDate

string

customerTenantId

string

errorCode

integer

errorDescription

string

externalReferenceId

string

id

string

isPartnerCreated

boolean

lastModifiedTime

string

microsoftLed

boolean

migrateOnRenewal

boolean

newCommerceMigrationId

string

purchaseFullTerm

boolean

quantity

integer

status

string

subscriptionEndDate

string

targetDate

string

termDuration

string