次の方法で共有


プライベート オファー申請 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