Partager via


Manage orders - Create a New-Commerce migration schedule

Planifie une migration New-Commerce.

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

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

lastModifiedTime

string

microsoftLed

boolean

migrateOnRenewal

boolean

newCommerceMigrationId

string

purchaseFullTerm

boolean

quantity

integer

status

string

subscriptionEndDate

string

targetDate

string

termDuration

string

Réponses

Nom Type Description
201 Created

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.

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