CustomerSignup需要条款和条件 [英] CustomerSignup requires Terms and Conditions

查看:92
本文介绍了CustomerSignup需要条款和条件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好。



我正在尝试通过adcenter API获取客户ID,因此我致电CustomerSignup。但该方法抛出异常"请接受条款和条件"。我在这个问题上发现的唯一的事情就是http://msdn.microsoft.com/en-us/library/bb671962%28v=MSADS.60%29.aspx,
,它说的头被称为consentToTermsAndConditions,但它不起作用。我已经尝试了其他名称,如TermsAndConditions等,但它不断抛出相同的错误。这里是我的SOAP调用:点击
点击
将SOAP-ENV:信封的xmlns:SOAP-ENV =" HTTP://schemas.xmlsoap.org/soap/envelope/"

   的xmlns:NS1 = QUOT; HTTP://adcenter.microsoft.com/syncapis"的xmlns:ns2的= QUOT; HTTPS://adcenter.microsoft.com/v6">结果,
将SOAP-ENV:页眉和GT;结果,
将NS2:ApplicationToken>< / NS2:ApplicationToken>结果,
将NS2:DeveloperToken> ***< / NS2:DeveloperToken>结果,
将NS2:用户名> ***< / NS2:用户名> ;结果,
将NS2:密码> ***< / NS2:密码>结果,
将NS2:consentToTermsAndConditions>真< / NS2:AcceptTermsAndConditions>结果,
将/ SOAP-ENV:页眉和GT;结果,
将SOAP-ENV:身体与GT;< NS1:CustomerSignUp />< / SOAP-ENV:身体与GT;< / SOAP-ENV:信封> ;


回复:


   &NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; [opStatus] =>失败的结果
&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; [opErrors] => stdClass的对象点击
&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;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BSP;&NBSP;&NBSP;&NBSP; ),点击
结果,
&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP ;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; ),点击
结果,

解决方案

您好,


虽然我不确定您的API角色,权限和最终目标,但以下是一些初步建议:


如果您的目标是注册客户,那么本文将会对您有所帮助:
http://msdn.microsoft.com/en-美国/库/ bb445473(v = MSADS.60)的.aspx
。顺便说一下,这在v7中已经改变为SignupCustomer服务操作。


如果您管理的是单个客户实体,则可以在"帐户"和"帐户"中找到该客户ID。结算与NBSP; - >公司信息标签。


要检索您可能作为代理商管理的多个客户实体的客户ID,我建议使用API​​的v7。调用GetAccountsInfo,然后调用GetAccount以检索每个相应的ParentCustomerId元素。


我希望这有帮助!


Hello.

I'm trying to get the customer id via the adcenter API, so I call CustomerSignup. But that method throws an exception "Please accept terms and conditions". The only thing I found on this issue is http://msdn.microsoft.com/en-us/library/bb671962%28v=MSADS.60%29.aspx, it says the header is called consentToTermsAndConditions, but it doesn't work. I've tried other names such as TermsAndConditions and so on, but it keeps throwing the same error. Here's my SOAP call:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:ns1="http://adcenter.microsoft.com/syncapis" xmlns:ns2="https://adcenter.microsoft.com/v6">
<SOAP-ENV:Header>
<ns2:ApplicationToken></ns2:ApplicationToken>
<ns2:DeveloperToken>***</ns2:DeveloperToken>
<ns2:UserName>***</ns2:UserName>
<ns2:Password>***</ns2:Password>
<ns2:consentToTermsAndConditions>true</ns2:AcceptTermsAndConditions>
</SOAP-ENV:Header>
<SOAP-ENV:Body><ns1:CustomerSignUp/></SOAP-ENV:Body></SOAP-ENV:Envelope>

response:

                    [opStatus] => Failed
                    [opErrors] => stdClass Object
                        (
                            [ErrorInfo] => stdClass Object
                                (
                                    [errCode] => -400169
                                    [errMsg] => stdClass Object
                                        (
                                            [string] => Please accept terms and conditions.
                                        )

                                    [errLevel] => Info
                                )

                        )

解决方案

Hello,

While I am unsure of your API role, permissions, and end goal, here are some initial suggestions:

If your goal is to sign up a customer, then this article will be helpful: http://msdn.microsoft.com/en-US/library/bb445473(v=MSADS.60).aspx. By the way, this has changed in v7 to the SignupCustomer service operation.

If you are managing a single customer entity, then the customer ID can be found in the Accounts & Billing -> Company Information tab.

To retrieve the customer ID for multiple customer entities that you might manage as an agency, I recommend using v7 of the API. Make a call to GetAccountsInfo, and then call GetAccount to retrieve each corresponding ParentCustomerId element.

I hope that this helps!


这篇关于CustomerSignup需要条款和条件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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