Sdílet prostřednictvím


Manage orders - Update an existing transfer

Aktualizace existující převod.

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

Parametry identifikátoru URI

Name V Vyžadováno Typ Description
customer_id
path True

string

Identifikátor zákazníka.

transfer_id
path True

string

Identifikátor přenosu.

version
path True

string

Hlavička požadavku

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

Name Vyžadováno Typ Description
Authorization True

string

Nosný token autorizace

ms-correlationid

string

Používá se pro interní sledování požadavků. Pokud ms-correlationid není zadaný, server pro každý požadavek vygeneruje nový.

ms-cv

string

Používá se pro interní sledování požadavků. Pokud ms-cv není k dispozici, server pro každý požadavek vygeneruje nový.

ms-requestid

string

Používá se pro idempotenci požadavků. Pokud ms-requestid není zadaný, server pro každý požadavek vygeneruje nový.

Text požadavku

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

Name Typ 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

Odpovědi

Name Typ Description
200 OK

object

OK

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

201 Created

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

Žádost byla úspěšná. Text odpovědi obsahuje informace o přenosu.

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

400 Bad Request

Chybí nebo je neplatný vstup. Text odpovědi poskytne podrobnosti o chybě.

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

401 Unauthorized

Požadavek nebyl ověřen. Klient se musí nejprve ověřit ve službě partnerského rozhraní API.

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

403 Forbidden

Požadavek byl ověřen, ale byl odmítnut, protože volající nemá oprávnění k jejímu vyvolání.

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

404 Not Found

Prostředek nebyl nalezen nebo není k dispozici s danými vstupními parametry.

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

500 Internal Server Error

Službě partnerského rozhraní API nebo některé z jejích závislostí se nepodařilo požadavek splnit. Volající to můžou zkusit znovu.

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

Definice

Name 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]
Name Typ Description
body

string

headers

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

method

string

uri

string

Microsoft.Partner.Core.Collections.ResourceAttributes

Name Typ Description
etag

string

objectType

string

Name Typ 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

Name Typ Description
AzureReservation

string

AzureSavingsPlan

string

AzureSubscription

string

LegacyAzureSubscription

string

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

Name Typ 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

Name Typ Description
endDate

string

startDate

string

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

Name Typ 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

Name Typ 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]

Name Typ Description
key

string

value

string