POST services/api/v1/Get_ImageOnFetchForPromotion
Request Information
URI Parameters
None.
Body Parameters
PromotionImage| Name | Description | Type | Additional information |
|---|---|---|---|
| ItemList | Collection of PromotionImageItem |
None. |
|
| GoogleApiKey | string |
None. |
|
| SearchEngineKey | string |
None. |
|
| DefaultImage | string |
None. |
|
| ImageWidth | integer |
None. |
|
| ImageHeight | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ItemList": [
{
"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
}
],
"GoogleApiKey": "sample string 1",
"SearchEngineKey": "sample string 2",
"DefaultImage": "sample string 3",
"ImageWidth": 4,
"ImageHeight": 5
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PromotionImage| Name | Description | Type | Additional information |
|---|---|---|---|
| ItemList | Collection of PromotionImageItem |
None. |
|
| GoogleApiKey | string |
None. |
|
| SearchEngineKey | string |
None. |
|
| DefaultImage | string |
None. |
|
| ImageWidth | integer |
None. |
|
| ImageHeight | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"ItemList": [
{
"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
}
],
"GoogleApiKey": "sample string 1",
"SearchEngineKey": "sample string 2",
"DefaultImage": "sample string 3",
"ImageWidth": 4,
"ImageHeight": 5
}