佣金明细服务(REST) [英] Commission Detail Service (REST)
问题描述
使用CJ的佣金详细信息服务(REST)的人可以告诉我此查询的示例XML响应是什么.
Can someone who uses CJ's Commission Detail Service (REST) tell me what a sample XML response is for this query.
CJ的Web服务文档都没有确切说明XML的格式,并且由于我没有任何佣金,但我只能猜测结果.
None of CJ's Web Services documentation indicates exactly how the XML is formatted and as I don't have any commission payments yet I can only guess the result.
推荐答案
以上所有答案现已过时.新回复包含总共20个不同的项目.最近,我在CJ上出了票,这是我得到的答复.
All the above answers are now outdated. The new response contains the total of 20 different items. Recently I've raised a ticket on CJ and this is the response I got.
我写了一个Python脚本来轮询委托详细服务API.我已经通过获取第一个响应(Commissions Resource)的original_action_id并调用了它的第二个部分(Item-Detail Resource)来涵盖了佣金详细信息服务api的所有部分.最后,我将这两个XML合并到一个字典中.
I have written one python script for polling commission detail service api. I have covered all parts of commission detail service api by fetching original_action_id of the first response(Commissions Resource) and calling the 2nd part of it(Item-Detail Resource). Finally I'm merging both those XML into a single dictionary.
https://github.com/arcticOak2/cj-commission-detail-service-api-complete-python-script
这篇关于佣金明细服务(REST)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!