Megosztás a következőn keresztül:


Manage orders - Validate a New-Commerce migration

Ellenőrzi az előfizetések New-Commerce jogosultságait.

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

URI-paraméterek

Name In Kötelező Típus Description
customer_id
path True

string

version
path True

string

Kérelem fejléce

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

Name Kötelező Típus Description
Authorization True

string

Engedélyezési tulajdonos jogkivonata

MS-CorrelationId

string

A kérések belső nyomon követésére szolgál. Ha nincs megadva MS-CorrelationId, a kiszolgáló minden kéréshez létrehoz egy újat

MS-CV

string

A kérések belső nyomon követésére szolgál. Ha nincs megadva MS-CV, a kiszolgáló minden kéréshez létrehoz egy újat

MS-RequestId

string

A kérések idempotensségére szolgál. Ha nincs megadva MS-RequestId, a kiszolgáló minden kéréshez létrehoz egy újat

Kérelem törzse

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

Name Típus 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

Válaszok

Name Típus Description
201 Created

string

A kérés sikeres volt. A válasz törzse tartalmazza a New-Commerce jogosultsági választ.

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

400 Bad Request

Hiányzó vagy érvénytelen bemenet történt. A válasz törzse adja meg a hiba részleteit.

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

401 Unauthorized

A kérés hitelesítése nem történt meg. Az ügyfélnek először a partner API szolgáltatással kell hitelesítenie magát.

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

403 Forbidden

A kérés hitelesítése megtörtént, de a rendszer elutasította, mivel a hívónak nincs jogosultsága meghívni.

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

404 Not Found

Az erőforrás nem található vagy nem érhető el a megadott bemeneti paraméterekkel.

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

500 Internal Server Error

A partner API-szolgáltatás vagy annak egyik függősége nem tudta teljesíteni a kérést. Előfordulhat, hogy a hívó fél újrapróbálkozhat ezzel.

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

Definíciók

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

Name Típus 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