Delen via


Manage orders - Create a a New-Commerce migration

Hiermee maakt u een New-Commerce migratie-entiteit en begint u deze te verwerken.

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

URI-parameters

Name In Vereist Type Description
customer_id
path True

string

version
path True

string

Aanvraagkoptekst

Media Types: "application/json-patch+json", "application/json", "text/json", "application/*+json"

Name Vereist Type Description
Authorization True

string

Autorisatie Bearer-token

MS-CorrelationId

string

Wordt gebruikt voor het intern bijhouden van aanvragen. Als er geen MS-CorrelationId wordt opgegeven, genereert de server een nieuwe voor elke aanvraag

MS-CV

string

Wordt gebruikt voor het intern bijhouden van aanvragen. Als er geen MS-CV wordt opgegeven, genereert de server een nieuwe voor elke aanvraag

MS-RequestId

string

Wordt gebruikt voor idempotentie van aanvragen. Als er geen MS-RequestId wordt opgegeven, genereert de server een nieuwe voor elke aanvraag

Aanvraagbody

Media Types: "application/json-patch+json", "application/json", "text/json", "application/*+json"

Name 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

Antwoorden

Name Type Description
201 Created

string

De aanvraag is geslaagd. De antwoordtekst bevat de New-Commerce migratie-entiteit.

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

400 Bad Request

Er is een ontbrekende of ongeldige invoer. De antwoordtekst bevat de foutdetails.

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

401 Unauthorized

De aanvraag is niet geverifieerd. De client moet zich eerst verifiëren bij de partner-API-service.

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

403 Forbidden

De aanvraag is geverifieerd, maar is geweigerd omdat de aanroeper niet de rechten heeft om deze aan te roepen.

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

404 Not Found

De resource is niet gevonden of niet beschikbaar met de opgegeven invoerparameters.

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

500 Internal Server Error

De api-service van de partner of een van de afhankelijkheden kan niet voldoen aan de aanvraag. Bellers kunnen dit opnieuw proberen.

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

Definities

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

Name 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