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 |
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 idempoencia 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 |
---|---|---|
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:
|
Respuestas
Nombre | Tipo | Description |
---|---|---|
201 Created |
Microsoft. |
La solicitud se realizó correctamente. 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 del 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 del 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
Microsoft.Partner.Core.Collections.Link
Nombre | Tipo | Description |
---|---|---|
body |
string |
|
headers |
System. |
|
method |
string |
|
uri |
string |
Microsoft.Partner.Core.Collections.ResourceAttributes
Nombre | Tipo | Description |
---|---|---|
etag |
string |
|
objectType |
string |
Microsoft.Partner.Core.Collections.ResourceLinks
Nombre | Tipo | Description |
---|---|---|
next | ||
previous | ||
self |
Microsoft.Partner.Services.Transfers.V2.Models.LastKnownBillingDetails
Nombre | Tipo | Description |
---|---|---|
billingAmount |
number (double) |
|
billingCycle |
enum:
|
|
billingPeriod |
Microsoft. |
|
billingType |
enum:
|
|
currency |
string |
Microsoft.Partner.Services.Transfers.V2.Models.LastKnownBillingPeriod
Nombre | Tipo | Description |
---|---|---|
endDate |
string (date-time) |
|
startDate |
string (date-time) |
Microsoft.Partner.Services.Transfers.V2.Models.TransferEntity
Nombre | 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 |
---|---|
AzureReservation | |
AzureSavingsPlan | |
AzureSubscription | |
LegacyAzureSubscription | |
OnlineServicesNCE |
Microsoft.Partner.Services.Transfers.V2.Models.TransferLineItem
Nombre | Tipo | Description |
---|---|---|
addonItems |
Microsoft. |
|
billingCycle |
enum:
|
|
billingDetails |
Microsoft. |
|
currencyCode |
string |
|
errors |
Microsoft. |
|
friendlyName |
string |
|
id |
integer (int32) |
|
offerId |
string |
|
orderId |
string |
|
partnerIdOnRecord |
string |
|
productType |
Microsoft. |
|
quantity |
integer (int32) |
|
status |
string |
|
subscriptionId |
string |
|
transferError |
string |
|
transferGroupId |
string |
Microsoft.Partner.Services.Transfers.V2.Models.TransferLineItemError
Nombre | Tipo | Description |
---|---|---|
code |
string |
|
description |
string |
System.Collections.Generic.KeyValuePair[System.String,System.String]
Nombre | Tipo | Description |
---|---|---|
key |
string |
|
value |
string |