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

Gets a blog post for a given ID. Will also return the post information separately (ByRef) in a BlogPostData class. Returns ContentData Class. 

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

~/Workarea/webservices/WebServiceAPI/Content/Blog.asmx
C#
[SoapHeader("AuthHeader")]
[SoapHeader("RequestInfoHeader")]
[WebMethod(MessageName = "GetPost", Description = "")]
public ContentData GetPost(long post_id, BlogPostData PostInfo);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "GetPost", Description = "")>
Public Function GetPost(post_id As long, PostInfo As BlogPostData) As ContentData
Parameters 
Description 
post_id 
The numeric ID for the post. 
PostInfo 
BlogPostData class representing the blog specific post info. This is also in the metadata. 

ContentData class with a ByRef BlogPostData

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!