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": "tx2fqMFno0Cm0P4g58miCg==", "identifierGuid": "a89f1db7-67c1-40a3-a6d0-fe20e7c9a20a", "hostType": 2, "code": "sample string 3", "description": "sample string 4", "isLiquor": true, "isAdvertised": true, "disableWasSave": true, "excludeFromPromoSales": true, "labelPageLayoutG_UID": "YBLqF7d+NU+zItGBNMCkbQ==", "labelPageLayoutGuid": "17ea1260-7eb7-4f35-b322-d18134c0a46d", "priceLevelIdentifier": "cUGQgad8lkueT2h3nLRe9Q==", "priceLevelIdentifierGuid": "81904171-7ca7-4b96-9e4f-68779cb45ef5", "active": true, "updated": "2025-10-04T23:58:43.429802", "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>tx2fqMFno0Cm0P4g58miCg==</Identifier> <IdentifierGuid>a89f1db7-67c1-40a3-a6d0-fe20e7c9a20a</IdentifierGuid> <IsAdvertised>true</IsAdvertised> <IsLiquor>true</IsLiquor> <LabelPageLayoutG_UID>YBLqF7d+NU+zItGBNMCkbQ==</LabelPageLayoutG_UID> <LabelPageLayoutGuid>17ea1260-7eb7-4f35-b322-d18134c0a46d</LabelPageLayoutGuid> <PriceLevelIdentifier>cUGQgad8lkueT2h3nLRe9Q==</PriceLevelIdentifier> <PriceLevelIdentifierGuid>81904171-7ca7-4b96-9e4f-68779cb45ef5</PriceLevelIdentifierGuid> <Updated>2025-10-04T23:58:43.429802+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:
"b52a0daa-d417-4744-880f-d068a1828bea"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">b52a0daa-d417-4744-880f-d068a1828bea</guid>
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Sample:
PK U�D[EMt� 5 xl/workbook.xml � (� ���� ��M��(��1��K�=��R�h��1�������S��u������ܕ� a��E ~g4q'���t/f�Tk��M`�,�0�=e�o���L���� |�t?�4(C�톐bj�T8�$��ԝL���M �^$Eh,i (I�]�tO��UB4�������K��WX����PK U�D[���� � [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 U�D[O��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="R91419799c8034289" /></Relationships>PK U�D[�_% � xl/worksheets/sheet1.xml � (� �Q�N�0��(w����Lm'�i�� �кK�&�w�瓤!q�Ė��{v��͌� �k� /��3��ڞ>�pW�C[/�.^p����h��;F�'��6�3�B���Awp�n6`I��y)����Wz�|e����>Y0�Je����{أ{�`h�S��h�|װ�_1�c|"^b��7<OX�|Jʯ��0�y�7\�A�� mSO��O73:�3#o�]tO��*{x,w�ؔ���8�fOh>���R�4I�(I��Å�T�1����4��0��kq�������_�-�;!����s�PK U�D[K}� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞8-�qQ�n�a[z���Q;��B�Ƃ#q�"A*�`��h~OO��|�Xmކ��(�.�fU ����m�l�l֫���DrݘXY�����yҎLUɗ� q�\����[��<Np�d��H�!k;M۠������xH�(�cl)7�SJ�fU�{2 �y�W��B�-0~3���=�_��|"C�R )�F!�����H�9�r�Ӵ<QS���F3�aQ\���_�� PK U�D[Ѓ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 U�D[��N� � xl/sharedStrings.xml � (� 5�An� E�����$��dQ�'H01���g\5�]t�������[���J��N+���L�Q_��(�R G�B����6%�,�~X�ӌ�PW����V@n�놐xF����-�I���$M��N����?7A�A��K & ���a0�I���!+1ؿ�m��PK- U�D[EMt� 5 xl/workbook.xmlPK- U�D[���� � � [Content_Types].xmlPK- U�D[O��3' ' T _rels/.relsPK- U�D[�_% � � xl/worksheets/sheet1.xmlPK- U�D[K}� P 7 xl/_rels/workbook.xml.relsPK- U�D[Ѓc'2 E | xl/styles.xmlPK- U�D[��N� � � xl/sharedStrings.xmlPK � �
application/vnd.ms-excel
Sample:
PK U�D[�퀢� 5 xl/workbook.xml � (� ��;�0D�H���� d�hҦH��ul�?��㇏@J�ngv���Ʌ�sn 3�X����|�X ċ�h�t�@�ex1'��:�6h˳�dGH�٨��t��Ê> �Q!&3n(���|"�/͞������.&a[���� ;.VE,�i (Y�{_�+%����Ȳ[���=E.$=����w�PK U�D[���� � [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 U�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="R90bf4b1dcc0e4692" /></Relationships>PK U�D[�_% � xl/worksheets/sheet1.xml � (� �Q�N�0��(w����Lm'�i�� �кK�&�w�瓤!q�Ė��{v��͌� �k� /��3��ڞ>�pW�C[/�.^p����h��;F�'��6�3�B���Awp�n6`I��y)����Wz�|e����>Y0�Je����{أ{�`h�S��h�|װ�_1�c|"^b��7<OX�|Jʯ��0�y�7\�A�� mSO��O73:�3#o�]tO��*{x,w�ؔ���8�fOh>���R�4I�(I��Å�T�1����4��0��kq�������_�-�;!����s�PK U�D[L��Q� P xl/_rels/workbook.xml.rels � (� ��KN�0@�b͞؉l�AM�aö���Q;�]�gc���V� �X��j4��'�|�lvo�H^0�!��A��|��)ۻ5춛=�*���9���S.���ҤN*UaF_:6�I�ƞ�JU��aLҸd�5��3���4>}���?��5�cr��A�s?�D/�� ȣ�`Ϙ����(�m�Л��|1�z}��֦n�傷\uS�"��˥�N��Bm%j.y����u{Q�W��PK U�D[Ѓ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 U�D[��N� � xl/sharedStrings.xml � (� 5�An� E�����$��dQ�'H01���g\5�]t�������[���J��N+���L�Q_��(�R G�B����6%�,�~X�ӌ�PW����V@n�놐xF����-�I���$M��N����?7A�A��K & ���a0�I���!+1ؿ�m��PK- U�D[�퀢� 5 xl/workbook.xmlPK- U�D[���� � � [Content_Types].xmlPK- U�D[Ըŵ' ' U _rels/.relsPK- U�D[�_% � � xl/worksheets/sheet1.xmlPK- U�D[L��Q� P 8 xl/_rels/workbook.xml.relsPK- U�D[Ѓc'2 E ~ xl/styles.xmlPK- U�D[��N� � � xl/sharedStrings.xmlPK � �