私人供應專案提交 API 疑難解答和資源
本文提供範例文字,可協助剖析合作夥伴中心私人供應專案 API 中的響應文字。
如何在回應本文中剖析錯誤訊息
公用 API 回應錯誤架構
Core Library Class Name: Microsoft.ProductIngestion.Models.ResponseError
如果失敗(例如:notFound,架構驗證錯誤,...)我們會傳回此架構的回應:
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://product-ingestion.azureedge.net/schema/response-error/2022-03-01", "$comment": "In case of any failure. For example not found of in invalid schema",
"type": "object",
"properties": {
"error": { "$ref": "https://product-ingestion.azureedge.net/schema/error/2022-03-01"},
"required": ["error"],
"additionalProperties": false
結構描述
私人供應專案: https://schema.mp.microsoft.com/schema/private-offer/2023-07-15
獨立軟體廠商的多方私人供應專案(ISV) 發行者: https://schema.mp.microsoft.com/schema/private-offer-mpo-originator/2023-07-15
頻道合作夥伴的多方私人供應專案: https://schema.mp.microsoft.com/schema/private-offer-mpo-channel-partner/2023-07-15