对“报告消费品满足”的回应 [英] Responses on "Report consumable products as fulfilled"

查看:34
本文介绍了对“报告消费品满足”的回应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们想从我们的服务管理产品权利,我们想要使用端点:

we wan to manage product entitlements from our service, and we want to use the endpoint:

https: //collections.mp.microsoft.com/v6.0/collections/consume

https://collections.mp.microsoft.com/v6.0/collections/consume

此处记录:  https://docs.microsoft.com/en-us/windows/uwp /货币化/报告 - 消耗品 - 已履行

Documented here: https://docs.microsoft.com/en-us/windows/uwp/monetize/report-consumable-products-as-fulfilled

报告内容已完成。

我看不到文档:

- 如果我们使用productId和transactionId执行相同的请求两次,会发生什么?它是幂等的吗?

- What happens if we do the same request with productId and transactionId, twice? is it idempotent?

- 当Microsoft Store ID密钥已过期且必须续订时,将返回哪个错误?

- Which error will return when the Microsoft Store ID key has expired and has to be renewed?

任何人都可以提供帮助吗?

Anyone can help?

最好,

Jordi

推荐答案

Hi Jordi

欢迎
到开发通用Windows应用论坛
!请使用  标记 
发布到此论坛时,谢谢!

Welcome to the Developing Universal Windows apps forum! Please utilize tagging when posting to this forum, thanks!

>>如果我们使用productId和transactionId执行相同的请求两次会发生什么?
它是幂等的吗?

你的意思是独立还是其他什么?从文档中,它显示"提供耗材的项目ID(在产品查询的itemId参数中返回
),以及您提供的唯一跟踪ID。
如果多次尝试使用相同的跟踪ID,即使该项已被使用,也会返回相同的结果。
如果您不确定消费请求是否成功,您的服务应重新提交具有相同跟踪ID的消费请求。跟踪ID将始终与该消费请求相关联,并且可以无限期重新提交。"

Do you mean independent or something else? From the document, it shows "Provide the item ID of the consumable (as returned in the itemId parameter of a query for products), and a unique tracking ID that you provide. If the same tracking ID is used for multiple tries, the same result will be returned even if the item is already consumed. If you aren't certain if a consume request was successful, your service should resubmit consume requests with the same tracking ID. The tracking ID will always be tied to that consume request and can be resubmitted indefinitely."

< span style ="font-size:10.5pt; font-family:'Segoe UI',sans-serif;颜色:#454545">如果您执行相同的请求,则表示您将使用相同的跟踪ID,它将返回相同的结果。

>>当Microsoft Store ID密钥过期并且要续订
时,将返回哪个错误?

请参考"错误代码"部分"该文件。 如果令牌无效,它将返回代码为401的错误。
错误的名称为Unauthorized,内部错误代码为AuthenticationTokenInvalid。

祝你好运,

Roy


这篇关于对“报告消费品满足”的回应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆