GET api/product/{id}/buyinglimits

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Collection of CustomBuyingLimit
NameDescriptionTypeAdditional 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:
PKc<�ZA��5xl/workbook.xml �(�����0D�&�C�� ��'.^=x_�"
�%m
~��o�vfg�N1k34Z�#GesS�޹)g̶=J�'=��N	�K�b��D��n��c�(ʘ�����b�t��ò�A�Gtr\Q����@H�4{
�m����.&ak�����/�"
$�����KSbr��-��xri����V��w�PKc<�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
c<�ZIi''_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="R46bd2ba4b01240d4" /></Relationships>PKc<�Z�)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�PKc<�Z]��Pxl/_rels/workbook.xml.rels �(���KN�0@�b͞8�&�i7l�-����Q;��B�Ƃ#qL� �X��j4��'�|��������d�`tI#�t���ˇ
����F�ÄS��XXѮ���ȹ�M�Ef&:��I��ڞϢ;��x�%�K�2��2��Fʡ�'ӝ&��01���v�'��O��kH�@���UR�b�E)0��6����e$����/e�/��U+�8��*��%|�6\z�,/�0n1+0Mk�<���o�b�	PKc<�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��PKc<�ZxF�45xl/sharedStrings.xml �(�}��N�0�_%�=�V` �v�@�7�!Z�Ej����=A0�֟K�ώ}'�O[��d�rͤ,]ep�ʇ��ɥ�+];�Tv@R,���E(EJ垹�R��=XM�kys�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-c<�ZA��5xl/workbook.xmlPK-c<�Z����	�[Content_Types].xmlPK-
c<�ZIi''V_rels/.relsPK-c<�Z�)5[�
�xl/worksheets/sheet1.xmlPK-c<�Z]��P�xl/_rels/workbook.xml.relsPK-c<�ZЃc'2E
�xl/styles.xmlPK-c<�ZxF�45f	xl/sharedStrings.xmlPK��

application/vnd.ms-excel

Sample:
PKc<�ZE���5xl/workbook.xml �(�����0��J}�(PC���K���`JIP��>~!�n�|����u��ڎ}to|�
ކ0�^����@f�5�i�t/�M�$UV�5��$9����Ʒj�|����#�}Kt��4*����117{(}���֝MK~S"¶���AM�0 gѹ�O9s���;&(�sFgY�,�\���`���PKc<�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
c<�Z�L�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="Re080a0551e7747d0" /></Relationships>PKc<�Z�)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�PKc<�Zi_-�Pxl/_rels/workbook.xml.rels �(���KN�0@�b͞؎bP�n�a[z�'Q;�]ڞ�G�
XE�Tb�������4����ڜ���a��w
�A��\��1�	��j��Jy"��I^q��>���Ҩ{�T,��.w��J9
��>�i��#
K�2��2����A����.��'�GL@�*t��)Ez
��T /���bJ�Z`��L>�wS��2b����2��ԕ�X-�(�+ӫ��5�|�Ӳ�T�ֶ���V�^���_��PKc<�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��PKc<�ZxF�45xl/sharedStrings.xml �(�}��N�0�_%�=�V` �v�@�7�!Z�Ej����=A0�֟K�ώ}'�O[��d�rͤ,]ep�ʇ��ɥ�+];�Tv@R,���E(EJ垹�R��=XM�kys�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-c<�ZE���5xl/workbook.xmlPK-c<�Z����	��[Content_Types].xmlPK-
c<�Z�L�n''U_rels/.relsPK-c<�Z�)5[�
�xl/worksheets/sheet1.xmlPK-c<�Zi_-�P�xl/_rels/workbook.xml.relsPK-c<�ZЃc'2E
�xl/styles.xmlPK-c<�ZxF�45e	xl/sharedStrings.xmlPK��