Manage orders - Create a transfer
Cria uma nova entidade de transferência.
POST https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/transfers
Parâmetros de URI
| Nome | Em | Obrigatório | Tipo | Description |
|---|---|---|---|---|
|
customer_id
|
path | True |
string |
O identificador do cliente. |
|
version
|
path | True |
string |
Cabeçalho da solicitação
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
| 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 uma ms-requestid não for fornecida, o servidor gerará uma nova para cada solicitação |
Corpo da solicitação
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
| Nome | Tipo | Description |
|---|---|---|
| alternateId |
string |
|
| attributes | ||
| completedTime |
string (date-time) |
|
| createdTime |
string (date-time) |
|
| customerEmailId |
string |
|
| customerName |
string |
|
| customerTenantId |
string |
|
| expirationTime |
string (date-time) |
|
| id |
string |
|
| ignoreEligibilityCheck |
boolean |
|
| lastModifiedTime |
string (date-time) |
|
| lastModifiedUser |
string |
|
| lineItems |
Microsoft. |
|
| links | ||
| participants |
System. |
|
| partnerOnRecord |
string |
|
| partnertenantid |
string |
|
| sourcePartnerEmailId |
string |
|
| sourcePartnerName |
string |
|
| sourcePartnerTenantId |
string |
|
| status |
string |
|
| targetPartnerEmailId |
string |
|
| targetPartnerName |
string |
|
| targetPartnerTenantId |
string |
|
| targetProductTypes |
string[] |
|
| transferDirection |
enum:
|
|
| transferType |
enum:
|
Respostas
| Nome | Tipo | Description |
|---|---|---|
| 201 Created |
Microsoft. |
A solicitação foi bem-sucedida. O corpo da resposta contém as informações de transferência. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
| 400 Bad Request |
Havia uma entrada ausente ou inválida. O corpo da resposta fornecerá os detalhes do erro. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
|
| 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: "application/json", "text/json", "application/xml", "text/xml" |
|
| 403 Forbidden |
A solicitação foi autenticada, mas foi recusada, pois o chamador não tem os direitos de invocá-la. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
|
| 404 Not Found |
O recurso não foi encontrado ou não está disponível com os parâmetros de entrada especificados. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
|
| 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: "application/json", "text/json", "application/xml", "text/xml" |
Definições
Microsoft.Partner.Core.Collections.Link
| Nome | Tipo | Description |
|---|---|---|
| body |
string |
|
| headers |
System. |
|
| method |
string |
|
| uri |
string |
Microsoft.Partner.Core.Collections.ResourceAttributes
| Nome | Tipo | Description |
|---|---|---|
| etag |
string |
|
| objectType |
string |
Microsoft.Partner.Core.Collections.ResourceLinks
| Nome | Tipo | Description |
|---|---|---|
| next | ||
| previous | ||
| self |
Microsoft.Partner.Services.Transfers.V2.Models.LastKnownBillingDetails
| Nome | Tipo | Description |
|---|---|---|
| billingAmount |
number (double) |
|
| billingCycle |
enum:
|
|
| billingPeriod |
Microsoft. |
|
| billingType |
enum:
|
|
| currency |
string |
Microsoft.Partner.Services.Transfers.V2.Models.LastKnownBillingPeriod
| Nome | Tipo | Description |
|---|---|---|
| endDate |
string (date-time) |
|
| startDate |
string (date-time) |
Microsoft.Partner.Services.Transfers.V2.Models.TransferEntity
| Nome | Tipo | Description |
|---|---|---|
| alternateId |
string |
|
| attributes | ||
| completedTime |
string (date-time) |
|
| createdTime |
string (date-time) |
|
| customerEmailId |
string |
|
| customerName |
string |
|
| customerTenantId |
string |
|
| expirationTime |
string (date-time) |
|
| id |
string |
|
| ignoreEligibilityCheck |
boolean |
|
| lastModifiedTime |
string (date-time) |
|
| lastModifiedUser |
string |
|
| lineItems |
Microsoft. |
|
| links | ||
| participants |
System. |
|
| partnerOnRecord |
string |
|
| partnertenantid |
string |
|
| sourcePartnerEmailId |
string |
|
| sourcePartnerName |
string |
|
| sourcePartnerTenantId |
string |
|
| status |
string |
|
| targetPartnerEmailId |
string |
|
| targetPartnerName |
string |
|
| targetPartnerTenantId |
string |
|
| targetProductTypes |
string[] |
|
| transferDirection |
enum:
|
|
| transferType |
enum:
|
Microsoft.Partner.Services.Transfers.V2.Models.TransferItemType
| Valor | Description |
|---|---|
| AzureSubscription | |
| AzureReservation | |
| LegacyAzureSubscription | |
| AzureSavingsPlan | |
| OnlineServicesNCE |
Microsoft.Partner.Services.Transfers.V2.Models.TransferLineItem
| Nome | Tipo | Description |
|---|---|---|
| addonItems |
Microsoft. |
|
| billingCycle |
enum:
|
|
| billingDetails |
Microsoft. |
|
| currencyCode |
string |
|
| errors |
Microsoft. |
|
| friendlyName |
string |
|
| id |
integer (int32) |
|
| offerId |
string |
|
| orderId |
string |
|
| partnerIdOnRecord |
string |
|
| price |
Microsoft. |
|
| productType |
Microsoft. |
|
| quantity |
integer (int32) |
|
| status |
string |
|
| subscriptionId |
string |
|
| transferError |
string |
|
| transferGroupId |
string |
Microsoft.Partner.Services.Transfers.V2.Models.TransferLineItemError
| Nome | Tipo | Description |
|---|---|---|
| code |
string |
|
| description |
string |
Microsoft.Partner.Services.Transfers.V2.Models.TransferLineItemPrice
| Nome | Tipo | Description |
|---|---|---|
| currencyCode |
string |
|
| discountedPrice |
number (double) |
|
| extendedPrice |
number (double) |
|
| listPrice |
number (double) |
|
| price |
number (double) |
|
| proratedPrice |
number (double) |
System.Collections.Generic.KeyValuePair[System.String,System.String]
| Nome | Tipo | Description |
|---|---|---|
| key |
string |
|
| value |
string |