次の方法で共有


Manage orders - Create a transfer

新しい転送エンティティを作成します。

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

URI パラメーター

名前 / 必須 説明
customer_id
path True

string

顧客識別子。

version
path True

string

要求ヘッダー

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

名前 必須 説明
Authorization True

string

承認ベアラー トークン

ms-correlationid

string

要求を内部的に追跡するために使用されます。 ms-correlationid が指定されていない場合、サーバーは要求ごとに新しいものを生成します

ms-cv

string

要求を内部的に追跡するために使用されます。 ms-cv が指定されていない場合、サーバーは要求ごとに新しい ms-cv を生成します

ms-requestid

string

要求のべき等性に使用されます。 ms-requestid が指定されていない場合、サーバーは要求ごとに新しいものを生成します

要求本文

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

名前 説明
alternateId

string

attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

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.Partner.Services.Transfers.V2.Models.TransferLineItem[]

links

Microsoft.Partner.Core.Collections.ResourceLinks

participants

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

partnerOnRecord

string

partnertenantid

string

sourcePartnerEmailId

string

sourcePartnerName

string

sourcePartnerTenantId

string

status

string

targetPartnerEmailId

string

targetPartnerName

string

targetPartnerTenantId

string

targetProductTypes

string[]

transferDirection enum:
  • 0 (int32)
  • 1 (int32)
  • 2 (int32)
transferType enum:
  • Unknown (int32)
  • EaToCsp (int32)
  • DirectToIndirect (int32)
  • ModernAzure (int32)
  • PartnerToPartner (int32)
  • NewCommerce (int32)

応答

名前 説明
201 Created

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

要求が成功しました。 応答本文には、転送情報が含まれています。

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

400 Bad Request

入力が見つからないか無効でした。 応答本文には、エラーの詳細が表示されます。

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

401 Unauthorized

要求が認証されませんでした。 クライアントは、最初にパートナー API サービスで認証する必要があります。

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

403 Forbidden

要求は認証されましたが、呼び出し元に呼び出す権限がないため拒否されました。

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

404 Not Found

リソースが見つからないか、指定された入力パラメーターで使用できません。

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

500 Internal Server Error

パートナー API サービスまたはその依存関係の 1 つが要求を満たできませんでした。 呼び出し元はこれを再試行できます。

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

定義

名前 説明
Microsoft.Partner.Core.Collections.Link
Microsoft.Partner.Core.Collections.ResourceAttributes
Microsoft.Partner.Core.Collections.ResourceLinks
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.TransferItemType
Microsoft.Partner.Services.Transfers.V2.Models.TransferLineItem
Microsoft.Partner.Services.Transfers.V2.Models.TransferLineItemError
Microsoft.Partner.Services.Transfers.V2.Models.TransferLineItemPrice
System.Collections.Generic.KeyValuePair[System.String,System.String]
名前 説明
body

string

headers

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

method

string

uri

string

Microsoft.Partner.Core.Collections.ResourceAttributes

名前 説明
etag

string

objectType

string

名前 説明
next

Microsoft.Partner.Core.Collections.Link

previous

Microsoft.Partner.Core.Collections.Link

self

Microsoft.Partner.Core.Collections.Link

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

名前 説明
billingAmount

number (double)

billingCycle enum:
  • annual (int32)
  • monthly (int32)
  • none (int32)
  • one_time (int32)
  • unknown (int32)
billingPeriod

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

billingType enum:
  • license (int32)
  • none (int32)
  • usage (int32)
currency

string

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

名前 説明
endDate

string (date-time)

startDate

string (date-time)

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

名前 説明
alternateId

string

attributes

Microsoft.Partner.Core.Collections.ResourceAttributes

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.Partner.Services.Transfers.V2.Models.TransferLineItem[]

links

Microsoft.Partner.Core.Collections.ResourceLinks

participants

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

partnerOnRecord

string

partnertenantid

string

sourcePartnerEmailId

string

sourcePartnerName

string

sourcePartnerTenantId

string

status

string

targetPartnerEmailId

string

targetPartnerName

string

targetPartnerTenantId

string

targetProductTypes

string[]

transferDirection enum:
  • 0 (int32)
  • 1 (int32)
  • 2 (int32)
transferType enum:
  • DirectToIndirect (int32)
  • EaToCsp (int32)
  • ModernAzure (int32)
  • NewCommerce (int32)
  • PartnerToPartner (int32)
  • Unknown (int32)

Microsoft.Partner.Services.Transfers.V2.Models.TransferItemType

説明
AzureSubscription
AzureReservation
LegacyAzureSubscription
AzureSavingsPlan
OnlineServicesNCE

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

名前 説明
addonItems

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

billingCycle enum:
  • annual (int32)
  • monthly (int32)
  • none (int32)
  • one_time (int32)
  • unknown (int32)
billingDetails

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

currencyCode

string

errors

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

friendlyName

string

id

integer (int32)

offerId

string

orderId

string

partnerIdOnRecord

string

price

Microsoft.Partner.Services.Transfers.V2.Models.TransferLineItemPrice

productType

Microsoft.Partner.Services.Transfers.V2.Models.TransferItemType (int32)

quantity

integer (int32)

status

string

subscriptionId

string

transferError

string

transferGroupId

string

Microsoft.Partner.Services.Transfers.V2.Models.TransferLineItemError

名前 説明
code

string

description

string

Microsoft.Partner.Services.Transfers.V2.Models.TransferLineItemPrice

名前 説明
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]

名前 説明
key

string

value

string