You are here: Ektron Namespace > Web Services API > Ektron.Services Namespace > Classes > Favorites Class > Favorites Methods > MoveContentFavorite
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Favorites.MoveContentFavorite Method

Moves a content favorite to a new favorites directory. 

This method can be accessed through the Favorites.asmx file located in:

~/Workarea/webservices/WebServiceAPI/Community/Favorites.asmx
C#
[SoapHeader("AuthHeader")]
[SoapHeader("RequestInfoHeader")]
[WebMethod(MessageName = "MoveContentFavorite", Description = "Moves a content favorite to a new favorites directory.")]
public void MoveContentFavorite(long contentId, long userId, long directoryId);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "MoveContentFavorite", Description = "Moves a content favorite to a new favorites directory.")>
Public Function MoveContentFavorite(contentId As long, userId As long, directoryId As long) As void
Parameters 
Description 
contentId 
ID of the content item to move. 
userId 
ID of the user. 
directoryId 
ID of the favorite directory where the content is being moved. 
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!