POST api/markdowns
Add a markdown record
Request Information
URI Parameters
None.
Body Parameters
Markdown record to save
Markdown| Name | 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": "GyW+OKqI8Uq181nE3npLEA==",
"pluGuid": "38be251b-88aa-4af1-b5f3-59c4de7a4b10",
"operatorG_UID": "EKYp+bLx2Em4rrL+9Y2BYg==",
"operatorIdentifier": "f929a610-f1b2-49d8-b8ae-b2fef58d8162",
"barcode": "sample string 1",
"originalBarcode": "sample string 2",
"bestOrExpire": "2026-04-03T06:27:09.0255028",
"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": "2026-04-03T06:27:09.0255028",
"printedLocal": "2026-04-03T06:27:09.0255028",
"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>2026-04-03T06:27:09.0255028+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>EKYp+bLx2Em4rrL+9Y2BYg==</OperatorG_UID> <OperatorIdentifier>f929a610-f1b2-49d8-b8ae-b2fef58d8162</OperatorIdentifier> <OriginalBarcode>sample string 2</OriginalBarcode> <OriginalSell>7.1</OriginalSell> <PLUG_UID>GyW+OKqI8Uq181nE3npLEA==</PLUG_UID> <PluGuid>38be251b-88aa-4af1-b5f3-59c4de7a4b10</PluGuid> <Printed>2026-04-03T06:27:09.0255028+00:00</Printed> <PrintedLocal>2026-04-03T06:27:09.0255028+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 d3�\��A� 5 xl/workbook.xml � (� ����0��&�C����� '.^=x_�bhK�||� $���~;�`]���%�������1/$j�ۣw�u�(٦Q++�M`�(J�����K�{���a��!�^"�-(
��r�#$��=~���֝L�M�3l��1����dvnuA���L��=� ��q�������`9[�_PK d3�\���� � [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
d3�\O6�' ' _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="R3190b66773b14663" /></Relationships>PK d3�\��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 d3�\_��� P xl/_rels/workbook.xml.rels � (� ��Mn� F��f_��Fq��&�4�x���4�ٺ�z��Tj��E7Y����f�|���ޖ���u�V-� �J�~RCg/�j�m7��7�8G��Z�7kJ�q�.�U�Hm�Cij�8�i�XIm̀{&9^
�����>kq^P�?���ɍ�ȑ�}?���#MȾo�P6ES��ͪ�+� �Ss�:�����#�R.V�.+s�u�����۰��)�c�0��º���ي���ݿ�~PK d3�\Ѓ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 d3�\�/�� � 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- d3�\��A� 5 xl/workbook.xmlPK- d3�\���� � [Content_Types].xmlPK-
d3�\O6�' ' V _rels/.relsPK- d3�\��4 � � xl/worksheets/sheet1.xmlPK- d3�\_��� P . xl/_rels/workbook.xml.relsPK- d3�\Ѓc'2 E
u xl/styles.xmlPK- d3�\�/�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
PK d3�\��.l� 5 xl/workbook.xml � (� ����0��&�C���F)��x����6П�5���H�yۙ��v�l��3�����\�E�"���'cA�7N��{ù�5�[��Ȳ+q0� ��BZ�W�?,o�������Ը9�K����'���b"���o�&�~��LA�[Fɹ5�1r��ã�A�e��W~���F����PK d3�\���� � [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
d3�\��i�' ' _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="Rc508ed5b16e043e5" /></Relationships>PK d3�\��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 d3�\���� P xl/_rels/workbook.xml.rels � (� ��An� E��f_cl��*N6�t��Ɗ
��9[=R�P�H�#u�MVh���������<��at���@�*vh��]
��f����F0�HzbC&��Ҡ�2dnA�:��Y�T��.R倴�sA���Lr8/���zT���iF� �W�� F ��-�D�~,KT O}��FƊ��+�y�K �fj!�'�^�z%sϹ�=c����F�T�H��s�i�k�u�R+J�4u��%$��E�^���PK d3�\Ѓ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 d3�\�/�� � 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- d3�\��.l� 5 xl/workbook.xmlPK- d3�\���� � [Content_Types].xmlPK-
d3�\��i�' ' V _rels/.relsPK- d3�\��4 � � xl/worksheets/sheet1.xmlPK- d3�\���� P . xl/_rels/workbook.xml.relsPK- d3�\Ѓc'2 E
u xl/styles.xmlPK- d3�\�/�� � � xl/sharedStrings.xmlPK � �