POST api/Shop/Offers/GetOffersForItems?ShowOnlyActive={ShowOnlyActive}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ShowOnlyActive | boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
Dictionary of integer [key] and Collection of OfferModel [value]Response Formats
application/json, text/json
Sample:
{
"1": [
{
"ID": 1,
"Name": "sample string 2",
"Active": true,
"StartDate": "2026-02-12T07:25:38.0005408+00:00",
"EndDate": "2026-02-12T07:25:38.0005408+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": "2026-02-12T07:25:38.0005408+00:00",
"EndDate": "2026-02-12T07:25:38.0005408+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"
}
}
],
"2": [
{
"ID": 1,
"Name": "sample string 2",
"Active": true,
"StartDate": "2026-02-12T07:25:38.0005408+00:00",
"EndDate": "2026-02-12T07:25:38.0005408+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": "2026-02-12T07:25:38.0005408+00:00",
"EndDate": "2026-02-12T07:25:38.0005408+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:
<ArrayOfKeyValueOfintArrayOfOfferModel8pCwoYJf xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<KeyValueOfintArrayOfOfferModel8pCwoYJf>
<Key>1</Key>
<Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/MoodAPI.Models">
<d3p1:OfferModel>
<d3p1:Active>true</d3p1:Active>
<d3p1:EndDate>2026-02-12T07:25:38.0005408+00:00</d3p1:EndDate>
<d3p1:ID>1</d3p1:ID>
<d3p1:LabelAlign>Right</d3p1:LabelAlign>
<d3p1:LabelColor>sample string 7</d3p1:LabelColor>
<d3p1:LabelImage>
<d3p1:Extention>sample string 3</d3p1:Extention>
<d3p1:FileID>1</d3p1:FileID>
<d3p1:FileUrl>sample string 4</d3p1:FileUrl>
<d3p1:Name>sample string 2</d3p1:Name>
</d3p1:LabelImage>
<d3p1:LabelText>sample string 8</d3p1:LabelText>
<d3p1:LabelType>Img</d3p1:LabelType>
<d3p1:Name>sample string 2</d3p1:Name>
<d3p1:ShowLabel>true</d3p1:ShowLabel>
<d3p1:StartDate>2026-02-12T07:25:38.0005408+00:00</d3p1:StartDate>
</d3p1:OfferModel>
<d3p1:OfferModel>
<d3p1:Active>true</d3p1:Active>
<d3p1:EndDate>2026-02-12T07:25:38.0005408+00:00</d3p1:EndDate>
<d3p1:ID>1</d3p1:ID>
<d3p1:LabelAlign>Right</d3p1:LabelAlign>
<d3p1:LabelColor>sample string 7</d3p1:LabelColor>
<d3p1:LabelImage>
<d3p1:Extention>sample string 3</d3p1:Extention>
<d3p1:FileID>1</d3p1:FileID>
<d3p1:FileUrl>sample string 4</d3p1:FileUrl>
<d3p1:Name>sample string 2</d3p1:Name>
</d3p1:LabelImage>
<d3p1:LabelText>sample string 8</d3p1:LabelText>
<d3p1:LabelType>Img</d3p1:LabelType>
<d3p1:Name>sample string 2</d3p1:Name>
<d3p1:ShowLabel>true</d3p1:ShowLabel>
<d3p1:StartDate>2026-02-12T07:25:38.0005408+00:00</d3p1:StartDate>
</d3p1:OfferModel>
</Value>
</KeyValueOfintArrayOfOfferModel8pCwoYJf>
<KeyValueOfintArrayOfOfferModel8pCwoYJf>
<Key>2</Key>
<Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/MoodAPI.Models">
<d3p1:OfferModel>
<d3p1:Active>true</d3p1:Active>
<d3p1:EndDate>2026-02-12T07:25:38.0005408+00:00</d3p1:EndDate>
<d3p1:ID>1</d3p1:ID>
<d3p1:LabelAlign>Right</d3p1:LabelAlign>
<d3p1:LabelColor>sample string 7</d3p1:LabelColor>
<d3p1:LabelImage>
<d3p1:Extention>sample string 3</d3p1:Extention>
<d3p1:FileID>1</d3p1:FileID>
<d3p1:FileUrl>sample string 4</d3p1:FileUrl>
<d3p1:Name>sample string 2</d3p1:Name>
</d3p1:LabelImage>
<d3p1:LabelText>sample string 8</d3p1:LabelText>
<d3p1:LabelType>Img</d3p1:LabelType>
<d3p1:Name>sample string 2</d3p1:Name>
<d3p1:ShowLabel>true</d3p1:ShowLabel>
<d3p1:StartDate>2026-02-12T07:25:38.0005408+00:00</d3p1:StartDate>
</d3p1:OfferModel>
<d3p1:OfferModel>
<d3p1:Active>true</d3p1:Active>
<d3p1:EndDate>2026-02-12T07:25:38.0005408+00:00</d3p1:EndDate>
<d3p1:ID>1</d3p1:ID>
<d3p1:LabelAlign>Right</d3p1:LabelAlign>
<d3p1:LabelColor>sample string 7</d3p1:LabelColor>
<d3p1:LabelImage>
<d3p1:Extention>sample string 3</d3p1:Extention>
<d3p1:FileID>1</d3p1:FileID>
<d3p1:FileUrl>sample string 4</d3p1:FileUrl>
<d3p1:Name>sample string 2</d3p1:Name>
</d3p1:LabelImage>
<d3p1:LabelText>sample string 8</d3p1:LabelText>
<d3p1:LabelType>Img</d3p1:LabelType>
<d3p1:Name>sample string 2</d3p1:Name>
<d3p1:ShowLabel>true</d3p1:ShowLabel>
<d3p1:StartDate>2026-02-12T07:25:38.0005408+00:00</d3p1:StartDate>
</d3p1:OfferModel>
</Value>
</KeyValueOfintArrayOfOfferModel8pCwoYJf>
</ArrayOfKeyValueOfintArrayOfOfferModel8pCwoYJf>