Skip to content

Instantly share code, notes, and snippets.

@cue232s
Created October 17, 2012 21:57
Show Gist options
  • Save cue232s/3908548 to your computer and use it in GitHub Desktop.
Save cue232s/3908548 to your computer and use it in GitHub Desktop.
I can't update a marketing center's limits via the api.
<soapenv:Envelope xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/' xmlns:urn='urn:MarketingCenter' xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/'>
<soapenv:Header/>
<soapenv:Body>
<urn:Put soapenv:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'>
<Authentication xsi:type='ns1:Authentication'>
<Username xsi:type='xsd:string'>******</Username>
<Password xsi:type='xsd:string'>*******</Password>
<CustomerId xsi:type='xsd:int'>3301</CustomerId>
<Level xsi:type='xsd:int'>1</Level>
<Source xsi:type='xsd:string'>hostname: HOST</Source>
<Options xsi:type='xsd:int'>0</Options>
</Authentication>
<Method xsi:type='xsd:string'>reseller.updatecampaignlimitsforcustomer</Method>
<Arguments xsi:type='urn:ArrayOfKeyValuePairs' soapenc:arrayType='urn:KeyValuePair[]'>
<item>
<Key xsi:type='xsd:string'>customer_id</Key>
<Value xsi:type='xsd:string'>36293</Value>
</item>
<item>
<Key xsi:type='xsd:string'>blast_limit</Key>
<Value xsi:type='xsd:string'>33</Value>
</item>
<item>
<Key xsi:type='xsd:string'>keyword_limit</Key>
<Value xsi:type='xsd:string'>33</Value>
</Arguments>
</urn:Put>
</soapenv:Body>
</soapenv:Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment