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 PopupMessageProduct| Name | 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": "jlUw4Q9Tz0meWF1nGPAVAQ==",
"pluGuid": "e130558e-530f-49cf-9e58-5d6718f01501",
"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>jlUw4Q9Tz0meWF1nGPAVAQ==</PLUG_UID>
<PLUGuid>e130558e-530f-49cf-9e58-5d6718f01501</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>jlUw4Q9Tz0meWF1nGPAVAQ==</PLUG_UID>
<PLUGuid>e130558e-530f-49cf-9e58-5d6718f01501</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.