Compartir a través de


Manage orders - Create a transfer

Crea una nueva entidad de transferencia.

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

Parámetros de identificador URI

Nombre En Requerido Tipo Description
customer_id
path True

string

El identificador del cliente.

version
path True

string

Encabezado de la solicitud

Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"

Nombre Requerido Tipo Description
Authorization True

string

Token de portador de autorización

ms-correlationid

string

Se usa para realizar el seguimiento de las solicitudes internamente. Si no se proporciona un ms-correlationid, el servidor generará uno nuevo para cada solicitud.

ms-cv

string

Se usa para realizar el seguimiento de las solicitudes internamente. Si no se proporciona un ms-cv, el servidor generará uno nuevo para cada solicitud.

ms-requestid

string

Se usa para la idempotencia de las solicitudes. Si no se proporciona un ms-requestid, el servidor generará uno nuevo para cada solicitud.

Cuerpo de la solicitud

Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"

Nombre Tipo Description
attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

completedTime

string

createdTime

string

customerEmailId

string

customerName

string

customerTenantId

string

id

string

ignoreEligibilityCheck

boolean

lastModifiedTime

string

lastModifiedUser

string

lineItems

Microsoft.Partner.Services.Transfers.V2.Models.TransferLineItem[]

links

Microsoft.Partner.Core.Collections.ResourceLinks

partnerOnRecord

string

partnertenantid

string

sourcePartnerEmailId

string

sourcePartnerName

string

sourcePartnerTenantId

string

status

string

targetPartnerEmailId

string

targetPartnerName

string

targetPartnerProjectId

string

targetPartnerTenantId

string

transferDirection enum:
  • 0
  • 1
  • 2
transferType enum:
  • Unknown
  • EaToCsp
  • DirectToIndirect
  • ModernAzure
  • PartnerToPartner

Respuestas

Nombre Tipo Description
201 Created

Microsoft.Partner.Services.Transfers.V2.Models.TransferEntity

La solicitud fue correcta. El cuerpo de la respuesta contiene la información de transferencia.

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

400 Bad Request

Faltaba o faltaba una entrada no válida. El cuerpo de la respuesta proporcionará los detalles del error.

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

401 Unauthorized

La solicitud no se autenticó. El cliente debe autenticarse primero con el servicio de API de asociado.

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

403 Forbidden

La solicitud se autenticó pero se rechazó, ya que el autor de la llamada no tiene los derechos para invocarla.

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

404 Not Found

El recurso no se encuentra o no está disponible con los parámetros de entrada especificados.

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

500 Internal Server Error

El servicio de API de asociado o una de sus dependencias no pudieron cumplir la solicitud. Los autores de llamadas pueden volver a intentarlo.

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

Definiciones

Nombre Description
Microsoft.Partner.Core.Collections.Link
Microsoft.Partner.Core.Collections.ResourceAttributes
Microsoft.Partner.Core.Collections.ResourceLinks
Microsoft.Partner.Services.Transfer.V2.Models.TransferItemType
Microsoft.Partner.Services.Transfers.V2.Models.LastKnownBillingDetails
Microsoft.Partner.Services.Transfers.V2.Models.LastKnownBillingPeriod
Microsoft.Partner.Services.Transfers.V2.Models.TransferEntity
Microsoft.Partner.Services.Transfers.V2.Models.TransferLineItem
System.Collections.Generic.KeyValuePair[System.String,System.String]
Nombre Tipo Description
body

string

headers

System.Collections.Generic.KeyValuePair[System.String,System.String][]

method

string

uri

string

Microsoft.Partner.Core.Collections.ResourceAttributes

Nombre Tipo Description
etag

string

objectType

string

Nombre Tipo Description
next

Microsoft.Partner.Core.Collections.Link

previous

Microsoft.Partner.Core.Collections.Link

self

Microsoft.Partner.Core.Collections.Link

Microsoft.Partner.Services.Transfer.V2.Models.TransferItemType

Nombre Tipo Description
AzureReservation

string

AzureSavingsPlan

string

AzureSubscription

string

LegacyAzureSubscription

string

Microsoft.Partner.Services.Transfers.V2.Models.LastKnownBillingDetails

Nombre Tipo Description
billingAmount

number

billingCycle enum:
  • annual
  • monthly
  • none
  • one_time
  • unknown
billingPeriod

Microsoft.Partner.Services.Transfers.V2.Models.LastKnownBillingPeriod

billingType enum:
  • license
  • none
  • usage
currency

string

Microsoft.Partner.Services.Transfers.V2.Models.LastKnownBillingPeriod

Nombre Tipo Description
endDate

string

startDate

string

Microsoft.Partner.Services.Transfers.V2.Models.TransferEntity

Nombre Tipo Description
attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

completedTime

string

createdTime

string

customerEmailId

string

customerName

string

customerTenantId

string

id

string

ignoreEligibilityCheck

boolean

lastModifiedTime

string

lastModifiedUser

string

lineItems

Microsoft.Partner.Services.Transfers.V2.Models.TransferLineItem[]

links

Microsoft.Partner.Core.Collections.ResourceLinks

partnerOnRecord

string

partnertenantid

string

sourcePartnerEmailId

string

sourcePartnerName

string

sourcePartnerTenantId

string

status

string

targetPartnerEmailId

string

targetPartnerName

string

targetPartnerProjectId

string

targetPartnerTenantId

string

transferDirection enum:
  • 0
  • 1
  • 2
transferType enum:
  • DirectToIndirect
  • EaToCsp
  • ModernAzure
  • PartnerToPartner
  • Unknown

Microsoft.Partner.Services.Transfers.V2.Models.TransferLineItem

Nombre Tipo Description
addonItems

Microsoft.Partner.Services.Transfers.V2.Models.TransferLineItem[]

billingCycle enum:
  • annual
  • monthly
  • none
  • one_time
  • unknown
billingDetails

Microsoft.Partner.Services.Transfers.V2.Models.LastKnownBillingDetails

currencyCode

string

friendlyName

string

id

integer

offerId

string

orderId

string

partnerIdOnRecord

string

productType

Microsoft.Partner.Services.Transfer.V2.Models.TransferItemType

quantity

integer

status

string

subscriptionId

string

transferError

string

transferGroupId

string

System.Collections.Generic.KeyValuePair[System.String,System.String]

Nombre Tipo Description
key

string

value

string