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

Get Content By ID. 

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

~/Workarea/webservices/WebServiceAPI/Content/Content.asmx
C#
[SoapHeader("AuthHeader")]
[SoapHeader("RequestInfoHeader")]
[WebMethod(MessageName = "GetContent", Description = "Gets the content details by content id")]
public ContentData GetContent(long ContentID, Ektron.Cms.Content.EkContent.ContentResultType ResultType);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "GetContent", Description = "Gets the content details by content id")>
Public Function GetContent(ContentID As long, ResultType As Ektron.Cms.Content.EkContent.ContentResultType) As ContentData
Parameters 
Description 
ContentID 
The content's numeric ID. 
Preview 
Preview 
Published 
Is Published 
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!