POST api/favorites/search

Get Favorites Suppliers

Request Information

URI Parameters

None.

Body Parameters

Search Parameters

NameDescriptionTypeAdditional information
GeoLocation

Current geo Location

GeoLocation

None.

PageNumber

Page Number (default value 0)

integer

None.

PageSize

Page Size (default value 10)

integer

None.

SortDirection

Sort Direction (Default Value : BestMatch)

SortDirectionEnum

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
  },
  "pageNumber": 1,
  "pageSize": 1,
  "sortDirection": 0,
  "onContentSet": true
}

Response Information

Favorites suppliers

NameDescriptionTypeAdditional information
SearchItems

Search Result Items

Collection of SearchResultItem

None.

TotalResults

Total Results count

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "searchItems": [
    {
      "supplierId": 1,
      "isFavorite": true,
      "name": "sample string 3",
      "about": "sample string 4",
      "teaser": "sample string 5",
      "imageUrl": "sample string 6",
      "supplierImage": "sample string 7",
      "specialOfferInfo": {
        "info": "sample string 1",
        "endDateTimeUTC": "2024-03-29T11:20:02.0060031+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"
      },
      "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
        }
      },
      "address": {
        "addressId": 1,
        "detail": "sample string 1",
        "latitude": 1.1,
        "longitude": 1.1
      },
      "numberOfAddresses": 8
    },
    {
      "supplierId": 1,
      "isFavorite": true,
      "name": "sample string 3",
      "about": "sample string 4",
      "teaser": "sample string 5",
      "imageUrl": "sample string 6",
      "supplierImage": "sample string 7",
      "specialOfferInfo": {
        "info": "sample string 1",
        "endDateTimeUTC": "2024-03-29T11:20:02.0060031+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"
      },
      "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
        }
      },
      "address": {
        "addressId": 1,
        "detail": "sample string 1",
        "latitude": 1.1,
        "longitude": 1.1
      },
      "numberOfAddresses": 8
    }
  ],
  "totalResults": 1
}