共用方式為


取得投稿

使用Microsoft硬體 API 中的這個方法,擷取產品特定提交的數據。

先決條件

如果您尚未這麼做,請先完成所有 必要條件, Microsoft硬體 API,再嘗試使用這些方法。

請求

此方法具有下列語法。 如需了解標頭和請求正文的使用範例和描述,請參閱下列各節。

方法 請求網址識別碼 (URI)
獲取 https://manage.devcenter.microsoft.com/v2.0/my/hardware/products/{productID}/submissions/{submissionID}

請求標頭

頁首 類型 說明
授權 字串 必須的。 Microsoft Entra ID 存取令牌的格式為 Bearer<token>。
接受 字串 選擇性。 指定內容類型。 允許的值為 “application/json”

要求參數

請勿提供這個方法的要求參數。

請求主體

不要為此方法提供請求主體。

請提供範例

下列範例示範如何擷取產品所有提交的相關信息。

GET https://manage.devcenter.microsoft.com/v2.0/my/hardware/products/13635057453741329/submissions/1152921504621441930 HTTP/1.1
Authorization: Bearer <your access token>

回應

下列範例示範成功請求特定產品提交時所傳回的 JSON 回應本文。 如需有關回應內容中的值的詳細資訊,請參閱下一節。

{
  "id": 1152921504621442000,
  "productId": 13635057453741328,
  "workflowStatus": {
    "currentStep": "finalizeIngestion",
    "state": "completed",
    "messages": []
  },
  "downloads": {
    "items": [
      {
        "type": "initialPackage",
         "url": "<SAS URL from Hardware API>"
      },
      {
        "type": "derivedPackage",
         "url": "<SAS URL from Hardware API>"
      },
      {
        "type": "signedPackage",
         "url": "<SAS URL from Hardware API>"
      },
      {
        "type": "certificationReport",
        "url": "https:// manage.devcenter.microsoft.com/dashboard/hardware/Driver/DownloadCertificationReport/29963920/13635057453741329/1152921504621441930"
      }
    ],
    "messages": []
  },
  "links": [
    {
      "href": "https://manage.devcenter.microsoft.com/v2.0/my/hardware/products/13635057453741329/submissions/1152921504621441930",
      "rel": "self",
      "method": "GET"
    },
    {
      "href": "https://manage.devcenter.microsoft.com/v2.0/my/hardware/products/13635057453741329/submissions/1152921504621441930",
      "rel": "update_submission",
      "method": "PATCH"
    }
  ],
  "isExtensionInf": true,
  "isUniversal": true,
  "isDeclarativeInf": true,
  "name": "HARRY-Duatest2",
  "type": "initial"
}

回應主體

如需詳細資訊,請參閱 提交資源

錯誤碼

如需詳細資訊,請參閱 錯誤碼。

另請參閱