Udostępnij za pośrednictwem


Manage orders - Create a transfer

Tworzy nową jednostkę transferu.

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

Parametry identyfikatora URI

Nazwa W Wymagane Typ Opis
customer_id
path True

string

Identyfikator klienta.

version
path True

string

Nagłówek żądania

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

Nazwa Wymagane Typ Opis
Authorization True

string

Token elementu nośnego autoryzacji

ms-correlationid

string

Służy do śledzenia żądań wewnętrznie. Jeśli nie podano identyfikatora ms-correlationid, serwer wygeneruje nowy dla każdego żądania

ms-cv

string

Służy do śledzenia żądań wewnętrznie. Jeśli ms-cv nie zostanie podany, serwer wygeneruje nowy dla każdego żądania

ms-requestid

string

Służy do idempotentności żądań. Jeśli parametr ms-requestid nie zostanie podany, serwer wygeneruje nowy dla każdego żądania

Treść żądania

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

Nazwa Typ Opis
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

Odpowiedzi

Nazwa Typ Opis
201 Created

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

Żądanie zakończyło się pomyślnie. Treść odpowiedzi zawiera informacje o transferze.

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

400 Bad Request

Brak danych wejściowych lub nieprawidłowych danych wejściowych. Treść odpowiedzi udostępni szczegóły błędu.

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

401 Unauthorized

Żądanie nie zostało uwierzytelnione. Klient musi najpierw uwierzytelnić się za pomocą usługi interfejsu API partnera.

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

403 Forbidden

Żądanie zostało uwierzytelnione, ale zostało odrzucone, ponieważ obiekt wywołujący nie ma uprawnień do jego wywołania.

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

404 Not Found

Zasób nie został znaleziony lub nie jest dostępny z podanymi parametrami wejściowymi.

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

500 Internal Server Error

Usługa interfejsu API partnera lub jedna z jej zależności nie spełniła żądania. Osoby wywołujące mogą ponowić próbę.

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

Definicje

Nazwa Opis
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]
Nazwa Typ Opis
body

string

headers

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

method

string

uri

string

Microsoft.Partner.Core.Collections.ResourceAttributes

Nazwa Typ Opis
etag

string

objectType

string

Nazwa Typ Opis
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

Nazwa Typ Opis
AzureReservation

string

AzureSavingsPlan

string

AzureSubscription

string

LegacyAzureSubscription

string

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

Nazwa Typ Opis
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

Nazwa Typ Opis
endDate

string

startDate

string

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

Nazwa Typ Opis
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

Nazwa Typ Opis
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]

Nazwa Typ Opis
key

string

value

string