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": "2021-06-17T06:29:45.387262+02:00",
      "LastSeenDate": "2021-06-17T06:29:45.387262+02:00",
      "SearchGuid": "c2de44c9-e429-475f-a3ab-61744323c759",
      "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": "2021-06-17T06:29:45.387262+02:00",
      "LastSeenDate": "2021-06-17T06:29:45.387262+02:00",
      "SearchGuid": "c2de44c9-e429-475f-a3ab-61744323c759",
      "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": "2021-06-17T06:29:45.387262+02:00",
      "LastSeenDate": "2021-06-17T06:29:45.387262+02:00",
      "SearchGuid": "c2de44c9-e429-475f-a3ab-61744323c759",
      "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>2021-06-17T06:29:45.387262+02:00</CreatedDate>
      <Id>1</Id>
      <LastSeenDate>2021-06-17T06:29:45.387262+02:00</LastSeenDate>
      <Name>sample string 2</Name>
      <NewMatches>9</NewMatches>
      <Query>sample string 4</Query>
      <SearchGuid>c2de44c9-e429-475f-a3ab-61744323c759</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>2021-06-17T06:29:45.387262+02:00</CreatedDate>
      <Id>1</Id>
      <LastSeenDate>2021-06-17T06:29:45.387262+02:00</LastSeenDate>
      <Name>sample string 2</Name>
      <NewMatches>9</NewMatches>
      <Query>sample string 4</Query>
      <SearchGuid>c2de44c9-e429-475f-a3ab-61744323c759</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>2021-06-17T06:29:45.387262+02:00</CreatedDate>
      <Id>1</Id>
      <LastSeenDate>2021-06-17T06:29:45.387262+02:00</LastSeenDate>
      <Name>sample string 2</Name>
      <NewMatches>9</NewMatches>
      <Query>sample string 4</Query>
      <SearchGuid>c2de44c9-e429-475f-a3ab-61744323c759</SearchGuid>
      <SendMail>true</SendMail>
      <TotalMatches>10</TotalMatches>
      <UserName>sample string 3</UserName>
    </FavoriteView>
  </Favorites>
</FavoritesView>