POST services/api/v1/Save_ImageFromPromotion
Request Information
URI Parameters
None.
Body Parameters
PromotionImageUpdate| Name | Description | Type | Additional information |
|---|---|---|---|
| PromotionImageItem | Collection of PromotionImageItem |
None. |
|
| ImageWidth | integer |
None. |
|
| ImageHeight | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"PromotionImageItem": [
{
"Barcode": "sample string 1",
"ItemName": "sample string 2",
"ItemImagePath": "sample string 3",
"ItemImageBinary": "QEA=",
"Selected": true,
"OrgSellingPrice": 5.0,
"NewSellingPrice": 6.0
},
{
"Barcode": "sample string 1",
"ItemName": "sample string 2",
"ItemImagePath": "sample string 3",
"ItemImageBinary": "QEA=",
"Selected": true,
"OrgSellingPrice": 5.0,
"NewSellingPrice": 6.0
}
],
"ImageWidth": 1,
"ImageHeight": 2
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of PromotionImageItem| Name | Description | Type | Additional information |
|---|---|---|---|
| Barcode | string |
None. |
|
| ItemName | string |
None. |
|
| ItemImagePath | string |
None. |
|
| ItemImageBinary | Collection of byte |
None. |
|
| Selected | boolean |
None. |
|
| OrgSellingPrice | decimal number |
None. |
|
| NewSellingPrice | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Barcode": "sample string 1",
"ItemName": "sample string 2",
"ItemImagePath": "sample string 3",
"ItemImageBinary": "QEA=",
"Selected": true,
"OrgSellingPrice": 5.0,
"NewSellingPrice": 6.0
},
{
"Barcode": "sample string 1",
"ItemName": "sample string 2",
"ItemImagePath": "sample string 3",
"ItemImageBinary": "QEA=",
"Selected": true,
"OrgSellingPrice": 5.0,
"NewSellingPrice": 6.0
}
]