API/Minimal/GetXMLAccountSummary

From Emersion
Jump to: navigation, search

GetXMLAccountSummary

Purpose - Retrieve Account Summary for a given account (one of the callers children accounts.)

Inputs

  <soapenv:Header/>
  <soapenv:Body>
     <min:GetXMLAccountSummaryRequestId>111111</min:GetXMLAccountSummaryRequestId>
  </soapenv:Body>

Outputs

Please note the output has XML data encapsulated in CDATA. Extract XML data out and load into your favourite DOM parser.

  <SOAP-ENV:Body> 
     <ns1:GetXMLAccountSummaryResponse>
        <![CDATA[  ]]>
     </ns1:GetXMLAccountSummaryResponse>
  </SOAP-ENV:Body>

Where the contents of the CDATA are shown in the below example:

Example:

 File:Account dump 111534.xml

Error String:

  1. Invalid Account Id
  2. You do not own this account