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.

Request Formats

application/json, text/json

Sample:
{
  "geoLocation": {
    "longitude": 1.1,
    "latitude": 2.1
  },
  "count": 1
}

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": "2018-12-10T16:14:19.7588624+01: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": "2018-12-10T16:14:19.7588624+01: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
      }
    }
  ]
}