Manage orders - Create a New-Commerce migration schedule
Agenda uma migração New-Commerce.
POST https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/migrations/newcommerce/schedules
Parâmetros de URI
| Nome | Em | Obrigatório | Tipo | Description |
|---|---|---|---|---|
|
customer_id
|
path | True |
string |
|
|
version
|
path | True |
string |
Cabeçalho da solicitação
Media Types: "application/json-patch+json", "application/json", "text/json", "application/*+json"
| Nome | Obrigatório | Tipo | Description |
|---|---|---|---|
| Authorization | True |
string |
Token de portador de autorização |
| MS-CorrelationId |
string |
Usado para acompanhar solicitações internamente. Se um MS-CorrelationId não for fornecido, o servidor gerará um novo para cada solicitação |
|
| MS-CV |
string |
Usado para acompanhar solicitações internamente. Se um MS-CV não for fornecido, o servidor gerará um novo para cada solicitação |
|
| MS-RequestId |
string |
Usado para idempotency de solicitações. Se um MS-RequestId não for fornecido, o servidor gerará um novo para cada solicitação |
Corpo da solicitação
Media Types: "application/json-patch+json", "application/json", "text/json", "application/*+json"
| Nome | Tipo | Description |
|---|---|---|
| addOnMigrationSchedules |
Microsoft. |
|
| billingCycle |
string |
|
| catalogItemId |
string |
|
| createdTime |
string (date-time) |
|
| currentSubscriptionId |
string |
|
| customTermEndDate |
string (date-time) |
|
| customerTenantId |
string |
|
| errorCode |
integer (int32) |
|
| errorDescription |
string |
|
| externalReferenceId |
string |
|
| id |
string |
|
| lastModifiedTime |
string (date-time) |
|
| microsoftLed |
boolean |
|
| migrateOnRenewal |
boolean |
|
| newCommerceMigrationId |
string |
|
| purchaseFullTerm |
boolean |
|
| quantity |
integer (int32) |
|
| status |
string |
|
| subscriptionEndDate |
string (date-time) |
|
| targetDate |
string (date-time) |
|
| termDuration |
string |
Respostas
| Nome | Tipo | Description |
|---|---|---|
| 201 Created |
Microsoft. |
A solicitação foi bem-sucedida. O corpo da resposta contém a entidade de agendamento de migração New-Commerce. Media Types: "text/plain", "application/json", "text/json" |
| 400 Bad Request |
Havia uma entrada ausente ou inválida. O corpo da resposta fornecerá os detalhes do erro. Media Types: "text/plain", "application/json", "text/json" |
|
| 401 Unauthorized |
A solicitação não foi autenticada. Primeiro, o cliente precisa se autenticar com o serviço de API do parceiro. Media Types: "text/plain", "application/json", "text/json" |
|
| 403 Forbidden |
A solicitação foi autenticada, mas foi recusada, pois o chamador não tem os direitos de invocá-la. Media Types: "text/plain", "application/json", "text/json" |
|
| 404 Not Found |
O recurso não foi encontrado ou não está disponível com os parâmetros de entrada especificados. Media Types: "text/plain", "application/json", "text/json" |
|
| 500 Internal Server Error |
O serviço de API do parceiro ou uma de suas dependências não conseguiu atender à solicitação. Os chamadores podem repetir isso. Media Types: "text/plain", "application/json", "text/json" |
Definições
Microsoft.Partner.Providers.Migration.V1.Models.NewCommerceMigrationSchedule
| Nome | Tipo | Description |
|---|---|---|
| addOnMigrationSchedules |
Microsoft. |
|
| billingCycle |
string |
|
| catalogItemId |
string |
|
| createdTime |
string (date-time) |
|
| currentSubscriptionId |
string |
|
| customTermEndDate |
string (date-time) |
|
| customerTenantId |
string |
|
| errorCode |
integer (int32) |
|
| errorDescription |
string |
|
| externalReferenceId |
string |
|
| id |
string |
|
| isPartnerCreated |
boolean |
|
| lastModifiedTime |
string (date-time) |
|
| microsoftLed |
boolean |
|
| migrateOnRenewal |
boolean |
|
| newCommerceMigrationId |
string |
|
| purchaseFullTerm |
boolean |
|
| quantity |
integer (int32) |
|
| status |
string |
|
| subscriptionEndDate |
string (date-time) |
|
| targetDate |
string (date-time) |
|
| termDuration |
string |