共用方式為


Microsoft 合作夥伴中心 [已淘汰]

此連接器可讓您連線到 MPC API 並收集一些資訊,包括客戶詳細資料、訂單和訂閱。

此連接器適用於以下產品和區域:

服務 Class Regions
副駕駛工作室 標準 除下列區域外的所有 Power Automate 區域
     - 美國政府 (GCC)
     - 美國政府(海灣合作委員會高中)
     - 由 21Vianet 營運的中國雲
     - 美國國防部 (DoD)
邏輯應用程式 標準 所有 Logic Apps 區域, 但下列區域除外:
     - Azure Government 區域
     - Azure 中國區域
     - 美國國防部 (DoD)
Power Apps 標準 除下列區域外的所有 Power Apps 區域
     - 美國政府 (GCC)
     - 美國政府(海灣合作委員會高中)
     - 由 21Vianet 營運的中國雲
     - 美國國防部 (DoD)
Power Automate(自動化服務) 標準 除下列區域外的所有 Power Automate 區域
     - 美國政府 (GCC)
     - 美國政府(海灣合作委員會高中)
     - 由 21Vianet 營運的中國雲
     - 美國國防部 (DoD)
連絡人​​
名稱 Microsoft
URL https://support.microsoft.com
連接器中繼資料
Publisher Microsoft
網站 https://docs.microsoft.com/en-us/partner-center/develop/
隱私策略 https://privacy.microsoft.com/en-us/privacystatement
類別 IT運營;企業管理

正在建立連線

連接器支援下列驗證類型:

預設值 建立連線的參數。 所有區域 不可共享

預設

適用:所有地區

建立連線的參數。

這不是可共用的連線。 如果 Power App 與其他使用者共用,系統會明確提示其他使用者建立新連線。

節流限制

名稱 呼叫 續約期間
每個連線的 API 呼叫 100 60 秒

動作

取得客戶訂單 (已棄用) [已棄用]

取得指定客戶的所有訂單集合 (已棄用)。

取得客戶訂用帳戶 (已淘汰) [已淘汰]

取得指定客戶之所有訂用帳戶的集合 (已淘汰)。

取得客戶詳細資料 (已淘汰) [已淘汰]

取得對應至客戶識別碼 (已淘汰) 的 Customer 資源。

取得所有客戶 (已棄用) [已棄用]

取得客戶清單 (已淘汰)。

取得發票 (已淘汰) [已淘汰]

取得發票集合 (已棄用)。

取得客戶訂單 (已棄用) [已棄用]

取得指定客戶的所有訂單集合 (已棄用)。

參數

名稱 機碼 必要 類型 Description
客戶租用戶識別碼
CustomerTenantID True string

客戶租用戶識別碼。

傳回

名稱 路徑 類型 Description
總計數
totalCount integer

客戶訂單總數。

items
items array of object

items

ID
items.id string

訂單識別碼。

替代標識碼
items.alternateId string

訂單的易記識別碼。

客戶識別碼
items.referenceCustomerId string

客戶標識碼。

計費週期
items.billingCycle string

指出合作夥伴為此訂單計費的頻率。

貨幣代碼
items.currencyCode string

下單時使用的貨幣。

貨幣符號
items.currencySymbol string

與貨幣代碼相關聯的貨幣符號。

明細項目
items.lineItems array of object

明細項目

lineItemNumber
items.lineItems.lineItemNumber integer

明細項目編號。

優惠識別碼
items.lineItems.offerId string

優惠的標識碼。

訂用帳戶識別碼
items.lineItems.subscriptionId string

訂用帳戶的識別碼。

期限
items.lineItems.termDuration string

該術語持續時間的 ISO 8601 表示。

促銷 ID
items.lineItems.promotionId string

促銷 ID。

自訂期限結束日期
items.lineItems.customTermEndDate string

新訂用帳戶第一個計費期限的結束日期。

交易類型
items.lineItems.transactionType string

明細項目的交易類型。

友善名稱
items.lineItems.friendlyName string

合作夥伴所定義的訂用帳戶易記名稱,以協助消除歧義。

數量
items.lineItems.quantity integer

數量

建立日期
items.creationDate string

訂單的建立日期,以日期時間格式。

地位
items.status string

訂單的狀態。

交易類型
items.transactionType string

訂單的交易類型。 支援的值為 'UserPurchase'、'SystemPurchase' 或 'SystemBilling'

取得客戶訂用帳戶 (已淘汰) [已淘汰]

取得指定客戶之所有訂用帳戶的集合 (已淘汰)。

參數

名稱 機碼 必要 類型 Description
客戶租用戶識別碼
CustomerTenantID True string

客戶的租用戶識別碼。

傳回

名稱 路徑 類型 Description
總計數
totalCount integer

客戶的訂閱總數。

items
items array of object

items

ID
items.id string

訂用帳戶標識碼。

優惠識別碼
items.offerId string

供應專案識別碼。

優惠名稱
items.offerName string

供應專案名稱。

友善名稱
items.friendlyName string

合作夥伴所定義的訂用帳戶易記名稱,以協助消除歧義。

ID
items.productType.id string

訂用帳戶標識碼。

顯示名稱
items.productType.displayName string

顯示名稱。

數量
items.quantity integer

提供佈建後的訂閱數量。

單位類型
items.unitType string

定義訂閱數量的單位。

有可購買的插件
items.hasPurchasableAddons boolean

指出訂用帳戶是否有可購買附加元件的值。

建立日期
items.creationDate string

建立日期,以日期時間格式。

生效開始日期
items.effectiveStartDate string

此訂閱的有效開始日期,以日期時間格式。

承諾結束日期
items.commitmentEndDate string

此訂閱的確定結束日期,以日期時間格式。

允許取消截止日期
items.cancellationAllowedUntilDate string

取消的最後日期。

計費週期結束日期
items.billingCycleEndDate string

此訂用帳戶的計費週期結束日期,以日期時間格式。

地位
items.status string

指出佈建狀態:「成功」、「擱置中」或「失敗」。

啟用自動續訂
items.autoRenewEnabled boolean

autoRenew啟用

是審判
items.isTrial boolean

指出訂閱是否為試用版的值。

帳單類型
items.billingType string

指定訂閱的計費方式:「無」、「使用量」或「授權」。

計費週期
items.billingCycle string

指出合作夥伴為此訂單計費的頻率。

期限
items.termDuration string

該術語持續時間的 ISO 8601 表示。

續約期限
items.renewalTermDuration string

該術語持續時間的 ISO 8601 表示。

是 Microsoft 產品
items.isMicrosoftProduct boolean

指出訂用帳戶是否為 Microsoft 產品的值。

合作夥伴 ID
items.partnerId string

記錄轉銷商的 MPN 識別碼,用於間接合作夥伴模型。

需要注意
items.attentionNeeded boolean

是否需要注意。

合約類型
items.contractType string

合約類型:「subscription」、「productKey」或「redemptionCode」。

發行者名稱
items.publisherName string

發行者名稱。

促銷 ID
items.promotionId string

促銷識別碼(如果套用至訂閱)。

訂單編號
items.orderId string

為開始訂閱而下達的訂單 ID。

取得客戶詳細資料 (已淘汰) [已淘汰]

取得對應至客戶識別碼 (已淘汰) 的 Customer 資源。

參數

名稱 機碼 必要 類型 Description
客戶租用戶識別碼
CustomerTenantID True string

客戶租用戶識別碼

傳回

名稱 路徑 類型 Description
ID
id string

客戶 ID。

商務ID。
commerceId string

商務ID。

租戶識別碼
companyProfile.tenantId string

客戶的 Microsoft Entra ID 租用戶識別碼。 這也稱為 MicrosoftID。

公司名稱(公司簡介)。
companyProfile.companyName string

公司或組織的名稱。

網域
companyProfile.domain string

客戶的名稱,例如 contoso.onmicrosoft.com。

國家 (公司簡介)
companyProfile.address.country string

國家。

地區(公司簡介)。
companyProfile.address.region string

所在區域。

城市 (公司簡介)
companyProfile.address.city string

城市。

狀態(公司簡介)
companyProfile.address.state string

國家。

地址行1 (公司簡介)
companyProfile.address.addressLine1 string

地址的第一行。

郵遞區號(公司簡介)
companyProfile.address.postalCode string

郵遞區號或郵遞區號。

電話號碼(公司簡介)
companyProfile.address.phoneNumber string

客戶公司/組織中連絡人的電話號碼。

電子郵件(公司簡介)
companyProfile.email string

電子郵件。

設定檔識別碼
billingProfile.id string

設定檔識別碼。

名字 (帳單設定檔)
billingProfile.firstName string

客戶公司帳單聯絡人的名字。

姓氏 (帳單設定檔)
billingProfile.lastName string

帳單聯絡人的姓氏。

電子郵件 (帳單設定檔)
billingProfile.email string

帳單聯絡人的電子郵件地址

文化特性 (計費設定檔)
billingProfile.culture string

他們偏好的溝通和貨幣文化,例如「en-us」。

語言 (帳單設定檔)
billingProfile.language string

他們首選的溝通語言。

公司名稱 (帳單設定檔)
billingProfile.companyName string

公司或組織的名稱。

國家/地區(帳單設定檔)
billingProfile.defaultAddress.country string

ISO 國家/地區代碼格式的國家/地區。

區域 (帳單設定檔)
billingProfile.defaultAddress.region string

所在區域。

城市 (帳單設定檔)
billingProfile.defaultAddress.city string

城市。

狀態 (帳單設定檔)
billingProfile.defaultAddress.state string

國家。

AddressLine1 (計費設定檔)
billingProfile.defaultAddress.addressLine1 string

地址的第一行。

郵遞區號 (帳單設定檔)
billingProfile.defaultAddress.postalCode string

郵遞區號或郵遞區號。

名字 (帳單設定檔)
billingProfile.defaultAddress.firstName string

客戶公司/組織中連絡人的名字。

姓氏 (帳單設定檔)
billingProfile.defaultAddress.lastName string

客戶公司/組織中連絡人的姓氏。

電話號碼 (帳單設定檔)
billingProfile.defaultAddress.phoneNumber string

客戶公司/組織中連絡人的電話號碼。

與合作夥伴的關係
relationshipToPartner string

定義合作夥伴為此客戶使用的授權計劃:「無」、「轉銷商」、「顧問」、「聯合」或「microsoft_support」。

允許委派存取
allowDelegatedAccess boolean

指出此客戶是否已將委派的系統管理員權限授與合作夥伴。

自訂域
customDomains array of string

客戶的自訂網域清單。

取得所有客戶 (已棄用) [已棄用]

取得客戶清單 (已淘汰)。

參數

名稱 機碼 必要 類型 Description
大小
Size string

一次要顯示的結果數目。

傳回

名稱 路徑 類型 Description
總計數
totalCount integer

集合中的元素總數

items
items array of object

items

ID
items.id string

客戶 ID。

租戶識別碼
items.companyProfile.tenantId string

客戶的 Microsoft Entra ID 租用戶識別碼。 這也稱為 MicrosoftID。

網域
items.companyProfile.domain string

客戶的名稱,例如 contoso.onmicrosoft.com。

公司名稱
items.companyProfile.companyName string

公司或組織的名稱。

與合作夥伴的關係
items.relationshipToPartner string

定義合作夥伴為此客戶使用的授權計劃:「無」、「轉銷商」、「顧問」、「聯合」或「microsoft_support」。

取得發票 (已淘汰) [已淘汰]

取得發票集合 (已棄用)。

參數

名稱 機碼 必要 類型 Description
大小
Size integer

回應中要傳回的發票資源數目。 這是選擇性參數。

Offset
Offset string

要傳回之第一張發票之以零起始的索引。

傳回

名稱 路徑 類型 Description
總計數
totalCount integer

集合中元素的總計數。

items
items array of object

items

ID
items.id string

發票識別碼。

發票日期
items.invoiceDate string

產生發票的日期。

計費期間開始日期
items.billingPeriodStartDate string

計費期間開始日期(UTC)。

計費期間結束日期
items.billingPeriodEndDate string

計費期間結束日期(UTC)。

總費用
items.totalCharges float

總費用。 包括交易費用和任何調整。

支付金額
items.paidAmount float

合作夥伴支付的金額。 如果收到付款,則為陰數。

貨幣代碼
items.currencyCode string

一個代碼,指示用於所有發票項目金額和總計的貨幣。

貨幣符號
items.currencySymbol string

用於所有發票項目金額和總計的貨幣符號。

PDF下載連結
items.pdfDownloadLink string

下載 PDF 格式發票的連結。 此連結不會作為搜尋結果的一部分傳回,而且只有在透過識別碼存取發票時才會填入。 此連結會在 30 分鐘後自動過期。

發票詳細資料
items.invoiceDetails array of object

發票詳細資料。

發票明細項目類型
items.invoiceDetails.invoiceLineItemType string

發票明細的類型:「無」、「usage_line_items」、「billing_line_items」。

計費提供者
items.invoiceDetails.billingProvider string

計費提供者:「無」、「辦公室」、「azure」或「azure_data_market」。

文件類型
items.documentType string

發票的文件類型:「貸項通知單」、「發票」。

發票類型
items.invoiceType string

發票類型:「定期」、「one_time」。