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": "4da231f2-d729-4fcd-a953-05ec51dec36d", "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": "c50c46f1-1172-439c-85cc-70964f09e58d", "owned": true, "scheduledTask": { "$id": "3", "id": "4ee1636e-7ed7-400a-b650-5fe236923f4e", "accountID": "49890762-5279-4ae2-8e17-b143b1483bf3", "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-08-02T23:12:21.0449112", "task": "sample string 5", "description": "sample string 6", "lastRun": "2025-08-02T23:12:21.0449112", "created": "2025-08-02T23:12:21.0449112", "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>4da231f2-d729-4fcd-a953-05ec51dec36d</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>49890762-5279-4ae2-8e17-b143b1483bf3</d2p1:AccountID> <d2p1:Created>2025-08-02T23:12:21.0449112+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>4ee1636e-7ed7-400a-b650-5fe236923f4e</d2p1:ID> <d2p1:LastRun>2025-08-02T23:12:21.0449112+00:00</d2p1:LastRun> <d2p1:Registered>true</d2p1:Registered> <d2p1:ScheduleType>Cron</d2p1:ScheduleType> <d2p1:Starts>2025-08-02T23:12:21.0449112+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>c50c46f1-1172-439c-85cc-70964f09e58d</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:
"0e3475f1-0dda-4b9c-b5a3-2ae25740a393"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">0e3475f1-0dda-4b9c-b5a3-2ae25740a393</guid>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK ��[�>�� 5 xl/workbook.xml � (� ����0��&�C��@*F��x��}��4П�5��$���~;�d��4f 5j_���!1������Ew�8!J�bF�bcڷBX�$9s8B�F�^ZOW�?,oB�{Ġ��@jZ��s����/2[��$l ��T����E +�@ J��U4��2wq�����9?s��wXɶ��PK ��[���� � [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 ��[D�5y' ' _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="R2daaa1f134dd4428" /></Relationships>PK ��[f�bh$ � xl/worksheets/sheet1.xml � (� �Q�n� ��}��[[UI�IU�ݦ�3K��pdH��m����-?��l��͎� � �����\��qC����������� �E����a:�[ V�'p��#YbJ���7-���-� �� �Q�(嵙<_����'�ev\��2�7Ug"{r���?������w���4�'�%%/]�eƊ?�sV~%�A��1���f�!n�1��8�|3k��8����tA�|�/6�v'w۲������ku5)V�,yRA5��(�#y��8>��>�{md%��7������$�3b � ?�|PK ��[`�~Y� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�N���ݰa[z�'Q;�ݖ��G� XEWb�������4�����9���-�A�]7ھ�c4 l7�N*��0�K iņ��'J�pV�p��1��*���tQ��z�%c����L��,��3f����qF� ӳ�0 F {�{�-���^$*�����y�f��R�B���Z�� ï�w��hS��5��� ��]e�{�>]:w�˙�\)���\3QV�Fo�b�PK ��[Ѓ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 ��[���H� � xl/sharedStrings.xml � (� 5�Mn�0��b���䧔�1$N@0���ӌ���k]~z��{��J�z�*1� ��E<��1����?AIA8g�~I@��)�NY�JY���q����qM�yMX*�#�Jd"*i6��&adPcT-����F����]������چ���G}�� R�:��u�xg�}S_�?PK- ��[�>�� 5 xl/workbook.xmlPK- ��[���� � � [Content_Types].xmlPK- ��[D�5y' ' U _rels/.relsPK- ��[f�bh$ � � xl/worksheets/sheet1.xmlPK- ��[`�~Y� P 7 xl/_rels/workbook.xml.relsPK- ��[Ѓc'2 E } xl/styles.xmlPK- ��[���H� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK ��[[w�s� 5 xl/workbook.xml � (� ����0D�&�C�pAR8q���� �4Ж�5��B $��ξ1�?���G ����c����Iϻ�X�~���meM��ߊ��$�.`i@/�v�_i���h �y5�(�R��x`L,��&�llu���ߔ��"(�QQ�+��YpnM�c�l.��%�m�qvN����;{� �~�_PK ��[���� � [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 ��[����' ' _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="R5e4ac7aa2a054884" /></Relationships>PK ��[f�bh$ � xl/worksheets/sheet1.xml � (� �Q�n� ��}��[[UI�IU�ݦ�3K��pdH��m����-?��l��͎� � �����\��qC����������� �E����a:�[ V�'p��#YbJ���7-���-� �� �Q�(嵙<_����'�ev\��2�7Ug"{r���?������w���4�'�%%/]�eƊ?�sV~%�A��1���f�!n�1��8�|3k��8����tA�|�/6�v'w۲������ku5)V�,yRA5��(�#y��8>��>�{md%��7������$�3b � ?�|PK ��[-�"r� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�I�P�nذ-��0'Q;�]�gc���V� �X��j4��'�|���o� ^8��B�`G��][�1ٛ[�n�;0���Sy�����{)#u<b,��.w�#���VNHlYVJ-e�3�)����C������#��X��p�s���r���9�E��xljؙJ1�K��ڬ�Aȫ��t8�z}�3��ZD2ҥ��t�yJ!_z�4/��hŦj��Z��*<�ɋ��|PK ��[Ѓ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 ��[���H� � xl/sharedStrings.xml � (� 5�Mn�0��b���䧔�1$N@0���ӌ���k]~z��{��J�z�*1� ��E<��1����?AIA8g�~I@��)�NY�JY���q����qM�yMX*�#�Jd"*i6��&adPcT-����F����]������چ���G}�� R�:��u�xg�}S_�?PK- ��[[w�s� 5 xl/workbook.xmlPK- ��[���� � � [Content_Types].xmlPK- ��[����' ' U _rels/.relsPK- ��[f�bh$ � � xl/worksheets/sheet1.xmlPK- ��[-�"r� P 7 xl/_rels/workbook.xml.relsPK- ��[Ѓc'2 E | xl/styles.xmlPK- ��[���H� � � xl/sharedStrings.xmlPK � �