POST api/suppliers/frontpage
Get FrontPage suppliers
Request Information
URI Parameters
None.
Body Parameters
Search Parameters
Name | Description | Type | Additional information |
---|---|---|---|
GeoLocation |
Current geo Location |
GeoLocation |
None. |
Count |
Count |
integer |
Default value is 15 |
OnContentSet |
On Content Set Options |
boolean |
Default value is False |
Request Formats
application/json, text/json
Sample:
{ "geoLocation": { "longitude": 1.1, "latitude": 2.1 }, "count": 1, "onContentSet": true }
Response Information
Favorites suppliers
Name | Description | Type | Additional information |
---|---|---|---|
Items |
FrontPage Items |
None. |
Response Formats
application/json, text/json
Sample:
{ "items": [ { "supplierId": 1, "name": "sample string 2", "info": "sample string 3", "teaser": "sample string 4", "about": "sample string 5", "detailImageUrl": "sample string 6", "addressInfo": { "addressId": 1, "detail": "sample string 1", "latitude": 1.1, "longitude": 1.1 }, "discountInfo": { "info": "sample string 1", "minPercent": 1.1, "maxPercent": 1.1, "minAmount": 1.1, "maxAmount": 1.1, "text": "sample string 2", "currency": { "currencySymbol": "sample string 1", "isPrefix": true } }, "specialOfferInfo": { "discountString": "sample string 1", "info": "sample string 2", "endDateTimeUTC": "2025-02-20T17:11:33.7242375+01:00", "campaignImageUrl": "sample string 3" }, "frontPageInfo": { "showSpecialOfferContent": true } }, { "supplierId": 1, "name": "sample string 2", "info": "sample string 3", "teaser": "sample string 4", "about": "sample string 5", "detailImageUrl": "sample string 6", "addressInfo": { "addressId": 1, "detail": "sample string 1", "latitude": 1.1, "longitude": 1.1 }, "discountInfo": { "info": "sample string 1", "minPercent": 1.1, "maxPercent": 1.1, "minAmount": 1.1, "maxAmount": 1.1, "text": "sample string 2", "currency": { "currencySymbol": "sample string 1", "isPrefix": true } }, "specialOfferInfo": { "discountString": "sample string 1", "info": "sample string 2", "endDateTimeUTC": "2025-02-20T17:11:33.7242375+01:00", "campaignImageUrl": "sample string 3" }, "frontPageInfo": { "showSpecialOfferContent": true } } ] }