GET api/UserFavourite/Search?firstName={firstName}&lastName={lastName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
firstName

string

Required

lastName

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of LiteUserSearchResult
NameDescriptionTypeAdditional information
Id

string

None.

FirstName

string

None.

LastName

string

None.

Email

string

None.

YearLevel

integer

None.

RoleName

string

None.

ProfileImageThumbnail

Collection of byte

None.

IsMyFavourite

boolean

None.

IsInvited

boolean

None.

IsJoined

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "sample string 1",
    "FirstName": "sample string 2",
    "LastName": "sample string 3",
    "Email": "sample string 4",
    "YearLevel": 5,
    "RoleName": "sample string 6",
    "ProfileImageThumbnail": "QEA=",
    "IsMyFavourite": true,
    "IsInvited": true,
    "IsJoined": true
  },
  {
    "Id": "sample string 1",
    "FirstName": "sample string 2",
    "LastName": "sample string 3",
    "Email": "sample string 4",
    "YearLevel": 5,
    "RoleName": "sample string 6",
    "ProfileImageThumbnail": "QEA=",
    "IsMyFavourite": true,
    "IsInvited": true,
    "IsJoined": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfLiteUserSearchResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HubApi.Models.Hub.Api">
  <LiteUserSearchResult>
    <Email>sample string 4</Email>
    <FirstName>sample string 2</FirstName>
    <Id>sample string 1</Id>
    <IsInvited>true</IsInvited>
    <IsJoined>true</IsJoined>
    <IsMyFavourite>true</IsMyFavourite>
    <LastName>sample string 3</LastName>
    <ProfileImageThumbnail>QEA=</ProfileImageThumbnail>
    <RoleName>sample string 6</RoleName>
    <YearLevel>5</YearLevel>
  </LiteUserSearchResult>
  <LiteUserSearchResult>
    <Email>sample string 4</Email>
    <FirstName>sample string 2</FirstName>
    <Id>sample string 1</Id>
    <IsInvited>true</IsInvited>
    <IsJoined>true</IsJoined>
    <IsMyFavourite>true</IsMyFavourite>
    <LastName>sample string 3</LastName>
    <ProfileImageThumbnail>QEA=</ProfileImageThumbnail>
    <RoleName>sample string 6</RoleName>
    <YearLevel>5</YearLevel>
  </LiteUserSearchResult>
</ArrayOfLiteUserSearchResult>