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": "ERrAldxcd0K/MTTCM9d+ig==", "pluGuid": "95c01a11-5cdc-4277-bf31-34c233d77e8a", "operatorG_UID": "nm64iuJ080ODH5VGSa0FdQ==", "operatorIdentifier": "8ab86e9e-74e2-43f3-831f-954649ad0575", "barcode": "sample string 1", "originalBarcode": "sample string 2", "bestOrExpire": "2025-08-02T23:26:11.4045027", "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-08-02T23:26:11.4045027", "printedLocal": "2025-08-02T23:26:11.4045027", "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-08-02T23:26:11.4045027+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>nm64iuJ080ODH5VGSa0FdQ==</OperatorG_UID> <OperatorIdentifier>8ab86e9e-74e2-43f3-831f-954649ad0575</OperatorIdentifier> <OriginalBarcode>sample string 2</OriginalBarcode> <OriginalSell>7.1</OriginalSell> <PLUG_UID>ERrAldxcd0K/MTTCM9d+ig==</PLUG_UID> <PluGuid>95c01a11-5cdc-4277-bf31-34c233d77e8a</PluGuid> <Printed>2025-08-02T23:26:11.4045027+00:00</Printed> <PrintedLocal>2025-08-02T23:26:11.4045027+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 E�[.H�5� 5 xl/workbook.xml � (� ����0��&�C��(�� '.^=x��V�O�||�o�vfg��b4������sW�.�3�������0NA��{1#�l�6�[��$s8@�F�NZO�?,oB�;Ġ��@jZ�w�s����G9k��$l ��Ta�ETD������ے)q���G"�Ҋ��3���WN7�+����PK E�[���� � [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 E�[�Ct�' ' _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="Rda67ba76cfe94958" /></Relationships>PK E�[��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 E�[��N�� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞��iR��ݰ��g�DM��v=�����ĂMW��==i���c�{v!zg+�� FV���m�hְ�n4`L���Ҋ t1NO��ш!s��1ΏS�[>�>aK�Q���9�Lv�N��3�����y$� �W�O�#����[�����%*�}S�A\5F��VyY�����B�~��u�J!�.����L�����ӥ�N��BM�\�rU��_���PK E�[Ѓ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 E�[�/�� � 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- E�[.H�5� 5 xl/workbook.xmlPK- E�[���� � [Content_Types].xmlPK- E�[�Ct�' ' V _rels/.relsPK- E�[��4 � � xl/worksheets/sheet1.xmlPK- E�[��N�� P . xl/_rels/workbook.xml.relsPK- E�[Ѓc'2 E s xl/styles.xmlPK- E�[�/�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
PK E�[��i� 5 xl/workbook.xml � (� ����0��&�C����@���/�H�I[��/�@�����췓O��R��Q���wNg�٦G��4�y�)#��Ҽ��:�`���@��%bfpǕ�=ז��XV����N�+J ��<ɗfO���r6���I�b����������%�=Sb2>����k'i���Z��wXζ��PK E�[���� � [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 E�['��t' ' _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="Rcc16545465614148" /></Relationships>PK E�[��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 E�[">��� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�I���ݰa[z�i<��&vd�@�Ƃ#q�"A*�`��h~OO��|�Xoߦ�����-� F�sj�}���j�n�;1��`�9��bC&������0dn&�:�� cJ}�g��/���/p�d��L�!:���]w���?����c0D�}O���R��g� �I��+�YU�nt}_V��x)�z}��J�M��B��R�xS���s���K�ey��jDY�Jၨ�B^���_l� PK E�[Ѓ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 E�[�/�� � 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- E�[��i� 5 xl/workbook.xmlPK- E�[���� � [Content_Types].xmlPK- E�['��t' ' V _rels/.relsPK- E�[��4 � � xl/worksheets/sheet1.xmlPK- E�[">��� P . xl/_rels/workbook.xml.relsPK- E�[Ѓc'2 E u xl/styles.xmlPK- E�[�/�� � � xl/sharedStrings.xmlPK � �