POST api/report
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": "92e70ede-f220-4958-b7cf-df1971a839d7", "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": "52e59170-e7e2-46d6-b5f4-352bac0ad030", "owned": true, "scheduledTask": { "$id": "3", "id": "8dd20d2d-eb53-4474-8b6f-adc958e0b802", "accountID": "b8d2a3e5-faa6-4de3-bceb-8af17cce27b4", "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-10-04T23:58:45.4454566", "task": "sample string 5", "description": "sample string 6", "lastRun": "2025-10-04T23:58:45.4454566", "created": "2025-10-04T23:58:45.4454566", "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>92e70ede-f220-4958-b7cf-df1971a839d7</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>b8d2a3e5-faa6-4de3-bceb-8af17cce27b4</d2p1:AccountID> <d2p1:Created>2025-10-04T23:58:45.4454566+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>8dd20d2d-eb53-4474-8b6f-adc958e0b802</d2p1:ID> <d2p1:LastRun>2025-10-04T23:58:45.4454566+00:00</d2p1:LastRun> <d2p1:Registered>true</d2p1:Registered> <d2p1:ScheduleType>Cron</d2p1:ScheduleType> <d2p1:Starts>2025-10-04T23:58:45.4454566+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>52e59170-e7e2-46d6-b5f4-352bac0ad030</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:
"f4686c56-f1a6-488b-88a6-29b3179037f9"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">f4686c56-f1a6-488b-88a6-29b3179037f9</guid>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK V�D[���� 5 xl/workbook.xml � (� ����0��&�C���I p��Ճ�i�?ik��-%�x�3;���qcc�H>j�>w%B�9c�P�?�:�z��(���-֦}+ԁe�ߘ� �4��z���ay�:? 5�(R��x �X�=%�>�hlu��5�~SE��I KZC J�s�Jz���2���� ވ�5��wX����PK V�D[���� � [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 V�D[�㹯' ' _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="R53ca047b561d406c" /></Relationships>PK V�D[y��F% � xl/worksheets/sheet1.xml � (� �Q�n� ��}�vK�VI�IU�ݦ�3K��p�I��m����-?��l���� ����W�3p ����Bw��Ǻ��_H���:�� 5����b�CoU���v�i��d���r+<*D)�f$�����F���PYe���D��y�*���L�eF���W���������+���Y�ճ:5 � �g0�qCE�ip�|3k��8���ٴAW��qUl�{Y�b�[?Įf���c)/.�B�5O*���83�ˑ=Ei�N�8�y��,�5������~����g����� PK V�D[M��}� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�q���ݰ���3��&vd����G� XE�Tb�������4����M#9��� ��V�n�}��j�n�{eL�s iņL���A�d�܌6u��)�=��:�)g��~ɀ[&9\f��i=(|v�4������`#���=�~J�^C�%*�]���e��ZѢ(�X�wS�2b����2,/jѮ�B�e�X}W#=v/ѧK/��党.+ɫ� �^�W5z��/PK V�D[Ѓ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 V�D[�W2�� � xl/sharedStrings.xml � (� 5��n�0D��{p�8�1$��� �l��x�_���<͌f��f�c��] ��C�G?߷ʂb 4�9v�Au�YT�w0�,g���0���8c^S���C�bxB�4�}]�B$P}�H�,���s��?�����h��L56�TGkE����9���4�N�w�/��+�PK- V�D[���� 5 xl/workbook.xmlPK- V�D[���� � � [Content_Types].xmlPK- V�D[�㹯' ' U _rels/.relsPK- V�D[y��F% � � xl/worksheets/sheet1.xmlPK- V�D[M��}� P 8 xl/_rels/workbook.xml.relsPK- V�D[Ѓc'2 E xl/styles.xmlPK- V�D[�W2�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK V�D[>��� 5 xl/workbook.xml � (� ����0D�J��(Ф�����k���&�$(IE?�R�n�����ٺ��v =_�����1�I��/vB��u�"Y!T����M` �s8BP�x�&O7�?,?9��KĠ� �AZ�O��k����G�{��$l��Ta�ETĀƊ6������^)q�Z�G��i�rg����`����/PK V�D[���� � [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 V�D[�ū' ' _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="R29eadfd94d5449dc" /></Relationships>PK V�D[y��F% � xl/worksheets/sheet1.xml � (� �Q�n� ��}�vK�VI�IU�ݦ�3K��p�I��m����-?��l���� ����W�3p ����Bw��Ǻ��_H���:�� 5����b�CoU���v�i��d���r+<*D)�f$�����F���PYe���D��y�*���L�eF���W���������+���Y�ճ:5 � �g0�qCE�ip�|3k��8���ٴAW��qUl�{Y�b�[?Įf���c)/.�B�5O*���83�ˑ=Ei�N�8�y��,�5������~����g����� PK V�D[�8r�� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�IL��ݰa[z��3N�&vd�@�Ƃ#q�"A*�`��h~OO��|����扽��� � FV�n�}�h�j�m7{�0��0�K`iņ��hƐ��l��g�)�=_P�'^Qq�f�5�����5=:}���?����c�"���b?��/!��S���PJ�R���������B<O~���L�ڼ4�R����)n*3���9�t�Ӻ�R+���j�*I�.j��/�_PK V�D[Ѓ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 V�D[�W2�� � xl/sharedStrings.xml � (� 5��n�0D��{p�8�1$��� �l��x�_���<͌f��f�c��] ��C�G?߷ʂb 4�9v�Au�YT�w0�,g���0���8c^S���C�bxB�4�}]�B$P}�H�,���s��?�����h��L56�TGkE����9���4�N�w�/��+�PK- V�D[>��� 5 xl/workbook.xmlPK- V�D[���� � � [Content_Types].xmlPK- V�D[�ū' ' U _rels/.relsPK- V�D[y��F% � � xl/worksheets/sheet1.xmlPK- V�D[�8r�� P 8 xl/_rels/workbook.xml.relsPK- V�D[Ѓc'2 E } xl/styles.xmlPK- V�D[�W2�� � � xl/sharedStrings.xmlPK � �