获取提交

使用 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": "https://ingestionpackages.blob.core.windows.net/ingestion/dc55b8c6-a01c-40b6-b815-cac8bc08812a?sv=2016-05-31&sr=b&sig=ipjW3RsVC75lZrcEZRh9JmTX89L4gTIKkxwqv9F8Axs%3D&se=2018-03-12T15:32:10Z&sp=rl"
      },
      {
        "type": "derivedPackage",
        "url": "https://ingestionpackages.blob.core.windows.net/ingestion/6bd77dbf-a851-46d2-b703-29ea4efae006?sv=2016-05-31&sr=b&sig=O5XQf%2FzMbI2FFt5WwSUJWL1JbWY4JXXPRkCKAnX7IRs%3D&se=2018-03-12T15:32:10Z&sp=rl&rscd=attachment%3B filename%3DShell_1152921504621441930.hlkx"
      },
      {
        "type": "signedPackage",
        "url": "https://ingestionpackages.blob.core.windows.net/ingestion/0b83a294-c1d1-4136-82a1-dd52f51841e3?sv=2016-05-31&sr=b&sig=zTfxKJmaTwpbFol%2FpAKG0QuXJTTxm5aZ0F2wQQI8whc%3D&se=2018-03-12T15:32:10Z&sp=rl"
      },
      {
        "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"
}

响应正文

有关更多详细信息,请参阅提交资源

错误代码

有关详细信息,请参阅错误代码

另请参阅