POST api/pos/message/{id}/products
Add products to popup message
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
PopupMessage guid to use when loading products |
globally unique identifier |
Required |
Body Parameters
List of Popup Message products
Collection of PopupMessageProductName | Description | Type | Additional information |
---|---|---|---|
PLUG_UID | Collection of byte |
None. |
|
PLUGuid | globally unique identifier |
None. |
|
DisplayType | integer |
None. |
|
StoreIDs | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
[ { "$id": "1", "pluG_UID": "sKUEBSXNWUCa/e9jPZHovA==", "pluGuid": "0504a5b0-cd25-4059-9afd-ef633d91e8bc", "displayType": 1, "storeIDs": [ 1, 2 ] }, { "$ref": "1" } ]
application/xml, text/xml
Sample:
<ArrayOfPopupMessageProduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Pos.PopupMessage"> <PopupMessageProduct> <DisplayType>1</DisplayType> <PLUG_UID>sKUEBSXNWUCa/e9jPZHovA==</PLUG_UID> <PLUGuid>0504a5b0-cd25-4059-9afd-ef633d91e8bc</PLUGuid> <StoreIDs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> </StoreIDs> </PopupMessageProduct> <PopupMessageProduct> <DisplayType>1</DisplayType> <PLUG_UID>sKUEBSXNWUCa/e9jPZHovA==</PLUG_UID> <PLUGuid>0504a5b0-cd25-4059-9afd-ef633d91e8bc</PLUGuid> <StoreIDs xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> </StoreIDs> </PopupMessageProduct> </ArrayOfPopupMessageProduct>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.