POST api/suppliers/frontpage

Get FrontPage suppliers

Request Information

URI Parameters

None.

Body Parameters

Search Parameters

NameDescriptionTypeAdditional information
GeoLocation

Current geo Location

GeoLocation

None.

Count

Count

integer

Default value is 15

Request Formats

application/json, text/json

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

Response Information

Favorites suppliers

NameDescriptionTypeAdditional information
Items

FrontPage Items

Collection of FrontPageItem

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-10T17:26:17.6170094+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"
      },
      "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": {
        "info": "sample string 1",
        "endDateTimeUTC": "2018-12-10T17:26:17.6170094+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"
      },
      "frontPageInfo": {
        "showSpecialOfferContent": true
      }
    }
  ]
}