PUT api/productFilter/{id}

Save product filter with id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Filter identifier

globally unique identifier

Required

Body Parameters

Product Filter to save

SavedFilter
NameDescriptionTypeAdditional 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": "0fca09b8-4ad6-4ea0-844d-2b4f746c92e8",
  "userID": "f1fac5ae-e90d-442e-872a-d8103049906f",
  "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>0fca09b8-4ad6-4ea0-844d-2b4f746c92e8</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>f1fac5ae-e90d-442e-872a-d8103049906f</UserID>
</SavedFilter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

globally unique identifier

Response Formats

application/json, text/json

Sample:
"c097b380-f689-442d-915e-c0ff045f4a1e"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">c097b380-f689-442d-915e-c0ff045f4a1e</guid>

application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

Sample:
PKH4�Z�N�5xl/workbook.xml �(�����0��&�C���R8q���{ii�?ik��-%�x�3;���ɸ�5f@5j_�
�!ؒ�{P��w�q��(݋�����
t �,+���i���x������j\P�I���!:7{J�|��X��&"K���h�mI!�T�a�a�����#W�8<x��+.n����q��7%���PKH4�Z����	�[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
H4�ZY�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="R87c08ae4610c496f" /></Relationships>PKH4�Z1���$�xl/worksheets/sheet1.xml �(��Q�N�0��(w���eLm'�i���кM�&�w�瓤!q�Ė��{v��͌�
�k�5�n2����i;�|��nϏM���x@,��?��+�� �o�78�
���R7�{��	�ـ%�gY)����Wz�|e����.Y0�Je����:أ{栯�Ӗ3�T	��a�b��D��䥫y������_렗�Ho�<��
���ѧ��ƙ���.�#U�]�y��E�?ܗ�>笝=��X��I��$ɓ$�T�R9��(��Ѡ�ø�&��5������~��H����5_PKH4�Z3Fn�Pxl/_rels/workbook.xml.rels �(���Kn�0@�b;��P�d�M�i.`�F�Nڜ���W��H-���&�����4����޾M#;��5
��F�L��)tl7�=�2�	��ٳ�b|:���s��&�;���κI�������'�	Qr�d�-�.3��h�n@z�x�Ȅ?��պ��D�A��B?%ϿC�D*��j`�%���PU�6/���������5_�Tu��6E�e]�*���h�H�/�tZ�jB���Z̅̋���o�b�PKH4�ZЃc'2E
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��PKH4�Z��^���xl/sharedStrings.xml �(�5�AN�0E�b�޵SҒT��@�p�K�8d&n�Y�|���}w�.��s�	�����1��۫@���Z	'�Au��YT�O��l7c8.X��ԒT����0��f^���l�Ք�	T�Iӂ:(���M������4X��è��<뱻��6%�_R:tF�3}�^�_PK-H4�Z�N�5xl/workbook.xmlPK-H4�Z����	�[Content_Types].xmlPK-
H4�ZY�m''V_rels/.relsPK-H4�Z1���$��xl/worksheets/sheet1.xmlPK-H4�Z3Fn�P8xl/_rels/workbook.xml.relsPK-H4�ZЃc'2E
~xl/styles.xmlPK-H4�Z��^����xl/sharedStrings.xmlPK��

application/vnd.ms-excel

Sample:
PKH4�Z#��O�5xl/workbook.xml �(�����0��&�C����DR8q���{-[�@����[J ��mgv�ۡ�����}�dB�[,ct
!�K�,���v�z�b��E��Co�[���*��x�XT��\�+�Vp�$@�ӊ�L�ѥ�C��L�Vw1YC�7E3l��
���=���܆��F��^U�΋k-��g��w%���PKH4�Z����	�[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
H4�Ze�g�''_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="R9cba8cede3f94a7a" /></Relationships>PKH4�Z1���$�xl/worksheets/sheet1.xml �(��Q�N�0��(w���eLm'�i���кM�&�w�瓤!q�Ė��{v��͌�
�k�5�n2����i;�|��nϏM���x@,��?��+�� �o�78�
���R7�{��	�ـ%�gY)����Wz�|e����.Y0�Je����:أ{栯�Ӗ3�T	��a�b��D��䥫y������_렗�Ho�<��
���ѧ��ƙ���.�#U�]�y��E�?ܗ�>笝=��X��I��$ɓ$�T�R9��(��Ѡ�ø�&��5������~��H����5_PKH4�Z��Yh�Pxl/_rels/workbook.xml.rels �(���KN�0@�byO�8IiP�nذ-��5���&vd�@�Ƃ#q�"A*�`��h~OO��|���ަ��`��w/�:�fp}�O���|���q�)OD;̑�;nS���`qұ�3��!&�rz1k8���r%’����p��?DO4>z8M��`���1Z���A�S�JQ\BYd*gO��{�@�+25�g�fj1�G��^��B����M#��ו�����s
��K�ey�v�Zi�TP�T��\���_l�PKH4�ZЃc'2E
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��PKH4�Z��^���xl/sharedStrings.xml �(�5�AN�0E�b�޵SҒT��@�p�K�8d&n�Y�|���}w�.��s�	�����1��۫@���Z	'�Au��YT�O��l7c8.X��ԒT����0��f^���l�Ք�	T�Iӂ:(���M������4X��è��<뱻��6%�_R:tF�3}�^�_PK-H4�Z#��O�5xl/workbook.xmlPK-H4�Z����	��[Content_Types].xmlPK-
H4�Ze�g�''U_rels/.relsPK-H4�Z1���$��xl/worksheets/sheet1.xmlPK-H4�Z��Yh�P7xl/_rels/workbook.xml.relsPK-H4�ZЃc'2E
}xl/styles.xmlPK-H4�Z��^����xl/sharedStrings.xmlPK��