GET api/product/{id}/buyinglimits
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CustomBuyingLimit| Name | Description | Type | Additional information |
|---|---|---|---|
| Type | string |
None. |
|
| Name | string |
None. |
|
| ID | integer |
None. |
|
| BuyingLimit | integer |
None. |
|
| BuyingLimitIndependent | boolean |
None. |
|
| BuyingLimitType | BuyingLimitType |
None. |
|
| IncludeInDistinctLimit | boolean |
None. |
|
| DistinctCategoryLimit | integer |
None. |
|
| StoreIDs | Collection of integer |
None. |
|
| DeptCode | string |
None. |
|
| SubDeptCode | string |
None. |
|
| MinorDeptCode | string |
None. |
|
| LesserDeptCode | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"type": "sample string 1",
"name": "sample string 2",
"id": 3,
"buyingLimit": 1,
"buyingLimitIndependent": true,
"buyingLimitType": 0,
"includeInDistinctLimit": true,
"distinctCategoryLimit": 1,
"storeIDs": [
1,
2
],
"deptCode": "sample string 4",
"subDeptCode": "sample string 5",
"minorDeptCode": "sample string 6",
"lesserDeptCode": "sample string 7"
},
{
"$ref": "1"
}
]
application/xml, text/xml
Sample:
<ArrayOfCustomBuyingLimit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Common">
<CustomBuyingLimit>
<BuyingLimit>1</BuyingLimit>
<BuyingLimitIndependent>true</BuyingLimitIndependent>
<BuyingLimitType>CategoryWide</BuyingLimitType>
<DeptCode>sample string 4</DeptCode>
<DistinctCategoryLimit>1</DistinctCategoryLimit>
<ID>3</ID>
<IncludeInDistinctLimit>true</IncludeInDistinctLimit>
<LesserDeptCode>sample string 7</LesserDeptCode>
<MinorDeptCode>sample string 6</MinorDeptCode>
<Name>sample string 2</Name>
<StoreIDs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>1</d3p1:int>
<d3p1:int>2</d3p1:int>
</StoreIDs>
<SubDeptCode>sample string 5</SubDeptCode>
<Type>sample string 1</Type>
</CustomBuyingLimit>
<CustomBuyingLimit>
<BuyingLimit>1</BuyingLimit>
<BuyingLimitIndependent>true</BuyingLimitIndependent>
<BuyingLimitType>CategoryWide</BuyingLimitType>
<DeptCode>sample string 4</DeptCode>
<DistinctCategoryLimit>1</DistinctCategoryLimit>
<ID>3</ID>
<IncludeInDistinctLimit>true</IncludeInDistinctLimit>
<LesserDeptCode>sample string 7</LesserDeptCode>
<MinorDeptCode>sample string 6</MinorDeptCode>
<Name>sample string 2</Name>
<StoreIDs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:int>1</d3p1:int>
<d3p1:int>2</d3p1:int>
</StoreIDs>
<SubDeptCode>sample string 5</SubDeptCode>
<Type>sample string 1</Type>
</CustomBuyingLimit>
</ArrayOfCustomBuyingLimit>
text/csv
Sample:
Sample not available.
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK V2�\��Ĥ� 5 xl/workbook.xml � (� ��=�0�w$�� �ED�v�����6�h~��㓦j%6���������Wo�|�hB�*ctca��!�C�f�z
1I�dV5`g��Fٱ(���QY�r�.�X�y$b��Ҡm�;B�����)d�����$l ��T�a�FVĀƆv����xCKJ|�Rs�R��^z�p*zN7���z��PK V2�\���� � [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
V2�\�})"' ' _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="Rabd7ab85924940cf" /></Relationships>PK V2�\�)5[�
xl/worksheets/sheet1.xml � (� ��[��0��
�~��҉:���9$��ؽf�
���q~�V�m�o���Z��%��u�%T]�j�����rQT�a���ix?���s!t`�S�0�zs��<eVGr#*3���̴�U�X.��\��|[�J� +�δ��M��O�z�D�h�P��ʬ���`Q����J,�����a�
�����:�?�_)?�7��0
;���
b�m����ME�ʵii2s���ߠ,���2�n�w�B��*� � �i�P̷���v�X�Gmݘ�m��<� ����6���M)�9��y���)�Pę��(#,�W�����$��' 2�gm����31È��|����<b��@�rv�}���S>��k��[��7����w�փǽѥ�@(a��&����eJ��#8E��1>���ȍ3��J������sY7՜�ڜ���_�lK<��O.����%p�xv��KL\�t���]b��K�\"��.��ě�cVS�=���rnklL�t��N䆬N?z��OG�#j|9f-��S�r4� ����U�=��y��WbY~� ��wA�����!��Ѓ�q�C���S�v�Al�L{1��m��v�Al�.�8� ������O)�&Rj������n�PK V2�\
�#� P xl/_rels/workbook.xml.rels � (� ���n�0@%�}M[��"
�]ve��I���M�$l��v�'�
i��.(�v�����k���F�F�F��%)0��t��[8�T�v��ш!��j����[P!��^(��'ƒ�i܄!����{�y�V��p�d��������g#N�p�ߍ;zE����Z�+y��$R��t-�0��4�CGX���������d��,�����(5>TF���5���Ӽ<S#Y/�,Ǣ���I/��o���PK V2�\Ѓ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 V2�\xF�4 5 xl/sharedStrings.xml � (� }��N�0�_%�=�V` �v�@�7�!Z�Ej����=A0�֟K�ώ}'�O[��d�rͤ ,]ep�ʇ��ɥ�+];�Tv@R,���E(EJ垹�R��=XM�k ys�j��)j<�� lk�fe�A)J�"�2��hѼ��� ���ζ]��,Q��v�mO+V��u�kc
O�+W�SYCSX�m����[`�v�w�Iv������U�֛�u�t~��F)i�����b>��c��m�Ń�G3�#宮��p~��7e�;{�?�fȧ���4g��|/���?V��/PK- V2�\��Ĥ� 5 xl/workbook.xmlPK- V2�\���� � � [Content_Types].xmlPK-
V2�\�})"' ' U _rels/.relsPK- V2�\�)5[�
� xl/worksheets/sheet1.xmlPK- V2�\
�#� P � xl/_rels/workbook.xml.relsPK- V2�\Ѓc'2 E
� xl/styles.xmlPK- V2�\xF�4 5 g xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK V2�\��{� 5 xl/workbook.xml � (� ����0��&�C��hR8q����[�H����%�x�3;�����Wg�|�hB�k*ctc���!��C3���,��Y!T����Md�,+����&H�]i����C��Q�+J�2�9�K���)$9[��$l
��O��")b@cM[�@IrnCMϔ�J�ý�fE����r�s�ӝ��8�~7_PK V2�\���� � [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
V2�\�@��' ' _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="Rb107d92ed1534dc1" /></Relationships>PK V2�\�)5[�
xl/worksheets/sheet1.xml � (� ��[��0��
�~��҉:���9$��ؽf�
���q~�V�m�o���Z��%��u�%T]�j�����rQT�a���ix?���s!t`�S�0�zs��<eVGr#*3���̴�U�X.��\��|[�J� +�δ��M��O�z�D�h�P��ʬ���`Q����J,�����a�
�����:�?�_)?�7��0
;���
b�m����ME�ʵii2s���ߠ,���2�n�w�B��*� � �i�P̷���v�X�Gmݘ�m��<� ����6���M)�9��y���)�Pę��(#,�W�����$��' 2�gm����31È��|����<b��@�rv�}���S>��k��[��7����w�փǽѥ�@(a��&����eJ��#8E��1>���ȍ3��J������sY7՜�ڜ���_�lK<��O.����%p�xv��KL\�t���]b��K�\"��.��ě�cVS�=���rnklL�t��N䆬N?z��OG�#j|9f-��S�r4� ����U�=��y��WbY~� ��wA�����!��Ѓ�q�C���S�v�Al�L{1��m��v�Al�.�8� ������O)�&Rj������n�PK V2�\�S�\� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�c��i7lؖ^`�㨉�.г��H\�J�J,�t5��ӓf>�?�۷id/��]e!��Ӿ\��1��
����FLy"�a�,��Mi^q�� c�gr�c|�0�4�|F}������%.�l��?Do̠����D.��>�%J��zJ
��"�e�����vՃPU���4��ZL����9_�(
��{)�����@�s
��K�ey��Qy�u��]��n�j��/6_PK V2�\Ѓ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 V2�\xF�4 5 xl/sharedStrings.xml � (� }��N�0�_%�=�V` �v�@�7�!Z�Ej����=A0�֟K�ώ}'�O[��d�rͤ ,]ep�ʇ��ɥ�+];�Tv@R,���E(EJ垹�R��=XM�k ys�j��)j<�� lk�fe�A)J�"�2��hѼ��� ���ζ]��,Q��v�mO+V��u�kc
O�+W�SYCSX�m����[`�v�w�Iv������U�֛�u�t~��F)i�����b>��c��m�Ń�G3�#宮��p~��7e�;{�?�fȧ���4g��|/���?V��/PK- V2�\��{� 5 xl/workbook.xmlPK- V2�\���� � � [Content_Types].xmlPK-
V2�\�@��' ' U _rels/.relsPK- V2�\�)5[�
� xl/worksheets/sheet1.xmlPK- V2�\�S�\� P � xl/_rels/workbook.xml.relsPK- V2�\Ѓc'2 E
� xl/styles.xmlPK- V2�\xF�4 5 d xl/sharedStrings.xmlPK � �