Home > adCenter API, MSN > MSN adCenter Sample CustomerManagement.GetAccount() Raw SOAP Request

MSN adCenter Sample CustomerManagement.GetAccount() Raw SOAP Request

October 20th, 2010

Below is a sample of a production SOAP call using PHP and the built-in SOAP extension to call the GetAccount() function of the Customer Management service in version 7 of MSN adCenter API:

<?xml version=”1.0″ encoding=”UTF-8″?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV=”http://schemas.xmlsoap.org/soap/envelope/” xmlns:ns1=”https://adcenter.microsoft.com/api/customermanagement”>
<SOAP-ENV:Header>
<ns1:ApplicationToken></ns1:ApplicationToken>
<ns1:DeveloperToken>XXXXXXXXXXXXX</ns1:DeveloperToken>
<ns1:UserName>XXXXXXXXXXXXX</ns1:UserName>
<ns1:Password>XXXXXXXXXXXX</ns1:Password>
<ns1:CustomerAccountId>XXXXXXXXX</ns1:CustomerAccountId>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:GetAccountRequest>
<ns1:AccountId>XXXXXXXX</ns1:AccountId>
</ns1:GetAccountRequest>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Comments are closed.