任何人都可以给我一个样本xml的ARB请求更新吗?
我需要更新金额和订阅名称。谢谢.. :))
我已经阅读了ARB XML指南,但是在更新ARB时我遇到了语法问题。
答案 0 :(得分:1)
---------------------------------------------------------------------------------------
The following is the XML sent to successfully create a new subscription.
---------------------------------------------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<ARBCreateSubscriptionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
<merchantAuthentication>
<name>mytestacct</name>
<transactionKey>112223344</transactionKey>
</merchantAuthentication>
<refId>Sample</refId>
<subscription>
<name>Sample subscription</name>
<paymentSchedule>
<interval>
<length>1</length>
<unit>months</unit>
</interval>
<startDate>2007-03-15</startDate>
<totalOccurrences>12</totalOccurrences>
<trialOccurrences>1</trialOccurrences>
</paymentSchedule>
<amount>10.29</amount>
<trialAmount>0.00</trialAmount>
<payment>
<creditCard>
<cardNumber>4111111111111111</cardNumber>
<expirationDate>2008-08</expirationDate>
</creditCard>
</payment>
<billTo>
<firstName>John</firstName>
<lastName>Smith</lastName>
</billTo>
</subscription>
</ARBCreateSubscriptionRequest>
答案 1 :(得分:0)
<ARBUpdateSubscriptionRequest xmlns=\"AnetApi/xml/v1/schema/AnetApiSchema.xsd\">
<merchantAuthentication>
<name> LoginId </name>
<transactionKey> Transaction Key </transactionKey>
</merchantAuthentication>
<subscriptionId> Subscription Id </subscriptionId>
<subscription>
<name> Subscription Name </name>
<amount> Amount </amount>
</subscription>
</ARBUpdateSubscriptionRequest>