POST api/promotionTypes
Save promotion type
Request Information
URI Parameters
None.
Body Parameters
promotion type to save
PromotionType| Name | 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": "+5yq7jIh60qKBRmtkxHE0Q==",
"identifierGuid": "eeaa9cfb-2132-4aeb-8a05-19ad9311c4d1",
"hostType": 2,
"code": "sample string 3",
"description": "sample string 4",
"isLiquor": true,
"isAdvertised": true,
"disableWasSave": true,
"excludeFromPromoSales": true,
"labelPageLayoutG_UID": "0yFo3WSrU0244kR+Ikcorw==",
"labelPageLayoutGuid": "dd6821d3-ab64-4d53-b8e2-447e224728af",
"priceLevelIdentifier": "W9VJQRCvwkOW101LXwkw8g==",
"priceLevelIdentifierGuid": "4149d55b-af10-43c2-96d7-4d4b5f0930f2",
"active": true,
"updated": "2026-06-03T18:29:41.9798893",
"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>+5yq7jIh60qKBRmtkxHE0Q==</Identifier> <IdentifierGuid>eeaa9cfb-2132-4aeb-8a05-19ad9311c4d1</IdentifierGuid> <IsAdvertised>true</IsAdvertised> <IsLiquor>true</IsLiquor> <LabelPageLayoutG_UID>0yFo3WSrU0244kR+Ikcorw==</LabelPageLayoutG_UID> <LabelPageLayoutGuid>dd6821d3-ab64-4d53-b8e2-447e224728af</LabelPageLayoutGuid> <PriceLevelIdentifier>W9VJQRCvwkOW101LXwkw8g==</PriceLevelIdentifier> <PriceLevelIdentifierGuid>4149d55b-af10-43c2-96d7-4d4b5f0930f2</PriceLevelIdentifierGuid> <Updated>2026-06-03T18:29:41.9798893+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:
"5022edea-1381-4362-adc8-dc1e982d4aa8"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">5022edea-1381-4362-adc8-dc1e982d4aa8</guid>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK ���\O��B� 5 xl/workbook.xml � (� ����0��&�C���B)��x��}��4П�5���I�yۙ��v�l��0f$o5i_��!؊1�
���Ew�8!J�dF�ak��B�1�J�p� �������X�:���AM+J�Դ���K����'�o��$l
��O��")�AaM[@Ir�}MsJ\%�p��"zE���s)J��7g���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="R1319fbf615394240" /></Relationships>PK ���\W��% � xl/worksheets/sheet1.xml � (� �Q�N�0���w���cLm'�i�� �кK�&����瓤!q�Ė��{v��MlF��6YMK�2�&�����T٫����q[��~<p�Z�Z��F4�֓��^8��j�D��x^���[�RN�����.7Z]����Je��:أ{f���i�7UB�+\ܯ��1>��1y�j������e�b�-Ϩ.҇
�������i�L�[z�yY�v��e��(��k'�I���%_i��Ix�T�fS9��(��� �¼s�W|�������_�-�=y�I���/PK ���\�*fn� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8n��TM�aö��'Q۲]�gc���V���X��j4��'�|�lvo�L^ЇɚXQA�l?���S�wv��g�D'HZ1��1F��4�
�Ф��~�1�~�N����ʲ�>g�5���C�ZO
�:-h�`�j�1���A�c?�@/��
��`�\�^K�YU֍n�Л��x�1�z}�L��?W|�c�����(=�OѧK�Ny9S�������BԂ�����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 ���\T�g� � xl/sharedStrings.xml � (� 5�An� E��fO�I�
�E���=�&1���ۗ.�|���}�)�z�&���a Ek�|����S;PҐ.�i�_P��E��S� ���c$�TPu%�ɭn[��nd���D�,����*֝[ׂ�9?v���r�-�
�R"��э�t<[�):��H�Φ��o����
PK- ���\O��B� 5 xl/workbook.xmlPK- ���\���� � � [Content_Types].xmlPK-
���\���*' ' U _rels/.relsPK- ���\W��% � � xl/worksheets/sheet1.xmlPK- ���\�*fn� P 8 xl/_rels/workbook.xml.relsPK- ���\Ѓc'2 E
~ xl/styles.xmlPK- ���\T�g� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK ���\q
P� 5 xl/workbook.xml � (� ����0D�&�C�����N\�z4Ж�5��B $��ξ>Z���v�{�sW�6�!g̋5���L;i��0I�bVJ%�����&Ʌ9�!(k|�O�?,?8�Ʒ�A�J�2����s����G9k��$l �����"*b@cA+@It�MA���\M��A֤��ՙ8Ky�{�q��.�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="Rbd2f817e5dfd4f29" /></Relationships>PK ���\W��% � xl/worksheets/sheet1.xml � (� �Q�N�0���w���cLm'�i�� �кK�&����瓤!q�Ė��{v��MlF��6YMK�2�&�����T٫����q[��~<p�Z�Z��F4�֓��^8��j�D��x^���[�RN�����.7Z]����Je��:أ{f���i�7UB�+\ܯ��1>��1y�j������e�b�-Ϩ.҇
�������i�L�[z�yY�v��e��(��k'�I���%_i��Ix�T�fS9��(��� �¼s�W|�������_�-�=y�I���/PK ���\6յ�� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8i�q��ݰa[z��Q۲]�gc���V� �X��j4��'�|�l�o�D^Їњ�,�FX9���sT���'�DУ$��Ё��m(
B��Cf��Q��<���qq��U���/p�$Nj���R��G+�3����Z
19r?`���5Y�y���Wr�z�W�Tj
��M-�˄���;_ȴ�-�m{��,������s���K�ey���\�eՈvU�7��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 ���\T�g� � xl/sharedStrings.xml � (� 5�An� E��fO�I�
�E���=�&1���ۗ.�|���}�)�z�&���a Ek�|����S;PҐ.�i�_P��E��S� ���c$�TPu%�ɭn[��nd���D�,����*֝[ׂ�9?v���r�-�
�R"��э�t<[�):��H�Φ��o����
PK- ���\q
P� 5 xl/workbook.xmlPK- ���\���� � � [Content_Types].xmlPK-
���\����' ' U _rels/.relsPK- ���\W��% � � xl/worksheets/sheet1.xmlPK- ���\6յ�� P 8 xl/_rels/workbook.xml.relsPK- ���\Ѓc'2 E
~ xl/styles.xmlPK- ���\T�g� � � xl/sharedStrings.xmlPK � �