PUT api/promotionType/{id}
Save promotion type
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Identifier of promotion type to save |
globally unique identifier |
Required |
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": "fCl+mLdCek6c6gfnYQuJng==", "identifierGuid": "987e297c-42b7-4e7a-9cea-07e7610b899e", "hostType": 2, "code": "sample string 3", "description": "sample string 4", "isLiquor": true, "isAdvertised": true, "disableWasSave": true, "excludeFromPromoSales": true, "labelPageLayoutG_UID": "FrOttoN8wkqXBJtLbo7mKQ==", "labelPageLayoutGuid": "b6adb316-7c83-4ac2-9704-9b4b6e8ee629", "priceLevelIdentifier": "dNO10zHsdk+QLxfassEjeQ==", "priceLevelIdentifierGuid": "d3b5d374-ec31-4f76-902f-17dab2c12379", "active": true, "updated": "2025-10-05T00:01:15.7701527", "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>fCl+mLdCek6c6gfnYQuJng==</Identifier> <IdentifierGuid>987e297c-42b7-4e7a-9cea-07e7610b899e</IdentifierGuid> <IsAdvertised>true</IsAdvertised> <IsLiquor>true</IsLiquor> <LabelPageLayoutG_UID>FrOttoN8wkqXBJtLbo7mKQ==</LabelPageLayoutG_UID> <LabelPageLayoutGuid>b6adb316-7c83-4ac2-9704-9b4b6e8ee629</LabelPageLayoutGuid> <PriceLevelIdentifier>dNO10zHsdk+QLxfassEjeQ==</PriceLevelIdentifier> <PriceLevelIdentifierGuid>d3b5d374-ec31-4f76-902f-17dab2c12379</PriceLevelIdentifierGuid> <Updated>2025-10-05T00:01:15.7701527+00:00</Updated> </PromotionType>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.