PUT api/productFilter/{id}
Save product filter with id
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Filter identifier |
globally unique identifier |
Required |
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": "306d8065-0ec7-4a5a-8fa2-980f11351d2a",
"userID": "7f460d01-c940-4997-b406-b531abefbfd0",
"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>306d8065-0ec7-4a5a-8fa2-980f11351d2a</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>7f460d01-c940-4997-b406-b531abefbfd0</UserID>
</SavedFilter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"bd9fa6c4-88a6-4715-9a72-a7158a933a17"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">bd9fa6c4-88a6-4715-9a72-a7158a933a17</guid>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK �1�\L�ķ 5 xl/workbook.xml � (� ����0D�J��(�(H���ҵCwL� JR��o �ԭ��|~>1;<��G������S��kzT�.fBv��
|���L��kӼj�b�3fq/�v���h���dZ�#z5n(R��|"D,�g��`�u��-�~Sb��"����έ-iD�-d�q���4�Iz���&����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�\M��' ' _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="R5776d4e669294ad6" /></Relationships>PK �1�\e���$ � xl/worksheets/sheet1.xml � (� �Q�N�0��(w���hLm'�i�� �кM�&������!q�Ė��{v��͌l�5ښY��;m��ϡ�;�SS��^Fp돮�*��(�o�3��R�Ggd��
�^�p�v6`�����`����ғ�����@vɂ7*#��M�ib���Og���]���,��x��KW�<a��%)�:�A/�1���zP�6T��G�nft�gF�һ�.���YQ�y�x(��rG�v���V�\��&i�e�M�pe.��=Fq�����y�&��{����֯hK�.�\R����PK �1�\��P�� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�N\�TM�aö���Q;�]�gc���V� �X��j4��'�|�lvo�H^0���x���Ӿ\��)��v��G��D��I^q��Ҽ�4j��������aR)�����G�#-�4,p�$���!zc�^�&t�0}��-brP����O)�K�E�y�ZؗM��W�U+!���ZL���w���M���S�+~S�vO)�K/��奚��=�j%Z������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�Kn�0D�"p���ǟBVz�� ���,�5颽}�Ew�03��ן��o�$f�>T`��<E~p�}��(�Kf��5x5��2����9'�L �W��<�PnO'�F8�L�iqǪj\��`Ƽ��Y0;ǯ������5|N���l�{n��=Z,���tº�N�w��+��PK- �1�\L�ķ 5 xl/workbook.xmlPK- �1�\���� � [Content_Types].xmlPK-
�1�\M��' ' V _rels/.relsPK- �1�\e���$ � � xl/worksheets/sheet1.xmlPK- �1�\��P�� P 8 xl/_rels/workbook.xml.relsPK- �1�\Ѓc'2 E
~ xl/styles.xmlPK- �1�\���� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK �1�\��s`� 5 xl/workbook.xml � (� ����0D�J��(� BP!`b�ڡ�LA�����R�n��������i�H>jҮ�
��c�T�.fFv��
|����0H���o�ڳ,I
fq/�vBΎn�Xn���^MJ�Դ=���f���2{��$l��Ta�ETD�v���������J��yY�OKL�<�+=��f���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�\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="Reabc297abaa34ec3" /></Relationships>PK �1�\e���$ � xl/worksheets/sheet1.xml � (� �Q�N�0��(w���hLm'�i�� �кM�&������!q�Ė��{v��͌l�5ښY��;m��ϡ�;�SS��^Fp돮�*��(�o�3��R�Ggd��
�^�p�v6`�����`����ғ�����@vɂ7*#��M�ib���Og���]���,��x��KW�<a��%)�:�A/�1���zP�6T��G�nft�gF�һ�.���YQ�y�x(��rG�v���V�\��&i�e�M�pe.��=Fq�����y�&��{����֯hK�.�\R����PK �1�\}��� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�N�Ġ�ݰa���3��&vd�О�G�
XE�Tb�������4����ޞ���b��w
�A�}7���S2���G��D��I^q����Di�'?���äRNCOg���GZ2VѰd�-�.3���4>{}�Х?��͇c�� �A�S?�H���
�k`�D]u��5�N�(�л��t1�z}���ԕ@�>JajqW�v��N��B��+�X͐��h���ћ��|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�Kn�0D�"p���ǟBVz�� ���,�5颽}�Ew�03��ן��o�$f�>T`��<E~p�}��(�Kf��5x5��2����9'�L �W��<�PnO'�F8�L�iqǪj\��`Ƽ��Y0;ǯ������5|N���l�{n��=Z,���tº�N�w��+��PK- �1�\��s`� 5 xl/workbook.xmlPK- �1�\���� � � [Content_Types].xmlPK-
�1�\z/�' ' U _rels/.relsPK- �1�\e���$ � � xl/worksheets/sheet1.xmlPK- �1�\}��� P 7 xl/_rels/workbook.xml.relsPK- �1�\Ѓc'2 E
} xl/styles.xmlPK- �1�\���� � � xl/sharedStrings.xmlPK � �