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": "YVeXUf/XaE+hpHOc0AhTXQ==",
"identifierGuid": "51975761-d7ff-4f68-a1a4-739cd008535d",
"hostType": 2,
"code": "sample string 3",
"description": "sample string 4",
"isLiquor": true,
"isAdvertised": true,
"disableWasSave": true,
"excludeFromPromoSales": true,
"labelPageLayoutG_UID": "Lxd5iUQOGUSPsXtbyRKdLw==",
"labelPageLayoutGuid": "8979172f-0e44-4419-8fb1-7b5bc9129d2f",
"priceLevelIdentifier": "sQBqSYHxYEy8Mz53IdBh4w==",
"priceLevelIdentifierGuid": "496a00b1-f181-4c60-bc33-3e7721d061e3",
"active": true,
"updated": "2026-04-03T06:24:28.7091627",
"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>YVeXUf/XaE+hpHOc0AhTXQ==</Identifier> <IdentifierGuid>51975761-d7ff-4f68-a1a4-739cd008535d</IdentifierGuid> <IsAdvertised>true</IsAdvertised> <IsLiquor>true</IsLiquor> <LabelPageLayoutG_UID>Lxd5iUQOGUSPsXtbyRKdLw==</LabelPageLayoutG_UID> <LabelPageLayoutGuid>8979172f-0e44-4419-8fb1-7b5bc9129d2f</LabelPageLayoutGuid> <PriceLevelIdentifier>sQBqSYHxYEy8Mz53IdBh4w==</PriceLevelIdentifier> <PriceLevelIdentifierGuid>496a00b1-f181-4c60-bc33-3e7721d061e3</PriceLevelIdentifierGuid> <Updated>2026-04-03T06:24:28.7091627+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:
"b6105f34-2b3a-49d2-a60f-1ae1a0e4f6a3"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">b6105f34-2b3a-49d2-a60f-1ae1a0e4f6a3</guid>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK 3�\z?�Q� 5 xl/workbook.xml � (� ����0��&�C����(N\�z�^`k�O�||o�vfg��r2nh��G����"[�;�������X�ҽ��\vИ�@�Pz!F��^H��J����{Ը����B���)a��Vw6YC�7U.��bQH3nX`-ν��#W�8<nY��6�r��4I��V��w�PK 3�\���� � [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
3�\ú`�' ' _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="Rd9d04b207875403c" /></Relationships>PK 3�\=
@% � xl/worksheets/sheet1.xml � (� �QMk�0�+���iK�F�2(e�����(�il�i��g;lv������{�������}%��B
�
��_*9��a/�u9!]� ���&��Q)n8���Z��t�)]v�m�����*��"�u�Rl��rf���\?S9m����F��^t�|ZJ��2#�-L�+i�O�kJ^�J����Y��D����3؋ qC���`��Φ�I��=��m���z�جv��n}�o�˭����\�]��&k�t�uI8 ��Ȟ�4g�Q�㼷�(�-������~�tF@Y����/PK 3�\���� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞�I�&��vÆm�{�DMl�v���G�
XE�Tb�������4����ݿ�yAFkZ�3��j4}�j���DLa] iń�݆� �EȬC�:��YĔ��:!O�GZ0��~ɀ[&9^��h�%>Zy���?����S#���=�~J�^C�%*�'�¡)ˊuU��b����M-�˄���;_�t�)r��������2�𨞣O�^:-��u.$�V�!�9S�U�����PK 3�\Ѓ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 3�\I�Nt� � xl/sharedStrings.xml � (� 5�KN�0D�b��c�C��,�8�'�L,��L�����˧�ҫp�Λ��CR���C<�9�}�Ϗw�Fyƭ0��C����:eaU�_��i��r);qM�rdԊ���~βi�\���2&3���j���'��s�4ކ�?-]o�[���[��_l�Ԡ�~�Ncp}W_�_PK- 3�\z?�Q� 5 xl/workbook.xmlPK- 3�\���� � [Content_Types].xmlPK-
3�\ú`�' ' V _rels/.relsPK- 3�\=
@% � � xl/worksheets/sheet1.xmlPK- 3�\���� P 9 xl/_rels/workbook.xml.relsPK- 3�\Ѓc'2 E
� xl/styles.xmlPK- 3�\I�Nt� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK 3�\ؚ�#� 5 xl/workbook.xml � (� ����0��J}�(� �� `b�ڡ��D�%���7�@���w>�r�vl��GN������`�uJpmP��V�Ҿ��\t���-Qy�DQ�,N�Vn�э���л��iCI���!���)pv��^w1 �B�7U���bUD�Ċ6��չ��)��ã͓R߲,��Q��V��w�PK 3�\���� � [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
3�\D��' ' _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="Rdd192117e73e4dce" /></Relationships>PK 3�\=
@% � xl/worksheets/sheet1.xml � (� �QMk�0�+���iK�F�2(e�����(�il�i��g;lv������{�������}%��B
�
��_*9��a/�u9!]� ���&��Q)n8���Z��t�)]v�m�����*��"�u�Rl��rf���\?S9m����F��^t�|ZJ��2#�-L�+i�O�kJ^�J����Y��D����3؋ qC���`��Φ�I��=��m���z�جv��n}�o�˭����\�]��&k�t�uI8 ��Ȟ�4g�Q�㼷�(�-������~�tF@Y����/PK 3�\�y�D� P xl/_rels/workbook.xml.rels � (� ��Mn� F��f_�-��*N6�t��ۊ
��9[=R�P�J-���&+4���������2�t~���<c@�H�&3tp���n�9�,B���i�$>1��1���R/G\���&v�u��t]�<�i�XM]ʀ[&9^V��j=I�[y^Є?��պ���p�~"O�G�E*�'���o%j��i˞ �nj>\f�^�u"�
�9��U�.�J�Uf�spqөS�s�
�T�u��,�U�����PK 3�\Ѓ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 3�\I�Nt� � xl/sharedStrings.xml � (� 5�KN�0D�b��c�C��,�8�'�L,��L�����˧�ҫp�Λ��CR���C<�9�}�Ϗw�Fyƭ0��C����:eaU�_��i��r);qM�rdԊ���~βi�\���2&3���j���'��s�4ކ�?-]o�[���[��_l�Ԡ�~�Ncp}W_�_PK- 3�\ؚ�#� 5 xl/workbook.xmlPK- 3�\���� � [Content_Types].xmlPK-
3�\D��' ' V _rels/.relsPK- 3�\=
@% � � xl/worksheets/sheet1.xmlPK- 3�\�y�D� P 9 xl/_rels/workbook.xml.relsPK- 3�\Ѓc'2 E
� xl/styles.xmlPK- 3�\I�Nt� � � xl/sharedStrings.xmlPK � �