POST api/productFilters
Save new product filter
Request Information
URI Parameters
None.
Body Parameters
Product Filter to save
SavedFilter| Name | 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": "18281348-29c3-40be-ab0b-198bd3804d30",
"userID": "d263cba8-5c22-42d6-9995-f9479a7af8a7",
"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>18281348-29c3-40be-ab0b-198bd3804d30</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>d263cba8-5c22-42d6-9995-f9479a7af8a7</UserID>
</SavedFilter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"f14d7822-a27b-4b3b-8c3c-78da811254c0"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">f14d7822-a27b-4b3b-8c3c-78da811254c0</guid>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK �1�\~*��� 5 xl/workbook.xml � (� ����0��&�C���?QR8q���{ii�?ik��-%�x�3;���ɸ�5f@5j_�
�!ؒ�{P��w�q��(�����
t E�]���i���x������j\P�I���!:7{J�|��X��&"K���h�mI!�T�a�a����p��+e���q;E�O-�⍽�(Y�_PK �1�\���� � [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
�1�\4^�w' ' _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="R6d3dd9eca931424d" /></Relationships>PK �1�\�}t% � xl/worksheets/sheet1.xml � (� �Q�n� ��}����UI�JU�ݦ�3K��pdH��m����-?��l�����
��+��;�.5�B�����^����:�q/�o5X�W8���ɪS��{�� �ɂ���Q*D)������.?�.[��Be�q��:ٓ{F���Xp&�*#�
��W����ה�t5�+���Y��X�����3��qC������ͬI{�̪{~g�]��nUl7rS�O�ܭK����Kyq)��yRA5��(�#{��<>;��>�{kd%n�7������%�3b �
??�|PK �1�\f���� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�N\���ݰa[zǞ|�Ďl��Xp$��U$p%l����I3�����<��at�^0 h�3��8��v��I�4�q $������@i��*nA�:��)�=]�>�iɘ�>g�5�����n����iF� �W�a@�@���)z �HT O��=�+n�zU�����Л��x�0�z}�筼��ѥB#��̠<���ӥs����U\�BT-�J)�L^���_l� PK �1�\Ѓ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 �1�\���� � xl/sharedStrings.xml � (� 5�An� E��fO��[�
�E���= �I�d׃���%�,���z�^�y�s*4A�@ ��&����WOѯ�p�2����U�)�K�ۇR̞OeCjɵ��׆�M� ּ*�u�*�D B9�6-���/n��lu�~���Zz=�r�ϳ4��h�7}�߆�YU�UϾj��?PK- �1�\~*��� 5 xl/workbook.xmlPK- �1�\���� � [Content_Types].xmlPK-
�1�\4^�w' ' V _rels/.relsPK- �1�\�}t% � � xl/worksheets/sheet1.xmlPK- �1�\f���� P 9 xl/_rels/workbook.xml.relsPK- �1�\Ѓc'2 E
� xl/styles.xmlPK- �1�\���� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK �1�\��'@� 5 xl/workbook.xml � (� ����0E�J������@���k��L� %���7�ԭ�%���c�Iۡ�z 9*��z�MN�kz���Af���� ��
V�yKT����Z�Z�^��3y�zD/�%�PP�w�������E����$t ����m#*���*�9���� 6�y�R�q�k�d�[{�1��.�PK �1�\���� � [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
�1�\}���' ' _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="R5b329a12b0b84001" /></Relationships>PK �1�\�}t% � xl/worksheets/sheet1.xml � (� �Q�n� ��}����UI�JU�ݦ�3K��pdH��m����-?��l�����
��+��;�.5�B�����^����:�q/�o5X�W8���ɪS��{�� �ɂ���Q*D)������.?�.[��Be�q��:ٓ{F���Xp&�*#�
��W����ה�t5�+���Y��X�����3��qC������ͬI{�̪{~g�]��nUl7rS�O�ܭK����Kyq)��yRA5��(�#{��<>;��>�{kd%n�7������%�3b �
??�|PK �1�\om|�� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8N�&Au�aö��3N�&�e�@�Ƃ#qL� �X��b4������x{��^�<��5X�A�l7���)�v��'�FFHzb�!FwOiP�"d֡Im�,b*}O�PG�#-�|M���Lr8;��j=*|��4������0 F �{�~Z�^��c�a�*P�W4��u[�7S�<a����2m�
�Ԫ�۪�%�Tf����O/��텚T�l����+q�.j��.��PK �1�\Ѓ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 �1�\���� � xl/sharedStrings.xml � (� 5�An� E��fO��[�
�E���= �I�d׃���%�,���z�^�y�s*4A�@ ��&����WOѯ�p�2����U�)�K�ۇR̞OeCjɵ��׆�M� ּ*�u�*�D B9�6-���/n��lu�~���Zz=�r�ϳ4��h�7}�߆�YU�UϾj��?PK- �1�\��'@� 5 xl/workbook.xmlPK- �1�\���� � � [Content_Types].xmlPK-
�1�\}���' ' U _rels/.relsPK- �1�\�}t% � � xl/worksheets/sheet1.xmlPK- �1�\om|�� P 8 xl/_rels/workbook.xml.relsPK- �1�\Ѓc'2 E
xl/styles.xmlPK- �1�\���� � � xl/sharedStrings.xmlPK � �