POST api/productFilters
Save new product filter
Request Information
URI Parameters
None.
Body Parameters
Product Filter to save
SavedFilterName | Description | Type | Additional information |
---|---|---|---|
ID | globally unique identifier |
None. |
|
UserID | globally unique identifier |
None. |
|
Category | string |
None. |
|
Name | string |
Required |
|
Parameters | ProductFilter |
None. |
|
User | string |
None. |
|
Owned | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": "9dcde50f-8076-43c1-ba3f-ac0bacdbcbe3", "userID": "6f42805c-4ef3-498b-adb9-0c7a04cad176", "category": "sample string 3", "name": "sample string 4", "parameters": { "$id": "2", "utcOffset": 1.1, "matches": [ { "$id": "3", "matchFilterType": 1, "match": { "$id": "4" }, "matchMode": true, "matchDecimal": 3.1, "matchList": [ { "$id": "5" }, { "$id": "6" } ], "matchCompare": 0, "matchStringCompare": 0, "matchJoin": 1, "subDepartmentMatch": { "$id": "7" }, "minorDepartmentMatch": { "$id": "8" }, "lesserDepartmentMatch": { "$id": "9" } }, { "$ref": "3" } ] }, "user": "sample string 5", "owned": true }
application/xml, text/xml
Sample:
<SavedFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.Tenancies"> <Category>sample string 3</Category> <ID>9dcde50f-8076-43c1-ba3f-ac0bacdbcbe3</ID> <Name>sample string 4</Name> <Owned>true</Owned> <Parameters xmlns:d2p1="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Reports"> <d2p1:Matches> <d2p1:ProductFilterMatch> <d2p1:LesserDepartmentMatch /> <d2p1:Match /> <d2p1:MatchCompare>Equals</d2p1:MatchCompare> <d2p1:MatchDecimal>3.1</d2p1:MatchDecimal> <d2p1:MatchFilterType>1</d2p1:MatchFilterType> <d2p1:MatchJoin>1</d2p1:MatchJoin> <d2p1:MatchList xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:anyType /> <d5p1:anyType /> </d2p1:MatchList> <d2p1:MatchMode>true</d2p1:MatchMode> <d2p1:MatchStringCompare>Like</d2p1:MatchStringCompare> <d2p1:MinorDepartmentMatch /> <d2p1:SubDepartmentMatch /> </d2p1:ProductFilterMatch> <d2p1:ProductFilterMatch> <d2p1:LesserDepartmentMatch /> <d2p1:Match /> <d2p1:MatchCompare>Equals</d2p1:MatchCompare> <d2p1:MatchDecimal>3.1</d2p1:MatchDecimal> <d2p1:MatchFilterType>1</d2p1:MatchFilterType> <d2p1:MatchJoin>1</d2p1:MatchJoin> <d2p1:MatchList xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:anyType /> <d5p1:anyType /> </d2p1:MatchList> <d2p1:MatchMode>true</d2p1:MatchMode> <d2p1:MatchStringCompare>Like</d2p1:MatchStringCompare> <d2p1:MinorDepartmentMatch /> <d2p1:SubDepartmentMatch /> </d2p1:ProductFilterMatch> </d2p1:Matches> <d2p1:UTCOffset>1.1</d2p1:UTCOffset> </Parameters> <User>sample string 5</User> <UserID>6f42805c-4ef3-498b-adb9-0c7a04cad176</UserID> </SavedFilter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"cdbb754a-ef2d-4f6e-83e5-6e39e7cf1c8e"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">cdbb754a-ef2d-4f6e-83e5-6e39e7cf1c8e</guid>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK c2�Z��� 5 xl/workbook.xml � (� ���� ��M��(�?�QO^z�wĥ���/b4魷���o����[cz�Q�v����~,qL���`F�aǍU�i_�p.4��hO�Ir%��N����ˍh��WÂRTj\�w�s����E���l"���o����"*��� 7�S��s�*�bd�ǥ�y,���|J�beo�����/PK c2�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 c2�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="R1211686dbf60495a" /></Relationships>PK c2�Z���% � xl/worksheets/sheet1.xml � (� �Q�n� ��}%隶��T��j�M;lg�85����? �4i� [~~�ٔ���4ڊ盌3� ����|�p��\��Hx�N�����$5 �� �`C�Cg���v�n��d�z�Ͳ�p0H�H����.�6Y0�Je���.[أ{栫�SΙ�˄|װЯ��1>o1yi+�%���&�W�Z��4�7\�A�ʇ �����͌�{���{z�zU���&?������E�㬙ȣ�X˫K��$͋�..̥r`�Q���� Na�J1��p���گ�]=����s�PK c2�Zi�,L� P xl/_rels/workbook.xml.rels � (� ��An� E����`��ɦ�n�\`��b��m��E��+�R�H]t��?��4����z�6�c�oi]qJ��`zߵ�흢��z��r#�~J�<�.�i�X�GHU�З� q�\�ر �:d �K�z�$���!k{��A�F��0{ �b�d���ҟ(��QW�Jɓi�nq��k.�U⾮)a7SK�<`����g2c��F @�������9Dz��<����,A�PBIр������PK c2�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 c2�Z [f,� � xl/sharedStrings.xml � (� 5�K��0D�b��8�B9f�� f`���C�����Y����^�yR/\8�a�i@!�=z�������B����YfQuJ��(2���0b��)3RM��d/���yAyD�<�]Ӵ&�D�BYI��J����� 9+.���t<x��.��Т��x�-���m��q���M}�~PK- c2�Z��� 5 xl/workbook.xmlPK- c2�Z���� � [Content_Types].xmlPK- c2�Z\: ' ' V _rels/.relsPK- c2�Z���% � � xl/worksheets/sheet1.xmlPK- c2�Zi�,L� P 9 xl/_rels/workbook.xml.relsPK- c2�ZЃc'2 E � xl/styles.xmlPK- c2�Z [f,� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK c2�Z��E�� 5 xl/workbook.xml � (� ����0��&�C����&�p��Ճ��m�?����%�x�3;��Ʌ�qn 3Z,BIU��`[F��y��w��8��b��u�k�ld�,�� ���YT�#]i����*�h�e���:K��� �����b���oJ$�~���@Ik%%ɹw%�) ���G��@���s7��w�`���PK c2�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 c2�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="Rc86628b5fd1b4908" /></Relationships>PK c2�Z���% � xl/worksheets/sheet1.xml � (� �Q�n� ��}%隶��T��j�M;lg�85����? �4i� [~~�ٔ���4ڊ盌3� ����|�p��\��Hx�N�����$5 �� �`C�Cg���v�n��d�z�Ͳ�p0H�H����.�6Y0�Je���.[أ{栫�SΙ�˄|װЯ��1>o1yi+�%���&�W�Z��4�7\�A�ʇ �����͌�{���{z�zU���&?������E�㬙ȣ�X˫K��$͋�..̥r`�Q���� Na�J1��p���گ�]=����s�PK c2�Z�)�� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8�]'��ݰa[z�'Q۲]�gc���V���X��j4��'�|�lvo�L^Їɚ���F�~2C����m7{�eLa�\ iń���A���PX�&u����)�uR�tU�����Lr8;��j=)|�괠�����0"F ��-�����HT O}{��gXq�qαBo��y�����g2��Zh���q٬o*3J��s��ҹS^��JU�U%�^`R��E�^���PK c2�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 c2�Z [f,� � xl/sharedStrings.xml � (� 5�K��0D�b��8�B9f�� f`���C�����Y����^�yR/\8�a�i@!�=z�������B����YfQuJ��(2���0b��)3RM��d/���yAyD�<�]Ӵ&�D�BYI��J����� 9+.���t<x��.��Т��x�-���m��q���M}�~PK- c2�Z��E�� 5 xl/workbook.xmlPK- c2�Z���� � � [Content_Types].xmlPK- c2�Z����' ' U _rels/.relsPK- c2�Z���% � � xl/worksheets/sheet1.xmlPK- c2�Z�)�� P 8 xl/_rels/workbook.xml.relsPK- c2�ZЃc'2 E ~ xl/styles.xmlPK- c2�Z [f,� � � xl/sharedStrings.xmlPK � �