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

Overloaded Method to obtain a BlogData Class. Accepts the numeric ID of the blog, the StartDate (as DateTime) for the posts, the number of posts visible and the language ID. Returns either a populated BlogData class or null (nothing). 

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

~/Workarea/webservices/WebServiceAPI/Content/Blog.asmx

This function is overloaded. See Also: 

GetBlogData (FolderData) 

GetBlogData (Long) 

GetBlogData (Long, DateTime)  

C#
[SoapHeader("AuthHeader")]
[SoapHeader("RequestInfoHeader")]
[WebMethod(MessageName = "GetBlogData by ID, StartDate, PostsVisible and LanguageID", Description = "")]
public BlogData GetBlogData(long BlogID, DateTime StartDate, int Postsvisible, int LanguageID);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "GetBlogData by ID, StartDate, PostsVisible and LanguageID", Description = "")>
Public Function GetBlogData(BlogID As long, StartDate As DateTime, Postsvisible As Integer, LanguageID As Integer) As BlogData
Parameters 
Description 
BlogID 
Numeric ID of the blog. This corresponds to the ID of the blog folder. 
StartDate 
The DateTime value to get posts from. You can obtain historical posts with this property, or leave it blank to begin now. 
Postsvisible 
The number of posts to return. Leave as 0 to use the blog setting, or -1 to return none. 
LanguageID 
Numeric ID of the language. 

Either a populated BlogData class or null (nothing).

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!