POST api/markdowns
Add a markdown record
Request Information
URI Parameters
None.
Body Parameters
Markdown record to save
MarkdownName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
PLUG_UID | Collection of byte |
None. |
|
PluGuid |
Product identifier, product marked down |
globally unique identifier |
None. |
OperatorG_UID | Collection of byte |
None. |
|
OperatorIdentifier |
Operator identifier, operator performing markdowns |
globally unique identifier |
None. |
Barcode |
This is the barcode that will be scanned |
string |
None. |
OriginalBarcode |
Either the product's barcode, or the previous markdown barcode |
string |
None. |
BestOrExpire |
Use by date of the item, if set, local date |
date |
None. |
LabelQuantity |
Quantity of labels printed |
integer |
None. |
UnitQuantity |
Number of products per label |
integer |
None. |
Quantity |
Product quantity labels printed for |
integer |
None. |
SoldByWeight |
If the item is sold by weight or each |
boolean |
None. |
OriginalSell |
The normal sell of the item, in decimals |
decimal number |
None. |
NewSell |
The final sell price of the marked down item, in decimals |
decimal number |
None. |
GSTPercent |
GST percent applied to the item |
integer |
None. |
Cost |
The cost, in decimals of the item |
decimal number |
None. |
CostGSTPercent |
Cost GST percent applied to the item |
integer |
None. |
SoldQuantity |
Quantity of product sold with this markdown |
integer |
None. |
DumpedQuantity |
Quantity of product dumped with this markdown |
integer |
None. |
Printed |
Time the markdown labels were printed in UTC |
date |
None. |
PrintedLocal |
Time the markdown labels were printed in Local Time |
date |
None. |
Deleted |
if the markdown line has been deleted |
boolean |
None. |
IncrementMode |
Used to determine how the quantity will be used when the same markdown is sent through |
MarkdownIncrementMode |
Relation. This field may not always be loaded or used for updates. |
StoreID | integer |
Relation. This field may not always be loaded or used for updates. |
|
ProductDescription | string |
Relation. This field may not always be loaded or used for updates. |
|
DepartmentName | string |
Relation. This field may not always be loaded or used for updates. |
|
MainBarcode | string |
Relation. This field may not always be loaded or used for updates. |
|
Action | MarkdownExportAction |
Relation. This field may not always be loaded or used for updates. |
|
IngressId | string |
Relation. This field may not always be loaded or used for updates. |
Request Formats
application/json, text/json
{ "id": 1, "pluG_UID": "MCSDpHlOp0adnEsgloxw9Q==", "pluGuid": "a4832430-4e79-46a7-9d9c-4b20968c70f5", "operatorG_UID": "1nF6HPOKJESjV4w4pLuIPg==", "operatorIdentifier": "1c7a71d6-8af3-4424-a357-8c38a4bb883e", "barcode": "sample string 1", "originalBarcode": "sample string 2", "bestOrExpire": "2025-06-14T06:01:07.7675512", "labelQuantity": 3, "unitQuantity": 4, "quantity": 5, "soldByWeight": true, "originalSell": 7.1, "newSell": 8.1, "gstPercent": 9, "cost": 10.1, "costGSTPercent": 11, "soldQuantity": 12, "dumpedQuantity": 13, "printed": "2025-06-14T06:01:07.7675512", "printedLocal": "2025-06-14T06:01:07.7675512", "deleted": true, "incrementMode": 0, "storeID": 17, "productDescription": "sample string 18", "departmentName": "sample string 19", "mainBarcode": "sample string 20", "action": 0, "ingressId": "sample string 21" }
application/xml, text/xml
<Markdown xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Inventory"> <Action>Add</Action> <Barcode>sample string 1</Barcode> <BestOrExpire>2025-06-14T06:01:07.7675512+00:00</BestOrExpire> <Cost>10.1</Cost> <CostGSTPercent>11</CostGSTPercent> <Deleted>true</Deleted> <DepartmentName>sample string 19</DepartmentName> <DumpedQuantity>13</DumpedQuantity> <GSTPercent>9</GSTPercent> <ID>1</ID> <IncrementMode>None</IncrementMode> <IngressId>sample string 21</IngressId> <LabelQuantity>3</LabelQuantity> <MainBarcode>sample string 20</MainBarcode> <NewSell>8.1</NewSell> <OperatorG_UID>1nF6HPOKJESjV4w4pLuIPg==</OperatorG_UID> <OperatorIdentifier>1c7a71d6-8af3-4424-a357-8c38a4bb883e</OperatorIdentifier> <OriginalBarcode>sample string 2</OriginalBarcode> <OriginalSell>7.1</OriginalSell> <PLUG_UID>MCSDpHlOp0adnEsgloxw9Q==</PLUG_UID> <PluGuid>a4832430-4e79-46a7-9d9c-4b20968c70f5</PluGuid> <Printed>2025-06-14T06:01:07.7675512+00:00</Printed> <PrintedLocal>2025-06-14T06:01:07.7675512+00:00</PrintedLocal> <ProductDescription>sample string 18</ProductDescription> <Quantity>5</Quantity> <SoldByWeight>true</SoldByWeight> <SoldQuantity>12</SoldQuantity> <StoreID>17</StoreID> <UnitQuantity>4</UnitQuantity> </Markdown>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
Markdown identifier
integerResponse Formats
application/json, text/json
1
application/xml, text/xml
<long xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</long>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
PK #0�Zn�FB� 5 xl/workbook.xml � (� ����0D�&�C���#)��x��}�[�@[����[ �x�3;�v��|�p�'o3�P���NJ��)4nD�v�y1I�dNJ�a뺗AY�e%�8@����@W�?�0zb4Ê2�-m�;B���q �L�Vw6 [C�7���bQĂ�����Ź��)�N�MBV���/�RP�����8�~7PK #0�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 #0�Za��' ' _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="R19794c595de94431" /></Relationships>PK #0�Z��4 � xl/worksheets/sheet1.xml � (� �Q�n� ��}%��j�U���n�ۙ%N@ 82����6M�e������<��Ȯ@��ox��8�bg���9�w����t ��aO 71N{!Bk��� |z둜�)�A`��N��|۪� �Q�T*;���G+L�+ܸJ9m=W��I=�g}Ï5gBɂ|���_1�m|"^r��5�*X�|.�_�u��y�o�<�LLz(��Pv�l�gN�ʹ�.��?m��j�M�v��z��+��:騕$\�礚��G����Z�kf���ߎW�Is:#F����W�PK #0�Z���@� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8NB��ݰa[z��=��&vd�@�Ƃ#q�"A*�`��h~OO��|�Xoߦ������,FV:5ؾ�S�w-l7���D0�XZ����<HC���dSG;?aL�����=�"�k��f��y���փ�G'O����:�(ۣ�)v�S �D����T;�yU*U<4�������B<�~���̡Auߴ�K!��������O�^:-��U� Y�6/���.j��/6_PK #0�ZЃ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 #0�Z�/�� � xl/sharedStrings.xml � (� 5�A� �B�nA�h&�@@ڵ����������d2;}Ҧ�X9frp(�9/�V���p��i�[&t�E5��YTO��r՚���R7�\���u�\*����M��9��#��s#qЧ��������~PK- #0�Zn�FB� 5 xl/workbook.xmlPK- #0�Z���� � � [Content_Types].xmlPK- #0�Za��' ' U _rels/.relsPK- #0�Z��4 � � xl/worksheets/sheet1.xmlPK- #0�Z���@� P - xl/_rels/workbook.xml.relsPK- #0�ZЃc'2 E s xl/styles.xmlPK- #0�Z�/�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
PK #0�Z�tDc� 5 xl/workbook.xml � (� ��;�0D�H���ĀT4iS�7f�-�G�#r�#�ҥۙ�};ͪ�<h=��\��m����&�1���6��n�VR�}=M�A��[��$K��XX�Z9.��;��3��8��ˎ�T(�]/5[����E���f"���o����"*�����S��s[�bdk�Y5�9�UZ�%c�d�����/PK #0�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 #0�Z &�6' ' _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="Ra1348d8184e24d04" /></Relationships>PK #0�Z��4 � xl/worksheets/sheet1.xml � (� �Q�n� ��}%��j�U���n�ۙ%N@ 82����6M�e������<��Ȯ@��ox��8�bg���9�w����t ��aO 71N{!Bk��� |z둜�)�A`��N��|۪� �Q�T*;���G+L�+ܸJ9m=W��I=�g}Ï5gBɂ|���_1�m|"^r��5�*X�|.�_�u��y�o�<�LLz(��Pv�l�gN�ʹ�.��?m��j�M�v��z��+��:騕$\�礚��G����Z�kf���ߎW�Is:#F����W�PK #0�Z�m��� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞��4i��ݰa[z��Q;�]�gc���V���X��j4��'�|�l�o�D^���yƀ�����������'����I\1��a�P��Y��.hbGY7�S7�Eȓ���ԥ�e��e���R��G+�3����Zw�1 9 7`��S���,R�<��m�T��y]5R�wS��2�������P����U��]e�p�?/�:��DM��hW5ˑU�*�j��/v_PK #0�ZЃ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 #0�Z�/�� � xl/sharedStrings.xml � (� 5�A� �B�nA�h&�@@ڵ����������d2;}Ҧ�X9frp(�9/�V���p��i�[&t�E5��YTO��r՚���R7�\���u�\*����M��9��#��s#qЧ��������~PK- #0�Z�tDc� 5 xl/workbook.xmlPK- #0�Z���� � � [Content_Types].xmlPK- #0�Z &�6' ' U _rels/.relsPK- #0�Z��4 � � xl/worksheets/sheet1.xmlPK- #0�Z�m��� P - xl/_rels/workbook.xml.relsPK- #0�ZЃc'2 E s xl/styles.xmlPK- #0�Z�/�� � � xl/sharedStrings.xmlPK � �