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": "yoBeYI183UavJis+yVGMcg==",
"pluGuid": "605e80ca-7c8d-46dd-af26-2b3ec9518c72",
"operatorG_UID": "W5h6KvNxak2Nnj8CjstXgA==",
"operatorIdentifier": "2a7a985b-71f3-4d6a-8d9e-3f028ecb5780",
"barcode": "sample string 1",
"originalBarcode": "sample string 2",
"bestOrExpire": "2026-06-03T18:29:48.9844772",
"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-06-03T18:29:48.9844772",
"printedLocal": "2026-06-03T18:29:48.9844772",
"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-06-03T18:29:48.9844772+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>W5h6KvNxak2Nnj8CjstXgA==</OperatorG_UID> <OperatorIdentifier>2a7a985b-71f3-4d6a-8d9e-3f028ecb5780</OperatorIdentifier> <OriginalBarcode>sample string 2</OriginalBarcode> <OriginalSell>7.1</OriginalSell> <PLUG_UID>yoBeYI183UavJis+yVGMcg==</PLUG_UID> <PluGuid>605e80ca-7c8d-46dd-af26-2b3ec9518c72</PluGuid> <Printed>2026-06-03T18:29:48.9844772+00:00</Printed> <PrintedLocal>2026-06-03T18:29:48.9844772+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-� 5 xl/workbook.xml � (� ����0D�&�C��@*)��x��}��m�-ik��-H�yۙ�};|��o���G���2��`̷5���ĝ�NC�ҽ�B�X�����%I��5^��ӕ�ˏ��1�aEiP�V�!|n�T8�EFc�;���!���l�X1���5�dq�]ISJ\���H�v�Dz�.I~�&�6��l�]}PK ���\���� � [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
���\��Yc' ' _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="R102caffbadfd4d16" /></Relationships>PK ���\��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 ���\�p� P xl/_rels/workbook.xml.rels � (� ��AN�0E�b͞� �$�i7ݰ-���'Q۲�B�Ƃ#q�"A*�`ӕ5짧��6o��N��hMy&��Q�M��1�
6�Վ&��FFXzbBC����1d֑Im��1����{���%��lv���zT���8�������0E`{�=�~��/G�%*�箁]Nu]�*�,�E`�fj!�'
�^��B�k�y]�E������{�>mz鴌jԢ*�J#j��������PK ���\Ѓ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 ���\�/�� � 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-� 5 xl/workbook.xmlPK- ���\���� � [Content_Types].xmlPK-
���\��Yc' ' V _rels/.relsPK- ���\��4 � � xl/worksheets/sheet1.xmlPK- ���\�p� P . xl/_rels/workbook.xml.relsPK- ���\Ѓc'2 E
u xl/styles.xmlPK- ���\�/�� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
PK ���\2�¶