使用 Microsoft 硬件 API 中的此方法可检索产品的特定提交的数据。
先决条件
完成 Microsoft 硬件 API 的所有先决条件(如果尚未这样做),然后尝试使用这其中的任何方法。
请求
此方法具有以下语法。 请参阅以下部分,获取标头和请求正文的使用示例和描述。
| 方法 | 请求 URI | 
|---|---|
| GET | https://manage.devcenter.microsoft.com/v2.0/my/hardware/products/{productID}/submissions/{submissionID} | 
请求头
| 标头 | 类型 | 说明 | 
|---|---|---|
| 授权 | 字符串 | 必需。 Bearer<token> 令牌形式的 Microsoft Entra ID 访问令牌。 | 
| 接受 | string | 可选。 指定内容的类型。 允许的值是“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"
}
响应正文
有关更多详细信息,请参阅提交资源
错误代码
有关详细信息,请参阅错误代码。