POST api/promotionTypes
Save promotion type
Request Information
URI Parameters
None.
Body Parameters
promotion type to save
PromotionTypeName | Description | Type | Additional information |
---|---|---|---|
Identifier | Collection of byte |
None. |
|
IdentifierGuid | globally unique identifier |
None. |
|
HostType | HostType |
None. |
|
Code | string |
String length: inclusive between 0 and 20 |
|
Description | string |
String length: inclusive between 0 and 255 |
|
IsLiquor | boolean |
Deprecated. |
|
IsAdvertised | boolean |
None. |
|
DisableWasSave | boolean |
None. |
|
ExcludeFromPromoSales |
Used to Exclude Promo's from: * Key Indicator Report See: https://git.gapsolutions.com.au/cloud/ezi-manager/issues/2557#note_43226 |
boolean |
None. |
LabelPageLayoutG_UID | Collection of byte |
None. |
|
LabelPageLayoutGuid | globally unique identifier |
None. |
|
PriceLevelIdentifier | Collection of byte |
None. |
|
PriceLevelIdentifierGuid | globally unique identifier |
None. |
|
Active | boolean |
Deprecated. |
|
Updated | date |
None. |
|
HostName | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "identifier": "wbIiqdFAKk6T1Bn2M2L02A==", "identifierGuid": "a922b2c1-40d1-4e2a-93d4-19f63362f4d8", "hostType": 2, "code": "sample string 3", "description": "sample string 4", "isLiquor": true, "isAdvertised": true, "disableWasSave": true, "excludeFromPromoSales": true, "labelPageLayoutG_UID": "cWo0DSe5x0W+rYmUI3xrfg==", "labelPageLayoutGuid": "0d346a71-b927-45c7-bead-8994237c6b7e", "priceLevelIdentifier": "Q4pVIwckg0ioL3j5oajcjw==", "priceLevelIdentifierGuid": "23558a43-2407-4883-a82f-78f9a1a8dc8f", "active": true, "updated": "2025-08-02T23:12:56.6808964", "hostName": "sample string 11" }
application/xml, text/xml
Sample:
<PromotionType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Campaigns"> <Active>true</Active> <Code>sample string 3</Code> <Description>sample string 4</Description> <DisableWasSave>true</DisableWasSave> <ExcludeFromPromoSales>true</ExcludeFromPromoSales> <HostName>sample string 11</HostName> <HostType>2</HostType> <Identifier>wbIiqdFAKk6T1Bn2M2L02A==</Identifier> <IdentifierGuid>a922b2c1-40d1-4e2a-93d4-19f63362f4d8</IdentifierGuid> <IsAdvertised>true</IsAdvertised> <IsLiquor>true</IsLiquor> <LabelPageLayoutG_UID>cWo0DSe5x0W+rYmUI3xrfg==</LabelPageLayoutG_UID> <LabelPageLayoutGuid>0d346a71-b927-45c7-bead-8994237c6b7e</LabelPageLayoutGuid> <PriceLevelIdentifier>Q4pVIwckg0ioL3j5oajcjw==</PriceLevelIdentifier> <PriceLevelIdentifierGuid>23558a43-2407-4883-a82f-78f9a1a8dc8f</PriceLevelIdentifierGuid> <Updated>2025-08-02T23:12:56.6808964+00:00</Updated> </PromotionType>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Identifier of new promotion type
globally unique identifierResponse Formats
application/json, text/json
Sample:
"b984924b-a14d-4ae2-8952-d79135b5f274"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">b984924b-a14d-4ae2-8952-d79135b5f274</guid>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK ��[��Ӷ 5 xl/workbook.xml � (� ����0��&�C���� '.^=x_�V�O�||K $���~;�lܫ7�E>jҾr C�c������Ew�8!J�dFɱ3��Pvβ+s8A�F�QZOW�?,o��GĠ��@j���K����'���b���o�N��")�AaC;@IrnCCsJ\%�p/ϡ���P�yFw������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 ��[���' ' _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="R1a7f0460a48847ac" /></Relationships>PK ��[�� E$ � xl/worksheets/sheet1.xml � (� �Q�N�0���w�v��Lm'�i�� �кM�&��t�瓤!q�Ė��{v��M���)25YMK�2C ���J86�B��$�gn��� ����V�.� M��d��!���W-���5�7y��Gე�jr�����ME�,�q��Bh�N��Y�kx*��J�w����8�'�%&/] y��?�sR~���^̣��� }��6��4�t3��ހiqK�:/k�/��~_>�e�},J`��<鏵���+K�< /����l*��q\2�]������p����/ÒО�<ڤ��q�PK ��[豟�� P xl/_rels/workbook.xml.rels � (� ��Mn� F�������B�ɦ�4��X�i��u�#� E��:R�d��xz����c���yCFk-��4���=E����f�� b���IOLT��R�!�M�(�g���s �0 �y^3�d�{&9\��h�%�<�h�`v��4b�� ~�(�O��(�D��t_)Y@�ê+���4>{�Z�� ï�w��)�V�V]á�9����k�i�K�e�P[Uu��U�l�������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 ��[{�F=� � xl/sharedStrings.xml � (� 5�An� E���l���dQ)'h��$F2��W��K]>�������U��N��(�S#�\b��(o_W�KA0�� �� $��;"u�4ʅy�К�r�S� kr/{\qh�v� Ϋ6M�sH(�\䪕���}��?WA��4�v0vR��Q� F�CgT<�[7uws�N�w������PK- ��[��Ӷ 5 xl/workbook.xmlPK- ��[���� � � [Content_Types].xmlPK- ��[���' ' U _rels/.relsPK- ��[�� E$ � � xl/worksheets/sheet1.xmlPK- ��[豟�� P 7 xl/_rels/workbook.xml.relsPK- ��[Ѓc'2 E ~ xl/styles.xmlPK- ��[{�F=� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK ��[�k�v� 5 xl/workbook.xml � (� ����0��J}�(�� �&���0%�$(NE�!�n�|��瓓u}em�>z0���wޏ�Tw��vDv�u|��%l۪K[�5/NIr����H|��â�!4�!z=,( ��b�cL�͞ '�2k��db �ߔ���"*f@c�K��Yt�MΏ��L����[ui��`��iX�� &����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 ��[���' ' _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="Rf730f7132c8741cf" /></Relationships>PK ��[�� E$ � xl/worksheets/sheet1.xml � (� �Q�N�0���w�v��Lm'�i�� �кM�&��t�瓤!q�Ė��{v��M���)25YMK�2C ���J86�B��$�gn��� ����V�.� M��d��!���W-���5�7y��Gე�jr�����ME�,�q��Bh�N��Y�kx*��J�w����8�'�%&/] y��?�sR~���^̣��� }��6��4�t3��ހiqK�:/k�/��~_>�e�},J`��<鏵���+K�< /����l*��q\2�]������p����/ÒО�<ڤ��q�PK ��[�R� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�!&NP�n�a[zcO⨉�n�gc������X��j4��'�|��6o�DN���le���UN�v����6��'�D0�HZ����HiPg ��M���YƔ��.R�������L�?/����Q�֩�6�����A�@��;�)��"Q�<�v���Ѝ��8�%z3���_�K�ɔ�=kT���o*c�G�}�t3�QK]�V��⼺�ѫ�XPK ��[Ѓ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 ��[{�F=� � xl/sharedStrings.xml � (� 5�An� E���l���dQ)'h��$F2��W��K]>�������U��N��(�S#�\b��(o_W�KA0�� �� $��;"u�4ʅy�К�r�S� kr/{\qh�v� Ϋ6M�sH(�\䪕���}��?WA��4�v0vR��Q� F�CgT<�[7uws�N�w������PK- ��[�k�v� 5 xl/workbook.xmlPK- ��[���� � [Content_Types].xmlPK- ��[���' ' V _rels/.relsPK- ��[�� E$ � � xl/worksheets/sheet1.xmlPK- ��[�R� P 8 xl/_rels/workbook.xml.relsPK- ��[Ѓc'2 E ~ xl/styles.xmlPK- ��[{�F=� � � xl/sharedStrings.xmlPK � �