POST api/suppliers/promoted

Get Promoted Suppliers

Request Information

URI Parameters

None.

Body Parameters

Search Parameters

NameDescriptionTypeAdditional information
GeoLocation

Current geo Location

GeoLocation

None.

Count

Count

integer

None.

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

NameDescriptionTypeAdditional information
Items

Promoted Items

Collection of PromotedItem

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": {
        "info": "sample string 1",
        "endDateTimeUTC": "2024-04-20T11:09:10.7796737+02:00",
        "timeLeft": "sample string 2",
        "campaignImageUrl": "sample string 3",
        "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
          }
        },
        "dealTitle": "sample string 4"
      },
      "promotedInfo": {
        "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": {
        "info": "sample string 1",
        "endDateTimeUTC": "2024-04-20T11:09:10.7796737+02:00",
        "timeLeft": "sample string 2",
        "campaignImageUrl": "sample string 3",
        "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
          }
        },
        "dealTitle": "sample string 4"
      },
      "promotedInfo": {
        "showSpecialOfferContent": true
      }
    }
  ]
}