更新现有提交Update an existing submission

重要提示 截至 2016 年 10 月底,将不再提供可使用的仪表板提交 REST API。Important The dashboard submission REST APIs will no longer be available for use as of the end of October 2016. 正在考虑为将来版本提供适用于驱动程序提交的 API。APIs for driver submissions are under consideration for a future release.

更新现有提交的元数据。Updates the metadata for an existing submission.

请求Request

输入参数Input parameter

参数Parameter 说明Description 位置Location 是否为必需?Required? 如果未提供,则为默认值Default if not provided

仪表板提交对象Dashboard submission objects

描述将应用于指定设备签名请求的更改的 JSON 对象。A JSON object that describes the changes to apply to the specified device signing request.

正文Body

Yes

不适用Not applicable

示例请求Example request

方法Method 请求 URIRequest URI

修补程序PATCH

https://devicesigningservice.cloudapp.net/api/signing/devices/<RequestIDhttps://devicesigningservice.cloudapp.net/api/signing/devices/<RequestID>

请求正文Request body

{
"RequestID" : "2b70c57a-7898-48dc-b877-4c0541885eb9",
"ProductName" : "Contoso Toaster",
"AnnouncementDate" : "2015-01-01T00:00:00",
"PublishingDate" : "2015-11-11T00:00:00",
"MarketingNames" : [{
"Name" : "Localized Contoso Toaster",
"Locales" : ["en-US"]
}
],
"UploadComplete" : true
}

响应Response

状态代码Status code

200.200
200 - 正常200 - OK

400.400
400 – 错误请求。400 – Bad Request.

404 - 未找到。404 – Not Found.

401 - 未授权。401 – Not Authorized.

向 Microsoft 发送有关该主题的评论Send comments about this topic to Microsoft