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": "22fa115f-93fb-483c-8121-7b933e90095b", "userID": "3e33af81-fc1c-4774-bb0b-a88d4df5dea7", "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>22fa115f-93fb-483c-8121-7b933e90095b</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>3e33af81-fc1c-4774-bb0b-a88d4df5dea7</UserID> </SavedFilter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"f74b8b84-cae1-464b-9b35-ccf7313b82fe"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">f74b8b84-cae1-464b-9b35-ccf7313b82fe</guid>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK ��[�ݐ�� 5 xl/workbook.xml � (� ����0��&�C���(��x�བ�m�-ik��-%�x�3;��Գ��Ә}Ԩ]e,��*B��;� t�qc�A�1�K�aoړ,I ba�^턜^i���d��N x5�(E����P�4{H�]����.&"k�����/�B�*hpG=�(:���)F��a���̋<+����.xgﰚl��/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 ��[���O' ' _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="R105a197cada94273" /></Relationships>PK ��[�x�& � xl/worksheets/sheet1.xml � (� �QMo� �+��JҮ釒T��j�M;lg�85���?@�i�.; ���)Owӳ i��Wg`l��V|��Þ��rFw#�Y�[:��+�(0�V8� ���>��*��tglFu��A/}�"����hp �d������lu`���O9g�.�]�L�b��D��䥭x������_k��c��p~}U>lh�z�)���7Ό��w֭W��V�l{���n�{Κ�<�����M�<K/����\*��y(9 ���S� '���/�*l �уK ??WPK ��[��W� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8�8�i7lؖ^`��I�Ďl��Xp$��U$H%l����I3�����<�r~���,I���V�������v�� C��øxW��`a���ˁf�]�Ď�n�S���{�y��ܭp�d��B�!Z�GIV�f2�0���� 쀮���O��KȒH��:�gRu��Zh]6T�7S��<�����W2J��Q�R�Le��Met�����^;��+5l[�75�aY���Ư�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 ��[�C�[� � xl/sharedStrings.xml � (� 5�An�0E�b��1���8�H=A{ ��Sf����]t��������W�ĝS��S )�)�c�Ϗw=�b�4������,��:%a�ތ�`�|*RM�g/���mG?�(y5禹����� �ZP����\�Yq�Cz=����A���E�8_���yFk�Y��7���PK- ��[�ݐ�� 5 xl/workbook.xmlPK- ��[���� � [Content_Types].xmlPK- ��[���O' ' V _rels/.relsPK- ��[�x�& � � xl/worksheets/sheet1.xmlPK- ��[��W� P : xl/_rels/workbook.xml.relsPK- ��[Ѓc'2 E xl/styles.xmlPK- ��[�C�[� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK ��[�r�ɶ 5 xl/workbook.xml � (� ����0��&�C��h��x�ུ[�H����[J ��mgv��ig�_��/�ѓ �ﰌ�5�&A�p�L� �5�I�'�B(�eo &�KQT��D��&H�^i����@y� QO+JSep< �.� �e2�����"��6������:<�H1�w���oT�e5ּ� F��Z\���a-�~�_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 ��[�Im' ' _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="R75424a92d1e44282" /></Relationships>PK ��[�x�& � xl/worksheets/sheet1.xml � (� �QMo� �+��JҮ釒T��j�M;lg�85���?@�i�.; ���)Owӳ i��Wg`l��V|��Þ��rFw#�Y�[:��+�(0�V8� ���>��*��tglFu��A/}�"����hp �d������lu`���O9g�.�]�L�b��D��䥭x������_k��c��p~}U>lh�z�)���7Ό��w֭W��V�l{���n�{Κ�<�����M�<K/����\*��y(9 ���S� '���/�*l �уK ??WPK ��[�q�� P xl/_rels/workbook.xml.rels � (� ��Kn� @��f_�#j�UH6�t��c��I��E��+�R�H]t��h~OO��|�Xm��H�0��;uŀ�S^�p��a ��j���e"�!$RV\`sO�&eq���]�'�K{�:�邱��9n�dw ��7fP���qB�� ӓ��d3���=f?�D��� ȋ��;��k�;��wSK�2b�����2 ��R�L"ם�����k���s�yy����[��n3\7�U�����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 ��[�C�[� � xl/sharedStrings.xml � (� 5�An�0E�b��1���8�H=A{ ��Sf����]t��������W�ĝS��S )�)�c�Ϗw=�b�4������,��:%a�ތ�`�|*RM�g/���mG?�(y5禹����� �ZP����\�Yq�Cz=����A���E�8_���yFk�Y��7���PK- ��[�r�ɶ 5 xl/workbook.xmlPK- ��[���� � � [Content_Types].xmlPK- ��[�Im' ' U _rels/.relsPK- ��[�x�& � � xl/worksheets/sheet1.xmlPK- ��[�q�� P 9 xl/_rels/workbook.xml.relsPK- ��[Ѓc'2 E } xl/styles.xmlPK- ��[�C�[� � � xl/sharedStrings.xmlPK � �