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": "c4b2104d-b950-4d4e-a0ae-98f7fe775b85", "userID": "a726c7a8-fdef-428c-9c23-bed05834dabb", "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>c4b2104d-b950-4d4e-a0ae-98f7fe775b85</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>a726c7a8-fdef-428c-9c23-bed05834dabb</UserID> </SavedFilter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"cdc9a0a2-5681-4ee1-918f-2f91d7865837"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">cdc9a0a2-5681-4ee1-918f-2f91d7865837</guid>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK �D[�wpA� 5 xl/workbook.xml � (� ��;�0D�H������"d�hҦHo`�-�G�#r�#�ҥۙ�};t�v괞�G��U���{S�z���6��n�V2�}=���V�o ʓ,IJbaf^h�0o�X�X`�� ^�J2�ps>!D�fO��2{��Dd�����"*�����3��sj�bd+�GV\���-/�"������w�PK �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 �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="R127098cde24841c1" /></Relationships>PK �D[���$ � xl/worksheets/sheet1.xml � (� �QMO�0�+��,-6���4� q�sh�%ZW���瓤!qAʇ#?���T���}0�j(Wt-uƝj����¾�f��YD�;_�fwR�V�UaE#����[���O��x�v��X�Ń�8(�RA�1����0zT]�`���*㠩:ٓ{ᱯ�!�*#� ��W,R�D��x�j(2V����j���g4'�qB����!�SX��ªk�gӱ��n�ڬ˸�m�.A�S`�Kzq)��yP����,|NG��~Bv�C������ڸ#���R����}V����PK �D[�8w�� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�I�֠�ݰa[zǙ|�Ķl��Xp$��U$H%l����I3�����<�qtVAY0 h�kG�+8��N�n���S����#�+6*R��F3�c�<���\�u�i���{�c+��f�������F��Μf��0}u���C�I�O)�K(�L��*�W\�Lb-�U�k�@���b:O���̽hd�Q�ug���Vf����N��B�H!ʊK�0�B������PK �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 �D[��T� � xl/sharedStrings.xml � (� 5�An� E��fO0n�� �E���= �q�d׃�����.���z�^y��s*4�>u �B���|ݤ��S�k!����,smJ<�R������SِZ2�=��p�+�v�ĚW�wݠ�O"��jӂ8(����M���.�0����<-����e?�:^�p6o����+�PK- �D[�wpA� 5 xl/workbook.xmlPK- �D[���� � [Content_Types].xmlPK- �D[@Ơ' ' V _rels/.relsPK- �D[���$ � � xl/worksheets/sheet1.xmlPK- �D[�8w�� P 8 xl/_rels/workbook.xml.relsPK- �D[Ѓc'2 E } xl/styles.xmlPK- �D[��T� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK �D[Z �� 5 xl/workbook.xml � (� ����0D�J��(�@QA���k��L� JR��o �ԭ��|~>1;���F�r[���)g�5=*p3���X>H�b��d��i� �g�(���^�z99���a��"��G�j�P ����D�X�=%�n����.&a[���� ;.VE4(,h(Y�{[И��0< ��,Jy�SHn<��� ��.�PK �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 �D[� 2�' ' _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="R465913557d524e3c" /></Relationships>PK �D[���$ � xl/worksheets/sheet1.xml � (� �QMO�0�+��,-6���4� q�sh�%ZW���瓤!qAʇ#?���T���}0�j(Wt-uƝj����¾�f��YD�;_�fwR�V�UaE#����[���O��x�v��X�Ń�8(�RA�1����0zT]�`���*㠩:ٓ{ᱯ�!�*#� ��W,R�D��x�j(2V����j���g4'�qB����!�SX��ªk�gӱ��n�ڬ˸�m�.A�S`�Kzq)��yP����,|NG��~Bv�C������ڸ#���R����}V����PK �D[��h~� P xl/_rels/workbook.xml.rels � (� ��Kn�0@�b;�ClC*�n�R.0u&�ؑmh9[=R�P�Hm����h~OO��|�Xo�Ɓ�ɇ�� �L #k\�۶�SlV�ݬ�4`L���Ҋ t1N���ш!s��i�1�Է|BsĖ�B����Lv�L��k��Г3��l��_�?��(;�o)V�S �;�Y����|��P:� �J�����B�~���L�6KQH�I��d�*ӡ��9�t�Ӽ<S�ͲK,��J_���_l� PK �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 �D[��T� � xl/sharedStrings.xml � (� 5�An� E��fO0n�� �E���= �q�d׃�����.���z�^y��s*4�>u �B���|ݤ��S�k!����,smJ<�R������SِZ2�=��p�+�v�ĚW�wݠ�O"��jӂ8(����M���.�0����<-����e?�:^�p6o����+�PK- �D[Z �� 5 xl/workbook.xmlPK- �D[���� � � [Content_Types].xmlPK- �D[� 2�' ' U _rels/.relsPK- �D[���$ � � xl/worksheets/sheet1.xmlPK- �D[��h~� P 7 xl/_rels/workbook.xml.relsPK- �D[Ѓc'2 E } xl/styles.xmlPK- �D[��T� � � xl/sharedStrings.xmlPK � �