GET api/productpromotions/getpromotions?propertyId={propertyId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| propertyId | integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
WebProductPromotionsResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Header | WebProductPromotionsHeaderResponse |
None. |
|
| Items | Collection of WebProductPromotionResponse |
None. |
Response Formats
application/json, text/json
Sample:
{
"Header": {
"Title": "sample string 1",
"Subtitle": "sample string 2"
},
"Items": [
{
"Id": 1,
"ProductId": 2,
"ProductType": 1,
"CommercialPolicyId": 3,
"Title": "sample string 4",
"Subtitle": "sample string 5",
"ShortDescription": "sample string 6",
"BadgeText": "sample string 7",
"PhotoUrl": "sample string 8",
"OriginalPrice": 1.0,
"Price": 1.0,
"CurrencyCode": "sample string 9",
"VisibleToDate": "2026-11-16T01:51:02.4989024+02:00",
"DisplayOrder": 10
},
{
"Id": 1,
"ProductId": 2,
"ProductType": 1,
"CommercialPolicyId": 3,
"Title": "sample string 4",
"Subtitle": "sample string 5",
"ShortDescription": "sample string 6",
"BadgeText": "sample string 7",
"PhotoUrl": "sample string 8",
"OriginalPrice": 1.0,
"Price": 1.0,
"CurrencyCode": "sample string 9",
"VisibleToDate": "2026-11-16T01:51:02.4989024+02:00",
"DisplayOrder": 10
}
]
}