GET api/Shop/Offers/GetOffersForItem?CatalogItemID={CatalogItemID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| CatalogItemID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of OfferModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Name | string |
None. |
|
| Active | boolean |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| ShowLabel | boolean |
None. |
|
| LabelAlign | LabelAlign |
None. |
|
| LabelType | LabelType |
None. |
|
| LabelColor | string |
None. |
|
| LabelText | string |
None. |
|
| LabelImage | FileModel |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ID": 1,
"Name": "sample string 2",
"Active": true,
"StartDate": "2025-12-28T12:48:27.5085482+00:00",
"EndDate": "2025-12-28T12:48:27.5085482+00:00",
"ShowLabel": true,
"LabelAlign": 1,
"LabelType": 1,
"LabelColor": "sample string 7",
"LabelText": "sample string 8",
"LabelImage": {
"FileID": 1,
"Name": "sample string 2",
"Extention": "sample string 3",
"FileUrl": "sample string 4"
}
},
{
"ID": 1,
"Name": "sample string 2",
"Active": true,
"StartDate": "2025-12-28T12:48:27.5085482+00:00",
"EndDate": "2025-12-28T12:48:27.5085482+00:00",
"ShowLabel": true,
"LabelAlign": 1,
"LabelType": 1,
"LabelColor": "sample string 7",
"LabelText": "sample string 8",
"LabelImage": {
"FileID": 1,
"Name": "sample string 2",
"Extention": "sample string 3",
"FileUrl": "sample string 4"
}
}
]
text/xml
Sample:
<ArrayOfOfferModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MoodAPI.Models">
<OfferModel>
<Active>true</Active>
<EndDate>2025-12-28T12:48:27.5085482+00:00</EndDate>
<ID>1</ID>
<LabelAlign>Right</LabelAlign>
<LabelColor>sample string 7</LabelColor>
<LabelImage>
<Extention>sample string 3</Extention>
<FileID>1</FileID>
<FileUrl>sample string 4</FileUrl>
<Name>sample string 2</Name>
</LabelImage>
<LabelText>sample string 8</LabelText>
<LabelType>Img</LabelType>
<Name>sample string 2</Name>
<ShowLabel>true</ShowLabel>
<StartDate>2025-12-28T12:48:27.5085482+00:00</StartDate>
</OfferModel>
<OfferModel>
<Active>true</Active>
<EndDate>2025-12-28T12:48:27.5085482+00:00</EndDate>
<ID>1</ID>
<LabelAlign>Right</LabelAlign>
<LabelColor>sample string 7</LabelColor>
<LabelImage>
<Extention>sample string 3</Extention>
<FileID>1</FileID>
<FileUrl>sample string 4</FileUrl>
<Name>sample string 2</Name>
</LabelImage>
<LabelText>sample string 8</LabelText>
<LabelType>Img</LabelType>
<Name>sample string 2</Name>
<ShowLabel>true</ShowLabel>
<StartDate>2025-12-28T12:48:27.5085482+00:00</StartDate>
</OfferModel>
</ArrayOfOfferModel>