佣金明细服务 (REST) [英] Commission Detail Service (REST)

查看:27
本文介绍了佣金明细服务 (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 的网络服务文档都没有准确说明 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.通过获取第一个响应(佣金资源)的 original_action_id 并调用它的第二部分(项目详细信息资源),我已经涵盖了佣金详细信息服务 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屋!

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