POST api/productos/GetProductByCampaign
Request Information
URI Parameters
None.
Body Parameters
CampaignProductsRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Campaign | string |
None. |
|
| Products | Collection of ProductRequest |
None. |
Request Formats
application/json, text/json
Sample:
{
"Campaign": "sample string 1",
"Products": [
{
"Sku": "sample string 1",
"Quantity": 2
},
{
"Sku": "sample string 1",
"Quantity": 2
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CampaignProductsResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Products | Collection of ProductoDto |
None. |
|
| Status | integer |
None. |
|
| Message | string |
None. |
|
| CodeError | string |
None. |
|
| Exception | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Products": [
{
"Sku": "sample string 1",
"PriceBefore": 2.0,
"Price": 3.0,
"Available": true
},
{
"Sku": "sample string 1",
"PriceBefore": 2.0,
"Price": 3.0,
"Available": true
}
],
"Status": 1,
"Message": "sample string 2",
"CodeError": "sample string 3",
"Exception": "sample string 4"
}