专用产品/服务提交 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