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. |
IgnoreDateCheck |
Force save method to prevent date check expiry records being created |
boolean |
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": "2JtyQoJp2kmMNMMTBg2dCg==", "pluGuid": "42729bd8-6982-49da-8c34-c313060d9d0a", "operatorG_UID": "Q9+WvZVIdUK+z/7+nr+u8A==", "operatorIdentifier": "bd96df43-4895-4275-becf-fefe9ebfaef0", "barcode": "sample string 1", "originalBarcode": "sample string 2", "bestOrExpire": "2025-10-04T23:57:27.0076573", "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-10-04T23:57:27.0076573", "printedLocal": "2025-10-04T23:57:27.0076573", "deleted": true, "incrementMode": 0, "ignoreDateCheck": true, "storeID": 18, "productDescription": "sample string 19", "departmentName": "sample string 20", "mainBarcode": "sample string 21", "action": 0, "ingressId": "sample string 22" }
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-10-04T23:57:27.0076573+00:00</BestOrExpire> <Cost>10.1</Cost> <CostGSTPercent>11</CostGSTPercent> <Deleted>true</Deleted> <DepartmentName>sample string 20</DepartmentName> <DumpedQuantity>13</DumpedQuantity> <GSTPercent>9</GSTPercent> <ID>1</ID> <IgnoreDateCheck>true</IgnoreDateCheck> <IncrementMode>None</IncrementMode> <IngressId>sample string 22</IngressId> <LabelQuantity>3</LabelQuantity> <MainBarcode>sample string 21</MainBarcode> <NewSell>8.1</NewSell> <OperatorG_UID>Q9+WvZVIdUK+z/7+nr+u8A==</OperatorG_UID> <OperatorIdentifier>bd96df43-4895-4275-becf-fefe9ebfaef0</OperatorIdentifier> <OriginalBarcode>sample string 2</OriginalBarcode> <OriginalSell>7.1</OriginalSell> <PLUG_UID>2JtyQoJp2kmMNMMTBg2dCg==</PLUG_UID> <PluGuid>42729bd8-6982-49da-8c34-c313060d9d0a</PluGuid> <Printed>2025-10-04T23:57:27.0076573+00:00</Printed> <PrintedLocal>2025-10-04T23:57:27.0076573+00:00</PrintedLocal> <ProductDescription>sample string 19</ProductDescription> <Quantity>5</Quantity> <SoldByWeight>true</SoldByWeight> <SoldQuantity>12</SoldQuantity> <StoreID>18</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 -�D[:O%{� 5 xl/workbook.xml � (� ����0��&�C��U���x���b�O�||K $���~;�d��4f@5j_� �lA�o(�Ƃ���8�C��EL��Ӿ�@N�^���i��z���ay�w^ 5.(ť��~�P97{H�|��X��&"K�����.�B�+�p��(9���G�\!�p?g��Jr�1����`%Y�_PK -�D[���� � [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 -�D[F�l�' ' _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="Ra1fa6ffbe8c14df6" /></Relationships>PK -�D[��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 -�D[��C� P xl/_rels/workbook.xml.rels � (� ��Kn�0@�b;�)v>� �n)0�8�H��6�����W�E��H]t�j4��'�|��6o�H����l��A�\7ؾ�S�5l֫�2��`�9��bC&���ҠN2nF�:��IƔ���Re�������L������zP�u�4������`#���=�~J�^âHT �]�%�45ClL �wS�2b����3��+ޠ�+��*c���%�t��)/gj��%�R�C�x)������PK -�D[Ѓ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 -�D[�/�� � 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- -�D[:O%{� 5 xl/workbook.xmlPK- -�D[���� � � [Content_Types].xmlPK- -�D[F�l�' ' U _rels/.relsPK- -�D[��4 � � xl/worksheets/sheet1.xmlPK- -�D[��C� P - xl/_rels/workbook.xml.relsPK- -�D[Ѓc'2 E r xl/styles.xmlPK- -�D[�/�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
PK -�D[N-�� 5 xl/workbook.xml � (� ����0D�&�C�p�TR8q�����4Ж�5��B $��ξ1�W����2����1puG �Ɍ��]k�B?K�Ӷ����oE�C|>�`i@/�v�_i���h �y5�(�R��x`L,͞�&�llu���ߔ��"(�QQ�K��Yp�M�#�l&��\����t�$jc��w���w�PK -�D[���� � [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 -�D[D>�q' ' _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="R3af27489a982430f" /></Relationships>PK -�D[��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 -�D[��y� P xl/_rels/workbook.xml.rels � (� ��Kn�0@�b;�,H*6�R.0q&�ؑm ����W�E��H]t�j4��'�|����ido��`M2��h����ڧ����Fq����Y\1��>���s�{��gv&;�u����Ϩ��υXr�2��י�C�m;h�Y}�Ȅ?��l���D�]G����� �H��T�W+��|���d��S��:������zU��Te��@�P�5���K�Ni9US���e!�BE75~��/PK -�D[Ѓ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 -�D[�/�� � 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- -�D[N-�� 5 xl/workbook.xmlPK- -�D[���� � � [Content_Types].xmlPK- -�D[D>�q' ' U _rels/.relsPK- -�D[��4 � � xl/worksheets/sheet1.xmlPK- -�D[��y� P - xl/_rels/workbook.xml.relsPK- -�D[Ѓc'2 E q xl/styles.xmlPK- -�D[�/�� � � xl/sharedStrings.xmlPK � �