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 :��\x�� 5 xl/workbook.xml � (� ����0��&�C��J� )��x���V�O�||K $���~;l2nx3���/]��lI�o{P��w�8�C��E���ƴo:��x�#�h�K��B����� �qA).5��;����!a�IFc�;��,!�b �]$�4WP��Qrn]�O�R��N;
E��3���7�cd�]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
:��\\Gs�' ' _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="R974d63751ad64b65" /></Relationships>PK :��\�)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 :��\ ���� P xl/_rels/workbook.xml.rels � (� ��AN�0E�b͞8��4EM�aö���N�&vd�@�Ƃ#q�"A*�`ӕ5짧�lvo��^�C�lM"ˉ�j�����]E��f�A�t#t�XzbCM]��=�AwU���:��Q�T��OJU����9����p���3��xp�4��?����c�H�|�X�O��Y�{lj��F��`�YʢX��x~��뙌�B� *�²�.o*�)��)����<�� �u��5�s!.j��_l� 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 :��\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- :��\x�� 5 xl/workbook.xmlPK- :��\���� � [Content_Types].xmlPK-
:��\\Gs�' ' V _rels/.relsPK- :��\�)5[�
� xl/worksheets/sheet1.xmlPK- :��\ ���� P � xl/_rels/workbook.xml.relsPK- :��\Ѓc'2 E
� xl/styles.xmlPK- :��\xF�4 5 h xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK :��\�X�� 5 xl/workbook.xml � (� ����0��J}�(� �!`b�ڡ�NA~����� �[7�����ٸ�i�H>jҾr
!؊1�T�/Ƣ�;n���{1ù�3�[�,K��9� H����Ӎ��[�0x�Դ�HM��zi��8�UFc����m!���W�q�*�AaC;@��܆����J��^�<�]��'y���`����/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
:��\�̄' ' _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="R07b8d83629e84b6e" /></Relationships>PK :��\�)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 :��\K�|� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�#�Դ�nض��匓���.гu���V���X��j4��'�|^>V��y"���]�b@�ߍ�o��C��j��Ny"�I^q��!���h�u���.w��N9
=]�9��`L�P2�I��C�֎�ޜft�0}����C����R����L�ҵ�k+��R�I�%z7����_�0\=j�$;+P���Uf��}
�ҥSY.Ր���\0���Fo�b�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 :��\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- :��\�X�� 5 xl/workbook.xmlPK- :��\���� � � [Content_Types].xmlPK-
:��\�̄' ' U _rels/.relsPK- :��\�)5[�
� xl/worksheets/sheet1.xmlPK- :��\K�|� P � xl/_rels/workbook.xml.relsPK- :��\Ѓc'2 E
� xl/styles.xmlPK- :��\xF�4 5 d xl/sharedStrings.xmlPK � �