You are here: Ektron Namespace > Web Services API > Ektron.Services Namespace > Classes > ThreadedDiscussion Class > ThreadedDiscussion Methods > AddTopic Method > AddTopic
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
ThreadedDiscussion.AddTopic Method (long, string, string, int)

Overloaded method to add a topic based on a forum ID and language. Accepts title and topic starting message. Returns a numeric Topic ID (Long). 

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

~/Workarea/webservices/WebServiceAPI/Content/ThreadedDiscussion.asmx
C#
[SoapHeader("AuthHeader")]
[SoapHeader("RequestInfoHeader")]
[WebMethod(MessageName = "AddTopic With Language ID", Description = "")]
public long AddTopic(long ForumID, string Title, string Message, int LanguageId);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "AddTopic With Language ID", Description = "")>
Public Function AddTopic(ForumID As long, Title As string, Message As string, LanguageId As Integer) As long
Parameters 
Description 
ForumID 
The numeric ID of the forum to add topic to. 
Title 
String value of the topic title. 
Message 
String value of the topic message. 
LanguageId 
The numeric ID of the Language ID. 

Returns a numeric value for the topic ID (Long).

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!