GET api/FavoriteSearch/GetFavorites

Uses Users credentials to get list of favorite searches

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "Favorites": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "UserName": "sample string 3",
      "Query": "sample string 4",
      "SendMail": true,
      "CountryCode": "sample string 6",
      "CreatedDate": "2024-04-19T20:52:16.4367503+02:00",
      "LastSeenDate": "2024-04-19T20:52:16.4367503+02:00",
      "SearchGuid": "7f74a10a-80fa-4ea2-adc2-836fc2d692e6",
      "Comment": "sample string 8",
      "NewMatches": 9,
      "TotalMatches": 10,
      "AreaName": "sample string 11"
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "UserName": "sample string 3",
      "Query": "sample string 4",
      "SendMail": true,
      "CountryCode": "sample string 6",
      "CreatedDate": "2024-04-19T20:52:16.4367503+02:00",
      "LastSeenDate": "2024-04-19T20:52:16.4367503+02:00",
      "SearchGuid": "7f74a10a-80fa-4ea2-adc2-836fc2d692e6",
      "Comment": "sample string 8",
      "NewMatches": 9,
      "TotalMatches": 10,
      "AreaName": "sample string 11"
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "UserName": "sample string 3",
      "Query": "sample string 4",
      "SendMail": true,
      "CountryCode": "sample string 6",
      "CreatedDate": "2024-04-19T20:52:16.4367503+02:00",
      "LastSeenDate": "2024-04-19T20:52:16.4367503+02:00",
      "SearchGuid": "7f74a10a-80fa-4ea2-adc2-836fc2d692e6",
      "Comment": "sample string 8",
      "NewMatches": 9,
      "TotalMatches": 10,
      "AreaName": "sample string 11"
    }
  ]
}

application/xml, text/xml

Sample:
<FavoritesView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Boliga.Web.API.Models">
  <Favorites>
    <FavoriteView>
      <AreaName>sample string 11</AreaName>
      <Comment>sample string 8</Comment>
      <CountryCode>sample string 6</CountryCode>
      <CreatedDate>2024-04-19T20:52:16.4367503+02:00</CreatedDate>
      <Id>1</Id>
      <LastSeenDate>2024-04-19T20:52:16.4367503+02:00</LastSeenDate>
      <Name>sample string 2</Name>
      <NewMatches>9</NewMatches>
      <Query>sample string 4</Query>
      <SearchGuid>7f74a10a-80fa-4ea2-adc2-836fc2d692e6</SearchGuid>
      <SendMail>true</SendMail>
      <TotalMatches>10</TotalMatches>
      <UserName>sample string 3</UserName>
    </FavoriteView>
    <FavoriteView>
      <AreaName>sample string 11</AreaName>
      <Comment>sample string 8</Comment>
      <CountryCode>sample string 6</CountryCode>
      <CreatedDate>2024-04-19T20:52:16.4367503+02:00</CreatedDate>
      <Id>1</Id>
      <LastSeenDate>2024-04-19T20:52:16.4367503+02:00</LastSeenDate>
      <Name>sample string 2</Name>
      <NewMatches>9</NewMatches>
      <Query>sample string 4</Query>
      <SearchGuid>7f74a10a-80fa-4ea2-adc2-836fc2d692e6</SearchGuid>
      <SendMail>true</SendMail>
      <TotalMatches>10</TotalMatches>
      <UserName>sample string 3</UserName>
    </FavoriteView>
    <FavoriteView>
      <AreaName>sample string 11</AreaName>
      <Comment>sample string 8</Comment>
      <CountryCode>sample string 6</CountryCode>
      <CreatedDate>2024-04-19T20:52:16.4367503+02:00</CreatedDate>
      <Id>1</Id>
      <LastSeenDate>2024-04-19T20:52:16.4367503+02:00</LastSeenDate>
      <Name>sample string 2</Name>
      <NewMatches>9</NewMatches>
      <Query>sample string 4</Query>
      <SearchGuid>7f74a10a-80fa-4ea2-adc2-836fc2d692e6</SearchGuid>
      <SendMail>true</SendMail>
      <TotalMatches>10</TotalMatches>
      <UserName>sample string 3</UserName>
    </FavoriteView>
  </Favorites>
</FavoritesView>