AutoBill.modify() call that removes a product and adds it back in with a discount code

l version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <modify xmlns="http://soap.vindicia.com/v21_0/AutoBill"> <auth xmlns=""> <version>21.0</version> <login>foxtel_now_dev_soap</login> <password>2MWHDlECTiTo3sKdGxQczL2K1LHG15dA</password> </auth> <srd xmlns="" xsi:nil="true"/> <autobill xmlns="" xmlns:ns1="http://soap.vindicia.com/v21_0/Vindicia" xsi:type="ns1:AutoBill"> <merchantAutoBillId xsi:type="xsd:string">Aggregator_AB_1513638372201</merchantAutoBillId> </autobill> <billProratedPeriod xmlns="">true</billProratedPeriod> <effectiveDate xmlns="">today</effectiveDate> <changeBillingPlanTo xmlns="" xsi:nil="true"/> <autoBillItemModifications xmlns=""> <removeAutoBillItem> <merchantAutoBillItemId>Free_AB_1513638372201_991152</merchantAutoBillItemId> <product> <merchantProductId>991152</merchantProductId> </product> </removeAutoBillItem> <addAutoBillItem> <merchantAutoBillItemId>Free_AB_1513638372201_2_991152</merchantAutoBillItemId> <product> <merchantProductId>991152</merchantProductId> </product> <campaignCode>TBB312</campaignCode> </addAutoBillItem> </autoBillItemModifications> <dryrun xmlns="">false</dryrun> </modify> </soapenv:Body> </soapenv:Envelope>

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.