POST api/dealcosts/import
Request Information
Deprecated
URI Parameters
None.
Body Parameters
Collection of DealCostName | Description | Type | Additional information |
---|---|---|---|
HeaderIdentifier | Collection of byte |
None. |
|
HeaderIdentifierGuid | globally unique identifier |
None. |
|
Identifier | Collection of byte |
None. |
|
IdentifierGuid | globally unique identifier |
None. |
|
SupplierIdentifier | Collection of byte |
None. |
|
SupplierGuid | globally unique identifier |
None. |
|
PLUG_UID | Collection of byte |
None. |
|
PluGuid |
A Store Product GUID |
globally unique identifier |
None. |
CampaignName | string |
Deprecated. Please use CampaignPLU.DealCostIdentifier instead. String length: inclusive between 0 and 64 |
|
Description | string |
None. |
|
Cost | integer |
None. |
|
CostDecimals | integer |
None. |
|
Start | date |
Data type: Date |
|
End | date |
Data type: Date |
|
Type | DealCostType |
None. |
|
PromoType | PromoType |
None. |
|
BonusItemPLUG_UID | Collection of byte |
None. |
|
BonusItemPluGuid |
A Store Product GUID |
globally unique identifier |
None. |
BonusPurchaseUnits | integer |
None. |
|
BonusReceiveUnits | integer |
None. |
|
Updated | date |
None. |
|
MetcashPromotionID | string |
None. |
|
FromHost |
FromHost identifying the source, see |
integer |
None. |
StoreNames |
Concatenated list of the stores that the deal cost header is in |
string |
Relation. This field may not always be loaded or used for updates. |
StoreIDs |
List of store ids of the stores that the deal cost header belongs to |
Collection of integer |
Relation. This field may not always be loaded or used for updates. |
SupplierName |
Supplier name |
string |
Relation. This field may not always be loaded or used for updates. |
CampaignDescription |
Campaign description of campaign using this deal cost |
string |
Relation. This field may not always be loaded or used for updates. |
NewPrice |
New sell price of campaign using this deal cost |
integer |
Relation. This field may not always be loaded or used for updates. |
CampaignMetcashPromotionID |
Metcash promotion id of campaign using this deal cost |
string |
Relation. This field may not always be loaded or used for updates. |
CampaignActive |
Active status of campaign using this deal cost |
boolean |
Relation. This field may not always be loaded or used for updates. |
CampaignStartDate |
Start date of campaign using this deal cost |
date |
Relation. This field may not always be loaded or used for updates. |
CampaignEndDate |
End date of campaign using this deal cost |
date |
Relation. This field may not always be loaded or used for updates. |
MasterPLUG_UID |
Master plu guid for the deal cost store product |
Collection of byte |
Relation. This field may not always be loaded or used for updates. |
MasterID |
Master guid for the deal cost store product |
globally unique identifier |
Relation. This field may not always be loaded or used for updates. |
ProductName |
Product description |
string |
Relation. This field may not always be loaded or used for updates. |
ProductAPN |
Product barcode |
string |
Relation. This field may not always be loaded or used for updates. |
OrderCode |
Order code of product for this supplier deal cost |
string |
Relation. This field may not always be loaded or used for updates. |
NormalSell |
Normal product sell |
integer |
Relation. This field may not always be loaded or used for updates. |
NormalCost |
Normal product cost |
integer |
Relation. This field may not always be loaded or used for updates. |
NormalCostDecimals |
Normal product cost decimals |
integer |
Relation. This field may not always be loaded or used for updates. |
CartonQuantity | integer |
Relation. This field may not always be loaded or used for updates. |
|
SalesMode | integer |
Relation. This field may not always be loaded or used for updates. |
|
OrderPacked | integer |
Relation. This field may not always be loaded or used for updates. |
|
FuelItem | boolean |
Relation. This field may not always be loaded or used for updates. |
|
Active | boolean |
Relation. This field may not always be loaded or used for updates. |
|
BonusMasterPLUG_UID |
Master plu guid for the deal cost store bonus product |
Collection of byte |
Relation. This field may not always be loaded or used for updates. |
BonusMasterID |
Master guid for the deal cost store bonus product |
globally unique identifier |
Relation. This field may not always be loaded or used for updates. |
BonusProductName |
Bonus product description |
string |
Relation. This field may not always be loaded or used for updates. |
BonusProductAPN |
Bonus product barcode |
string |
Relation. This field may not always be loaded or used for updates. |
BonusOrderCode |
Order code of bonus product for this supplier deal cost |
string |
Relation. This field may not always be loaded or used for updates. |
BonusNormalSell |
Normal bonus product sell |
integer |
Relation. This field may not always be loaded or used for updates. |
BonusNormalCost |
Normal bonus product cost |
integer |
Relation. This field may not always be loaded or used for updates. |
BonusNormalCostDecimals |
Normal bonus product cost decimals |
integer |
Relation. This field may not always be loaded or used for updates. |
BonusCartonQuantity | integer |
Relation. This field may not always be loaded or used for updates. |
|
BonusSalesMode | integer |
Relation. This field may not always be loaded or used for updates. |
|
BonusOrderPacked | integer |
Relation. This field may not always be loaded or used for updates. |
|
BonusFuelItem | boolean |
Relation. This field may not always be loaded or used for updates. |
|
BonusActive | boolean |
Relation. This field may not always be loaded or used for updates. |
Request Formats
application/json, text/json
[ { "$id": "1", "headerIdentifier": "/KIm8QltiUeZV5oThszESg==", "headerIdentifierGuid": "f126a2fc-6d09-4789-9957-9a1386ccc44a", "identifier": "BHaJ5EGde0KHBuzWjGYD9A==", "identifierGuid": "e4897604-9d41-427b-8706-ecd68c6603f4", "supplierIdentifier": "pY2lQmviZEitocgOgP6q3g==", "supplierGuid": "42a58da5-e26b-4864-ada1-c80e80feaade", "pluG_UID": "BLchhDAeWkygrbCn19ZXsQ==", "pluGuid": "8421b704-1e30-4c5a-a0ad-b0a7d7d657b1", "campaignName": "7ac4c74b-04d8-4411-82d3-f064bc518a23", "description": "sample string 4", "cost": 5, "costDecimals": 6, "start": "2025-10-05T00:01:08.1090114", "end": "2025-10-05T00:01:08.1090114", "type": 9, "promoType": 10, "bonusItemPLUG_UID": "KaxcM2FaoEmJtV4Pc3ju8A==", "bonusItemPluGuid": "335cac29-5a61-49a0-89b5-5e0f7378eef0", "bonusPurchaseUnits": 11, "bonusReceiveUnits": 12, "updated": "2025-10-05T00:01:08.1090114", "metcashPromotionID": "sample string 14", "fromHost": 15, "storeNames": "sample string 16", "storeIDs": [ 1, 2 ], "supplierName": "sample string 17", "campaignDescription": "sample string 18", "newPrice": 1, "campaignMetcashPromotionID": "sample string 19", "campaignActive": true, "campaignStartDate": "2025-10-05T00:01:08.1090114", "campaignEndDate": "2025-10-05T00:01:08.1090114", "masterPLUG_UID": "utidtir1E0e2e1llzpc32w==", "masterID": "b69dd8ba-f52a-4713-b67b-5965ce9737db", "productName": "sample string 22", "productAPN": "sample string 23", "orderCode": "sample string 24", "normalSell": 25, "normalCost": 26, "normalCostDecimals": 27, "cartonQuantity": 28, "salesMode": 29, "orderPacked": 30, "fuelItem": true, "active": true, "bonusMasterPLUG_UID": "HoOiBHNpZkWciz2Blu8Abw==", "bonusMasterID": "04a2831e-6973-4566-9c8b-3d8196ef006f", "bonusProductName": "sample string 34", "bonusProductAPN": "sample string 35", "bonusOrderCode": "sample string 36", "bonusNormalSell": 37, "bonusNormalCost": 38, "bonusNormalCostDecimals": 39, "bonusCartonQuantity": 40, "bonusSalesMode": 41, "bonusOrderPacked": 42, "bonusFuelItem": true, "bonusActive": true }, { "$ref": "1" } ]
application/xml, text/xml
<ArrayOfDealCost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://gapsolutions.com.au/schema/ezimanager"> <DealCost> <Active>true</Active> <BonusActive>true</BonusActive> <BonusCartonQuantity>40</BonusCartonQuantity> <BonusFuelItem>true</BonusFuelItem> <BonusItemPLUG_UID>KaxcM2FaoEmJtV4Pc3ju8A==</BonusItemPLUG_UID> <BonusItemPluGuid>335cac29-5a61-49a0-89b5-5e0f7378eef0</BonusItemPluGuid> <BonusMasterID>04a2831e-6973-4566-9c8b-3d8196ef006f</BonusMasterID> <BonusMasterPLUG_UID>HoOiBHNpZkWciz2Blu8Abw==</BonusMasterPLUG_UID> <BonusNormalCost>38</BonusNormalCost> <BonusNormalCostDecimals>39</BonusNormalCostDecimals> <BonusNormalSell>37</BonusNormalSell> <BonusOrderCode>sample string 36</BonusOrderCode> <BonusOrderPacked>42</BonusOrderPacked> <BonusProductAPN>sample string 35</BonusProductAPN> <BonusProductName>sample string 34</BonusProductName> <BonusPurchaseUnits>11</BonusPurchaseUnits> <BonusReceiveUnits>12</BonusReceiveUnits> <BonusSalesMode>41</BonusSalesMode> <CampaignActive>true</CampaignActive> <CampaignDescription>sample string 18</CampaignDescription> <CampaignEndDate>2025-10-05T00:01:08.1090114+00:00</CampaignEndDate> <CampaignMetcashPromotionID>sample string 19</CampaignMetcashPromotionID> <CampaignName>7ac4c74b-04d8-4411-82d3-f064bc518a23</CampaignName> <CampaignStartDate>2025-10-05T00:01:08.1090114+00:00</CampaignStartDate> <CartonQuantity>28</CartonQuantity> <Cost>5</Cost> <CostDecimals>6</CostDecimals> <Description>sample string 4</Description> <End>2025-10-05T00:01:08.1090114+00:00</End> <FromHost>15</FromHost> <FuelItem>true</FuelItem> <HeaderIdentifier>/KIm8QltiUeZV5oThszESg==</HeaderIdentifier> <HeaderIdentifierGuid>f126a2fc-6d09-4789-9957-9a1386ccc44a</HeaderIdentifierGuid> <Identifier>BHaJ5EGde0KHBuzWjGYD9A==</Identifier> <IdentifierGuid>e4897604-9d41-427b-8706-ecd68c6603f4</IdentifierGuid> <MasterID>b69dd8ba-f52a-4713-b67b-5965ce9737db</MasterID> <MasterPLUG_UID>utidtir1E0e2e1llzpc32w==</MasterPLUG_UID> <MetcashPromotionID>sample string 14</MetcashPromotionID> <NewPrice>1</NewPrice> <NormalCost>26</NormalCost> <NormalCostDecimals>27</NormalCostDecimals> <NormalSell>25</NormalSell> <OrderCode>sample string 24</OrderCode> <OrderPacked>30</OrderPacked> <PLUG_UID>BLchhDAeWkygrbCn19ZXsQ==</PLUG_UID> <PluGuid>8421b704-1e30-4c5a-a0ad-b0a7d7d657b1</PluGuid> <ProductAPN>sample string 23</ProductAPN> <ProductName>sample string 22</ProductName> <PromoType>10</PromoType> <SalesMode>29</SalesMode> <Start>2025-10-05T00:01:08.1090114+00:00</Start> <StoreIDs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> </StoreIDs> <StoreNames>sample string 16</StoreNames> <SupplierGuid>42a58da5-e26b-4864-ada1-c80e80feaade</SupplierGuid> <SupplierIdentifier>pY2lQmviZEitocgOgP6q3g==</SupplierIdentifier> <SupplierName>sample string 17</SupplierName> <Type>9</Type> <Updated>2025-10-05T00:01:08.1090114+00:00</Updated> </DealCost> <DealCost> <Active>true</Active> <BonusActive>true</BonusActive> <BonusCartonQuantity>40</BonusCartonQuantity> <BonusFuelItem>true</BonusFuelItem> <BonusItemPLUG_UID>KaxcM2FaoEmJtV4Pc3ju8A==</BonusItemPLUG_UID> <BonusItemPluGuid>335cac29-5a61-49a0-89b5-5e0f7378eef0</BonusItemPluGuid> <BonusMasterID>04a2831e-6973-4566-9c8b-3d8196ef006f</BonusMasterID> <BonusMasterPLUG_UID>HoOiBHNpZkWciz2Blu8Abw==</BonusMasterPLUG_UID> <BonusNormalCost>38</BonusNormalCost> <BonusNormalCostDecimals>39</BonusNormalCostDecimals> <BonusNormalSell>37</BonusNormalSell> <BonusOrderCode>sample string 36</BonusOrderCode> <BonusOrderPacked>42</BonusOrderPacked> <BonusProductAPN>sample string 35</BonusProductAPN> <BonusProductName>sample string 34</BonusProductName> <BonusPurchaseUnits>11</BonusPurchaseUnits> <BonusReceiveUnits>12</BonusReceiveUnits> <BonusSalesMode>41</BonusSalesMode> <CampaignActive>true</CampaignActive> <CampaignDescription>sample string 18</CampaignDescription> <CampaignEndDate>2025-10-05T00:01:08.1090114+00:00</CampaignEndDate> <CampaignMetcashPromotionID>sample string 19</CampaignMetcashPromotionID> <CampaignName>7ac4c74b-04d8-4411-82d3-f064bc518a23</CampaignName> <CampaignStartDate>2025-10-05T00:01:08.1090114+00:00</CampaignStartDate> <CartonQuantity>28</CartonQuantity> <Cost>5</Cost> <CostDecimals>6</CostDecimals> <Description>sample string 4</Description> <End>2025-10-05T00:01:08.1090114+00:00</End> <FromHost>15</FromHost> <FuelItem>true</FuelItem> <HeaderIdentifier>/KIm8QltiUeZV5oThszESg==</HeaderIdentifier> <HeaderIdentifierGuid>f126a2fc-6d09-4789-9957-9a1386ccc44a</HeaderIdentifierGuid> <Identifier>BHaJ5EGde0KHBuzWjGYD9A==</Identifier> <IdentifierGuid>e4897604-9d41-427b-8706-ecd68c6603f4</IdentifierGuid> <MasterID>b69dd8ba-f52a-4713-b67b-5965ce9737db</MasterID> <MasterPLUG_UID>utidtir1E0e2e1llzpc32w==</MasterPLUG_UID> <MetcashPromotionID>sample string 14</MetcashPromotionID> <NewPrice>1</NewPrice> <NormalCost>26</NormalCost> <NormalCostDecimals>27</NormalCostDecimals> <NormalSell>25</NormalSell> <OrderCode>sample string 24</OrderCode> <OrderPacked>30</OrderPacked> <PLUG_UID>BLchhDAeWkygrbCn19ZXsQ==</PLUG_UID> <PluGuid>8421b704-1e30-4c5a-a0ad-b0a7d7d657b1</PluGuid> <ProductAPN>sample string 23</ProductAPN> <ProductName>sample string 22</ProductName> <PromoType>10</PromoType> <SalesMode>29</SalesMode> <Start>2025-10-05T00:01:08.1090114+00:00</Start> <StoreIDs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> </StoreIDs> <StoreNames>sample string 16</StoreNames> <SupplierGuid>42a58da5-e26b-4864-ada1-c80e80feaade</SupplierGuid> <SupplierIdentifier>pY2lQmviZEitocgOgP6q3g==</SupplierIdentifier> <SupplierName>sample string 17</SupplierName> <Type>9</Type> <Updated>2025-10-05T00:01:08.1090114+00:00</Updated> </DealCost> </ArrayOfDealCost>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
Collection of globally unique identifierResponse Formats
application/json, text/json
[ "e5584523-eb0e-4221-8c26-8d1a187f3122", "f9b355aa-a44c-44c4-9b5a-826b66e26ae8" ]
application/xml, text/xml
<ArrayOfNullableOfguid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/System"> <guid>e5584523-eb0e-4221-8c26-8d1a187f3122</guid> <guid>f9b355aa-a44c-44c4-9b5a-826b66e26ae8</guid> </ArrayOfNullableOfguid>
text/csv
Sample not available.
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
PK $ E[hG� 5 xl/workbook.xml � (� ����0��&�C��B)��x�པE�O�||K $���~;t�v괞�G��U�ƣ��"��$sm@�ݠ�d>H�"z�V��Iz����̼�ʍ�8���a9c��n�r�P� ��� !�6{ X\����&"[���h�Q!�$Ըe�a�{_�#[�0< �����,�����Q��n�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[��' ' _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="Ra601b3a474b544f1" /></Relationships>PK $ E[�N��0 ! xl/worksheets/sheet1.xml � (� �Q�n�0~�(�5@V@U���۴�v����$Fq(}�� u�z�!�-?�S쯦gp�і<]%����Ѷ+��ۧ��bBw&�Y�[ڹ�+T+0�V8� ���>��ض��#֣�E�$/�A/}�"����hp ��)#��U��>w��%?��Cƙ����0�]��I��s�֔<�X� >E�w�h����^Awʇ%m"�ƞ�͌�WǙ���N����|���M�}N�i�Y=�G�T��xQ��G�eU8���� >G�Rl4xS��R%����p���~9�'��w�*�� у�]����PK $ E[~˻G� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8 ��TM�a�m��3��&�e����G� XE�Tb�������4�����9��5Y���h�NQ=4�ݬ�8��&�] ińt�nEi�g2�Ф��~1�~�Nȣ��yΩ_2�I��!Z�F�OV�f4�0}��4br~���O)�k(�D��;���˺�-+P2پ �wS�2a����2�R�hX��p�x]�UF��s���K�ey�Vʺ��j+Yr&TU�7��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 � (� E��N� �_�pgi) ��`���m�nI �B���c<�a2�e2��7�G 99�_:J0My�����3�� i�-'t�%woK����8�ֺ�8/ӊ�%�Z��#Bm�x�sYkܸ�:�#�Dɔ�T��)������@�zT�H%�c�L �33 ���Co������-���2�u�` �Ě$�� �z��4�oO�7PK- $ E[hG� 5 xl/workbook.xmlPK- $ E[���� � � [Content_Types].xmlPK- $ E[��' ' U _rels/.relsPK- $ E[�N��0 ! � xl/worksheets/sheet1.xmlPK- $ E[~˻G� P C xl/_rels/workbook.xml.relsPK- $ E[Ѓc'2 E � xl/styles.xmlPK- $ E[�#�� xl/sharedStrings.xmlPK �
application/vnd.ms-excel
PK $ E[�g�/� 5 xl/workbook.xml � (� ����0D�J��(Є�*����k���&�$(IE?�R�n�����ٺ��v =_�����1�I��/vBw�: !J�bV�ac��Fؕ�s8BP�x�&O7�?,?9��KĠ� �AZ�O��K���ٯ2{��$l��T��U+�@ JV��W4��*��C��m�4��^Ѓ}�J����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[=$S�' ' _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="Re7eb5db7918f45ca" /></Relationships>PK $ E[�N��0 ! xl/worksheets/sheet1.xml � (� �Q�n�0~�(�5@V@U���۴�v����$Fq(}�� u�z�!�-?�S쯦gp�і<]%����Ѷ+��ۧ��bBw&�Y�[ڹ�+T+0�V8� ���>��ض��#֣�E�$/�A/}�"����hp ��)#��U��>w��%?��Cƙ����0�]��I��s�֔<�X� >E�w�h����^Awʇ%m"�ƞ�͌�WǙ���N����|���M�}N�i�Y=�G�T��xQ��G�eU8���� >G�Rl4xS��R%����p���~9�'��w�*�� у�]����PK $ E[�%��� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�q�ԩ�vÆm�{�DM��v���G� XE�Tb�������4����ݿM#yAg�3�rz�]�h�w��2���s iņ�� �A�8ɐ�m��'S�;:Ku�R�XE���Lr����3fP���yB� �W�O�G�@��w�)z y��@�t���\0Ѷe!�B �nj!^F�^��BF�D�RUU���2����O�^:-�5^smV��m�ʵ�W5z��/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 � (� E��N� �_�pgi) ��`���m�nI �B���c<�a2�e2��7�G 99�_:J0My�����3�� i�-'t�%woK����8�ֺ�8/ӊ�%�Z��#Bm�x�sYkܸ�:�#�Dɔ�T��)������@�zT�H%�c�L �33 ���Co������-���2�u�` �Ě$�� �z��4�oO�7PK- $ E[�g�/� 5 xl/workbook.xmlPK- $ E[���� � � [Content_Types].xmlPK- $ E[=$S�' ' U _rels/.relsPK- $ E[�N��0 ! � xl/worksheets/sheet1.xmlPK- $ E[�%��� P C xl/_rels/workbook.xml.relsPK- $ E[Ѓc'2 E � xl/styles.xmlPK- $ E[�#�� xl/sharedStrings.xmlPK �