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": "bstyMH+xJkyCiydztNy20g==", "identifierGuid": "3072cb6e-b17f-4c26-828b-2773b4dcb6d2", "hostType": 2, "code": "sample string 3", "description": "sample string 4", "isLiquor": true, "isAdvertised": true, "disableWasSave": true, "excludeFromPromoSales": true, "labelPageLayoutG_UID": "8cuyNUtx70WUhM2RrtzmMw==", "labelPageLayoutGuid": "35b2cbf1-714b-45ef-9484-cd91aedce633", "priceLevelIdentifier": "ukOOm8ka6ESynHu67240Kw==", "priceLevelIdentifierGuid": "9b8e43ba-1ac9-44e8-b29c-7bbaef6e342b", "active": true, "updated": "2025-06-14T06:22:18.9374975", "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>bstyMH+xJkyCiydztNy20g==</Identifier> <IdentifierGuid>3072cb6e-b17f-4c26-828b-2773b4dcb6d2</IdentifierGuid> <IsAdvertised>true</IsAdvertised> <IsLiquor>true</IsLiquor> <LabelPageLayoutG_UID>8cuyNUtx70WUhM2RrtzmMw==</LabelPageLayoutG_UID> <LabelPageLayoutGuid>35b2cbf1-714b-45ef-9484-cd91aedce633</LabelPageLayoutGuid> <PriceLevelIdentifier>ukOOm8ka6ESynHu67240Kw==</PriceLevelIdentifier> <PriceLevelIdentifierGuid>9b8e43ba-1ac9-44e8-b29c-7bbaef6e342b</PriceLevelIdentifierGuid> <Updated>2025-06-14T06:22:18.9374975+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:
"a67de20f-9614-45fd-8aa0-0204df707f99"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">a67de20f-9614-45fd-8aa0-0204df707f99</guid>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK �2�Zf3Œ� 5 xl/workbook.xml � (� ����0��&�C�`�1�p��Ճ��,������Ǘ�@������#F�_�s/�1� �/A�8���`8����7'��u��T;�6d#O���=���A�!�J��O�EM��j������=4�a���՝M���M��_,�Y4TB��-έ-��z��e��.m�,O0�����~W_PK �2�Z���� � [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 �2�Z�Ĵ' ' _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="Ra872d7a63cbd463a" /></Relationships>PK �2�ZO���$ � xl/worksheets/sheet1.xml � (� �Q�n� ���B��][%�&U�v�v��,qj����? �4i� [~~��T��� �Sdj�d904-u�5̾�é��W'=p㎶��t�ܵ�pMhB�'���8��j�L��x^���[�RN�����.7Y]��ǕJe��:أ{f���i�7UB�+\ܯ��1>��1y�j���_��e�b�-Ϩ�Æ����ѥ�i�L�{z�yYC��eY���a�����y�ku5�W�$y^4����T�1��d4h�0��+~�������_�%��y�I���/PK �2�Z�(E� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8ML���ݰa[z��=N�&vd�@�Ƃ#q�"A*�`��h~OO��|���ަ����� ��Y��`�N��հ�n�4bL���Ҋ �1���ӄ!s3��1�OS�;>�:bG����%���p��?Dg̠�ѩ�D6���CO��w�)~ �,Q�=��e�J���.E���Z��¯�w���(ĺ����J�n*ӣ'�}���iY^�u����e%�5^���_l� PK �2�ZЃ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 �2�Z��= � � xl/sharedStrings.xml � (� 5�An� �����Z���0{��$@fX#���G��C9��[���]6���J3\/�Rc������%P[%����;fQmJ<�*���ˊ%��H-I�(A���!�(e3���)!���$M��<�ퟛ {'>c��&= �^�/)�[V���1�vL��xg�����PK- �2�Zf3Œ� 5 xl/workbook.xmlPK- �2�Z���� � � [Content_Types].xmlPK- �2�Z�Ĵ' ' U _rels/.relsPK- �2�ZO���$ � � xl/worksheets/sheet1.xmlPK- �2�Z�(E� P 7 xl/_rels/workbook.xml.relsPK- �2�ZЃc'2 E ~ xl/styles.xmlPK- �2�Z��= � � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK �2�ZӔ� 5 xl/workbook.xml � (� ����0��&�C��`�(N\�z�E�O�||K $���~;���j=����+lE�M���Jp'mP�]���}1���c��[���$fq/�r�0���X�X�� �^N+J�P�>)�fO���2[��$l ��Ta�ETD�Ċ6���ܻ����B�ᑦ鵽e I��r��wXɶ��PK �2�Z���� � [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 �2�Z�n�{' ' _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="R5a7386a99e534239" /></Relationships>PK �2�ZO���$ � xl/worksheets/sheet1.xml � (� �Q�n� ���B��][%�&U�v�v��,qj����? �4i� [~~��T��� �Sdj�d904-u�5̾�é��W'=p㎶��t�ܵ�pMhB�'���8��j�L��x^���[�RN�����.7Y]��ǕJe��:أ{f���i�7UB�+\ܯ��1>��1y�j���_��e�b�-Ϩ�Æ����ѥ�i�L�{z�yYC��eY���a�����y�ku5�W�$y^4����T�1��d4h�0��+~�������_�%��y�I���/PK �2�Z�M�� P xl/_rels/workbook.xml.rels � (� ��Kn�0@�b;���d�M�i.0�ᣀ�l�i��E��+�J��H]t��h~OO��|���ަ���u���(FZ�f�]g�>�`��hD&\?̎��*轟ל;�ӄ.23��i��Ї�v|Fux�9�K�3��:���mE�F�'��0�{r=�vDۑ����-�(P�� B�U]Jĸ �d�?L���H���;_�d2'��EI�������R��m���iY^�a��Y��Y��2�ӛ����PK �2�ZЃ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 �2�Z��= � � xl/sharedStrings.xml � (� 5�An� �����Z���0{��$@fX#���G��C9��[���]6���J3\/�Rc������%P[%����;fQmJ<�*���ˊ%��H-I�(A���!�(e3���)!���$M��<�ퟛ {'>c��&= �^�/)�[V���1�vL��xg�����PK- �2�ZӔ� 5 xl/workbook.xmlPK- �2�Z���� � � [Content_Types].xmlPK- �2�Z�n�{' ' U _rels/.relsPK- �2�ZO���$ � � xl/worksheets/sheet1.xmlPK- �2�Z�M�� P 7 xl/_rels/workbook.xml.relsPK- �2�ZЃc'2 E ~ xl/styles.xmlPK- �2�Z��= � � � xl/sharedStrings.xmlPK � �