Skip to content

Action – Run Report

Eric Domke edited this page May 6, 2019 · 1 revision

AML Query

<!-- SOAP_ACTION = ApplyAML or ApplyItem -->
<Item type="Method" action="Run Report">
  <report_name>{Report Name}</report_name>
  <AML>
    <Item typeId='' id='' />
  </AML>
</Item>

⚠️ Note that a typeId attribute is required on the AML used to retrieve the item, or errors can occur.

Example (Input):

<Item type="Method" action="Run Report">
  <report_name>ME Dashboard</report_name>
  <AML>
    <Item type="Team" id="2291675007934035AC4125513249B999"/>
  </AML>
</Item>

Example (Result):

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
  <SOAP-ENV:Body>
    <Result>&lt;!DOCTYPE html&gt;&lt;html xmlns:user="urn:user-scripts" ... </Result>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Clone this wiki locally