Back to Customer API documentation

 

Customer REST API Method: reports/create

 

Creates a new report if you have available credits.

 

URL:

https://#{company}.litmus.com/reports.xml

 

HTTP Method(s):

POST

 

Parameters:

 

Request

          XML example

 

<?xml version="1.0" encoding="UTF-8"?>
<report>
  <name>Test name</name>
</report>


Response

       XML example

 

<?xml version="1.0" encoding="UTF-8"?>
<report>
  <bug_html>&lt;style&gt;@media print{#_t { background-image: url('https://a6.emltrk.com/3CDC7925?p');}} div.OutlookMessageHeader, table.moz-email-headers-table, blockquote #_t {background-image:url('https://a6.emltrk.com/3CDC7925?f')}&lt;/style&gt;&lt;div id=&quot;_t&quot;&gt;&lt;/div&gt;&lt;img src=&quot;https://a6.emltrk.com/3CDC7925&quot; width=&quot;1&quot; height=&quot;1&quot; border=&quot;0&quot; /&gt;</bug_html>
  <created_at type="datetime">2010-06-16T13:31:14Z</created_at>
  <id type="integer">25</id>
  <report_name>Test name</report_name>
</report>