Class FavoriteWS
- Namespace
- PHCWS
- Assembly
- PHCWS.dll
Internal Documents services (BoVO).
[WebService(Namespace = "http://www.phcgo.net/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[DesignerGenerated]
public class FavoriteWS : PHCTypedWS<FavoriteVO>, IComponent, IDisposable, IServiceProvider
- Inheritance
-
FavoriteWS
Methods
createFavorite(string)
creates a favorite for the currentUser
[WebMethod]
public PHCResult createFavorite(string location)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
location |
string |
Returns
getCurrentUserFavorites()
returns current user favorites
[WebMethod]
public PHCResult getCurrentUserFavorites()
Returns
hasLocation(string)
returns if a location is already a favorite
[WebMethod]
public PHCResult hasLocation(string location)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
location |
string |
Returns
removeFavorite(string)
Removes a favorite for the current user
[WebMethod]
public PHCResult removeFavorite(string location)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
location |
string |
Returns
removeFavorites(List<string>)
Removes a list of favorites for the current user
[WebMethod]
public PHCResult removeFavorites(List<string> locations)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
locations |
List<string> |