POST api/reports
Save report
Request Information
URI Parameters
None.
Body Parameters
report to be saved
SavedReportName | Description | Type | Additional information |
---|---|---|---|
ID | globally unique identifier |
None. |
|
Name |
User-specified saved report name |
string |
Required |
Report |
Internal report identifier (Used to load the template and report data) |
string |
Required |
MailTo |
Mail addresses for scheduled report |
string |
None. |
MailFileFormats |
Attachment file formats for scheduled report |
string |
None. |
VisibleToAll |
If set to true, all Users for a Customer may view this report |
boolean |
None. |
Parameters | Collection of SavedReportParameter |
None. |
|
User | string |
None. |
|
UserAccountID | globally unique identifier |
None. |
|
Owned | boolean |
None. |
|
ScheduledTask | ScheduledTask |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": "6ed98964-d3ba-4cf1-ae8f-b92fc7ea19e8", "name": "sample string 2", "report": "sample string 3", "mailTo": "sample string 4", "mailFileFormats": "sample string 5", "visibleToAll": true, "parameters": [ { "$id": "2", "key": "sample string 1", "value": "sample string 2" }, { "$ref": "2" } ], "user": "sample string 7", "userAccountID": "5c1b000c-ee03-4ca4-8f1e-ebbdfeede266", "owned": true, "scheduledTask": { "$id": "3", "id": "6d154084-319e-4fd3-9adf-da6a7aee41de", "accountID": "491f9676-555e-4970-a353-6d747256faff", "data": { "$id": "4", "sample string 1": { "$id": "5" }, "sample string 3": { "$id": "6" } }, "dataBytes": "QEA=", "dataFormat": 1, "dataCompression": 1, "scheduleType": 0, "cronExpression": "sample string 3", "cronExpressionDescription": "sample string 4", "starts": "2025-06-14T06:12:06.8931984", "task": "sample string 5", "description": "sample string 6", "lastRun": "2025-06-14T06:12:06.8931984", "created": "2025-06-14T06:12:06.8931984", "registered": true, "default": true, "account": "sample string 10" } }
application/xml, text/xml
Sample:
<SavedReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.Tenancies"> <ID>6ed98964-d3ba-4cf1-ae8f-b92fc7ea19e8</ID> <MailFileFormats>sample string 5</MailFileFormats> <MailTo>sample string 4</MailTo> <Name>sample string 2</Name> <Owned>true</Owned> <Parameters> <SavedReportParameter> <_x003C_Key_x003E_k__BackingField>sample string 1</_x003C_Key_x003E_k__BackingField> <_x003C_Value_x003E_k__BackingField>sample string 2</_x003C_Value_x003E_k__BackingField> </SavedReportParameter> <SavedReportParameter> <_x003C_Key_x003E_k__BackingField>sample string 1</_x003C_Key_x003E_k__BackingField> <_x003C_Value_x003E_k__BackingField>sample string 2</_x003C_Value_x003E_k__BackingField> </SavedReportParameter> </Parameters> <Report>sample string 3</Report> <ScheduledTask xmlns:d2p1="http://schemas.datacontract.org/2004/07/EziManager.Models.ScheduledTasks"> <d2p1:Account>sample string 10</d2p1:Account> <d2p1:AccountID>491f9676-555e-4970-a353-6d747256faff</d2p1:AccountID> <d2p1:Created>2025-06-14T06:12:06.8931984+00:00</d2p1:Created> <d2p1:CronExpression>sample string 3</d2p1:CronExpression> <d2p1:CronExpressionDescription>sample string 4</d2p1:CronExpressionDescription> <d2p1:Data xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:KeyValueOfstringanyType> <d3p1:Key>sample string 1</d3p1:Key> <d3p1:Value /> </d3p1:KeyValueOfstringanyType> <d3p1:KeyValueOfstringanyType> <d3p1:Key>sample string 3</d3p1:Key> <d3p1:Value /> </d3p1:KeyValueOfstringanyType> </d2p1:Data> <d2p1:DataBytes>QEA=</d2p1:DataBytes> <d2p1:DataCompression>1</d2p1:DataCompression> <d2p1:DataFormat>1</d2p1:DataFormat> <d2p1:Default>true</d2p1:Default> <d2p1:Description>sample string 6</d2p1:Description> <d2p1:ID>6d154084-319e-4fd3-9adf-da6a7aee41de</d2p1:ID> <d2p1:LastRun>2025-06-14T06:12:06.8931984+00:00</d2p1:LastRun> <d2p1:Registered>true</d2p1:Registered> <d2p1:ScheduleType>Cron</d2p1:ScheduleType> <d2p1:Starts>2025-06-14T06:12:06.8931984+00:00</d2p1:Starts> <d2p1:Task>sample string 5</d2p1:Task> <d2p1:TimeZone xmlns:d3p1="http://schemas.datacontract.org/2004/07/System" i:nil="true" /> </ScheduledTask> <User>sample string 7</User> <UserAccountID>5c1b000c-ee03-4ca4-8f1e-ebbdfeede266</UserAccountID> <VisibleToAll>true</VisibleToAll> </SavedReport>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Saved report identifier
globally unique identifierResponse Formats
application/json, text/json
Sample:
"91eb0eda-ccb3-428b-95a7-46b4c8593e45"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">91eb0eda-ccb3-428b-95a7-46b4c8593e45</guid>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK �1�Z)/�� 5 xl/workbook.xml � (� ����0��&�C���g")��x��}��m�-ik��-H�yۙ��v�d]���'=_���ƒ1�J��OvDw�uB���lש۾5�������5^��ӕ�ˏAx���4(C��>7{(��"��՝M���M��_,��X�P�87QфW�8�S�WQ�-&YYm������PK �1�Z���� � [Content_Types].xml � (� ���J�0�_��*M�D��V�*��d� �d�k��<�H���V���= ��|�o��|����������+�����7l���e۶~=E�"�zlXO�@Ճ��C�3]HNR~���R��uU�<���������a��36��b7םQ �1Z�$�8z�R��3 tP��-c�� g����_M��Of���~O�s�T���� ����P<�D��e=1Z��a2�b ��%#H'�2}���e�B)��~j/F�t��PK �1�Z�ԧ�' ' _rels/.rels � (� <?xml version="1.0" encoding="utf-8"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml" Id="R9f586d6972a2494a" /></Relationships>PK �1�Z����$ � xl/worksheets/sheet1.xml � (� �Q�n� ��}����UI�IU�ݦ�3K��p�I��m����-?��l��͎� ���o7�3p-v� 5�C��ǦZ�_H���:�� ��� N�b�GoU����i��l�QHy/<�*D)�f"�����&���RYeo��D��y�k���L4UF�X�W�������t5�+���Y�ճz5�� �g0�qCe�iq�|3k��8����tA�|�ߔ;Ye!��c�jg h?���R�4Y�j*���S���4�S����J\So<����qK�ψ|V����PK �1�Z��� P xl/_rels/workbook.xml.rels � (� ���N�0@%�i���u�p�:�i�6�ڤ�3`�ƁO����ā�r�l�OOq>�?6��yb/�it�����jvh���5춛=N*�dƅX�Ԁ ay���YQ����;?�S?�E��y^q�2����Ct}?j|t�4� ����G2��A�C?%� �H��5�/:�����(J�J��L��yB�����Z� ���EQ�xn*c���9����)-��R�6�e��R��E�_���PK �1�ZЃc'2 E xl/styles.xml � (� �S�j�0��&0���0�^�]v��:��d;��H��Kj�vG�Mz�zOHr�iB8v �F��WEG�?s�Oh�lff�uZМ���ށh�R���6�'��2��������ɳ�UŦ`<Қo���x���8��K�6BC ^�کĖ��B���n��f8����9� ����CUk��#��U�ub��WUB;��k���&� AR>��� ��im��ΑF���YO��%�}� ��LJ\in�,���9oy}��y.�$��6��ųNJ�c��T��rĘ)փBR淶�E3ʟ�\��q��PK �1�Z2���� � xl/sharedStrings.xml � (� 5�A��0�b��8@��1���� ���x��LV��1���V����Y���1S�] )�1ң���G��X<�~΄=<�A]�eU��=L"˗1&L�wyA*�=��K��axYя<!J�͡�N&�H�B�H��F�w��AtV\�ǡ��������Ɵu}��6���qּ���r/PK- �1�Z)/�� 5 xl/workbook.xmlPK- �1�Z���� � [Content_Types].xmlPK- �1�Z�ԧ�' ' V _rels/.relsPK- �1�Z����$ � � xl/worksheets/sheet1.xmlPK- �1�Z��� P 8 xl/_rels/workbook.xml.relsPK- �1�ZЃc'2 E ~ xl/styles.xmlPK- �1�Z2���� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK �1�Z��2� 5 xl/workbook.xml � (� ����0��&�C�`�N\�z�ҭ4Ж�5���H�yۙ��v����im�>�3>s4!��nH�?؞̸��i�t/n�T5U�~k2�G�c�u�5�Q�������P��(�nAiT����|j�P4�Y��Zw2_B�7�ϰ�bV̠�*lvn��0��q�_S�D�I|�s{��|�]~PK �1�Z���� � [Content_Types].xml � (� ���J�0�_��*M�D��V�*��d� �d�k��<�H���V���= ��|�o��|����������+�����7l���e۶~=E�"�zlXO�@Ճ��C�3]HNR~���R��uU�<���������a��36��b7םQ �1Z�$�8z�R��3 tP��-c�� g����_M��Of���~O�s�T���� ����P<�D��e=1Z��a2�b ��%#H'�2}���e�B)��~j/F�t��PK �1�Z����' ' _rels/.rels � (� <?xml version="1.0" encoding="utf-8"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml" Id="R8a35120d6bb04dd4" /></Relationships>PK �1�Z����$ � xl/worksheets/sheet1.xml � (� �Q�n� ��}����UI�IU�ݦ�3K��p�I��m����-?��l��͎� ���o7�3p-v� 5�C��ǦZ�_H���:�� ��� N�b�GoU����i��l�QHy/<�*D)�f"�����&���RYeo��D��y�k���L4UF�X�W�������t5�+���Y�ճz5�� �g0�qCe�iq�|3k��8����tA�|�ߔ;Ye!��c�jg h?���R�4Y�j*���S���4�S����J\So<����qK�ψ|V����PK �1�Z5�� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�Iܐ��ݰ���=��&vd����G� XE�Tb�������4����M#9���-��V:5ؾ�S�5l7�=�"��`�9��bC&���� N"dnF�:��IĔ���BE��`��~ɀ[&9\f��i=H|v�4������`#���=�~J�^C�%*��ja_7�h��� ��Z��ï�w���K&y���U���%�t�Ӳ�Pkr�d^ ��7��ћ��|PK �1�ZЃc'2 E xl/styles.xml � (� �S�j�0��&0���0�^�]v��:��d;��H��Kj�vG�Mz�zOHr�iB8v �F��WEG�?s�Oh�lff�uZМ���ށh�R���6�'��2��������ɳ�UŦ`<Қo���x���8��K�6BC ^�کĖ��B���n��f8����9� ����CUk��#��U�ub��WUB;��k���&� AR>��� ��im��ΑF���YO��%�}� ��LJ\in�,���9oy}��y.�$��6��ųNJ�c��T��rĘ)փBR淶�E3ʟ�\��q��PK �1�Z2���� � xl/sharedStrings.xml � (� 5�A��0�b��8@��1���� ���x��LV��1���V����Y���1S�] )�1ң���G��X<�~΄=<�A]�eU��=L"˗1&L�wyA*�=��K��axYя<!J�͡�N&�H�B�H��F�w��AtV\�ǡ��������Ɵu}��6���qּ���r/PK- �1�Z��2� 5 xl/workbook.xmlPK- �1�Z���� � [Content_Types].xmlPK- �1�Z����' ' V _rels/.relsPK- �1�Z����$ � � xl/worksheets/sheet1.xmlPK- �1�Z5�� P 8 xl/_rels/workbook.xml.relsPK- �1�ZЃc'2 E xl/styles.xmlPK- �1�Z2���� � � xl/sharedStrings.xmlPK � �