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": "25d946b8-6919-433a-84a2-1f8e527f049d",
"userID": "f6c892dd-ad09-4f8a-98e8-7a3b4d396cb8",
"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>25d946b8-6919-433a-84a2-1f8e527f049d</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>f6c892dd-ad09-4f8a-98e8-7a3b4d396cb8</UserID>
</SavedFilter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"5370dd7b-2660-4d00-a8aa-593a5ef92df5"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">5370dd7b-2660-4d00-a8aa-593a5ef92df5</guid>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK Փ�\G�X� 5 xl/workbook.xml � (� ����0��&�C����D��x��})[i�?ik��-%�x�3;��T�qcg�H>jҾt5B�%c�����Ew�8!J�bFɱ5��PVdٕ9� H�� ��+�����bPӊR 5m�B���S�쓌�Vw1 [C�7U%�~�Ѡ��-�$9���9%��qx �,?#���Kw����a�~7_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
Փ�\<�n]' ' _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="R3f1ca130e9914b71" /></Relationships>PK Փ�\ �٨$ � xl/worksheets/sheet1.xml � (� �Q�N�0��(w����@m'�i�� �кK�&�w���!q�Ė��{v��͍�
!Z�,7��;�?7r��n/m�`�D@��>>�F��Q��p:npϵ���i8+���ف'UŽ
0jb�h�����8�}��ƕ�i�e[��ٓ{`h�S)�j�|���_�Hc|"^R��7��X�|�ʯA�0�y�7\���
�v���1�[8��&�ӷ�.�'���~SVն��}�+���#��X˫K��dͣ&��r��S���)�G������^>������"A�
??�~PK Փ�\�+Ԍ� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8�j�
��p�q5�-�z6�+`��ĂM73������x{��^��<���=dI
57b�c� �Z�m7{�Y�^M֓�D�T��R�.�'Ƣ�i��B,�H-�G6"�Ӵ�ǹk&9�-��h��8>~ZP�?��Ÿ�W�ȁ�C?-O/)K"ȣ�a���Y�(r��� �fj>�g�^��J��mUWQF4]ɛ�2�9O�ş^;��+���0�MW��W��ѫ��~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 Փ�\��w�� � xl/sharedStrings.xml � (� 5�Kn�0D�"h�Hub�YY� ���(Ǥ���Q]>����o��WN�z��sZ!
%&�����Ӝ�b�0�^�����,�N�{=�,ky�0�ʂT�����z����'Dɳm��l�DZ
e#�Z�6J�
o�\)x ���b<����9D�� L{�C�㹉c�o����
oPK- Փ�\G�X� 5 xl/workbook.xmlPK- Փ�\���� � � [Content_Types].xmlPK-
Փ�\<�n]' ' T _rels/.relsPK- Փ�\ �٨$ � � xl/worksheets/sheet1.xmlPK- Փ�\�+Ԍ� P 6 xl/_rels/workbook.xml.relsPK- Փ�\Ѓc'2 E
{ xl/styles.xmlPK- Փ�\��w�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK Փ�\"�\� 5 xl/workbook.xml � (� ����0D�&�C��H
)��x��})[i�-ik��-H�yۙ�};|��o���G���]c��j�';��;i���{1+�X[��hK�$c�ߩ�ӕ�ˏ��b�ÊҠ��B���p��Vw6 [C�7��~�(b@cIk@���ے�)q���C��*ȳ��KzK���a�m��/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
Փ�\��U�' ' _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="R92c21796939042c7" /></Relationships>PK Փ�\ �٨$ � xl/worksheets/sheet1.xml � (� �Q�N�0��(w����@m'�i�� �кK�&�w���!q�Ė��{v��͍�
!Z�,7��;�?7r��n/m�`�D@��>>�F��Q��p:npϵ���i8+���ف'UŽ
0jb�h�����8�}��ƕ�i�e[��ٓ{`h�S)�j�|���_�Hc|"^R��7��X�|�ʯA�0�y�7\���
�v���1�[8��&�ӷ�.�'���~SVն��}�+���#��X˫K��dͣ&��r��S���)�G������^>������"A�
??�~PK Փ�\��UW� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�C�:�i7lؖ^�u�I�Ķl��Xp$��U$p%l����I3�����<�qt�^1 h��F۷pJ�N�v���R����#�+6�0��(�z�Y��y��c\�U�i�W��z�������L�?{��3j|t�4�M���8 & {zL-��"�^e*��������0���B
�fj1�'��^�y!��Ym�A&��7�T��9�|�ҩ,j�H�x#���Kf.j��/6_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 Փ�\��w�� � xl/sharedStrings.xml � (� 5�Kn�0D�"h�Hub�YY� ���(Ǥ���Q]>����o��WN�z��sZ!
%&�����Ӝ�b�0�^�����,�N�{=�,ky�0�ʂT�����z����'Dɳm��l�DZ
e#�Z�6J�
o�\)x ���b<����9D�� L{�C�㹉c�o����
oPK- Փ�\"�\� 5 xl/workbook.xmlPK- Փ�\���� � � [Content_Types].xmlPK-
Փ�\��U�' ' U _rels/.relsPK- Փ�\ �٨$ � � xl/worksheets/sheet1.xmlPK- Փ�\��UW� P 7 xl/_rels/workbook.xml.relsPK- Փ�\Ѓc'2 E
| xl/styles.xmlPK- Փ�\��w�� � � xl/sharedStrings.xmlPK � �