AddContent

Endpoint URL https://www.yournetosite.com.au/do/WS/NetoAPI
Method POST
XML Headers
NETOAPI_ACTION AddContent
NETOAPI_USERNAME Your Neto Username (generate this in your Neto control panel)
NETOAPI_KEY Your Neto API Secure Key (generate this in your Neto control panel)
JSON Headers
NETOAPI_ACTION AddContent
NETOAPI_USERNAME Your Neto Username (generate this in your Neto control panel)
NETOAPI_KEY Your Neto API Secure Key (generate this in your Neto control panel)
Accept application/json
Description Use this call to add a new content page.
XSD Schema AddContent XSD   |   AddContent Response XSD

AddContent Post

You must specify at least one filter and one OutputSelector in your AddContent request. These will determine the results returned.

XML POST

<?xml version="1.0" encoding="utf-8"?>
<AddContent>
   <Content> 
    <ContentName>(String)</ContentName>    
    <ContentType>(String)</ContentType>    
    <ContentReference>(String)</ContentReference>    
    <ShortDescription1>(String)</ShortDescription1>    
    <ShortDescription2>(String)</ShortDescription2>    
    <ShortDescription3>(String)</ShortDescription3>    
    <Description1>(String)</Description1>    
    <Description2>(String)</Description2>    
    <Description3>(String)</Description3>    
    <HeaderTemplate>(String)</HeaderTemplate>    
    <BodyTemplate>(String)</BodyTemplate>    
    <FooterTemplate>(String)</FooterTemplate>    
    <SearchResultsTemplate>(String)</SearchResultsTemplate>    
    <SearchKeywords>(String)</SearchKeywords>    
    <Author>(String)</Author>    
    <Label1>(String)</Label1>    
    <Label2>(String)</Label2>    
    <Label3>(String)</Label3>    
    <SEOMetaDescription>(String)</SEOMetaDescription>    
    <SEOMetaKeywords>(String)</SEOMetaKeywords>    
    <SEOPageHeading>(String)</SEOPageHeading>    
    <SEOPageTitle>(String)</SEOPageTitle>    
    <SEOCanonicalURL>(String)</SEOCanonicalURL>    
    <ContentURL>(String)</ContentURL>    
    <AutomaticURL>(Boolean)</AutomaticURL>    
    <ParentContentID>(Integer)</ParentContentID>    
    <SortOrder>(Integer)</SortOrder>    
    <Active>(Boolean)</Active>    
    <OnSiteMap>(Boolean)</OnSiteMap>    
    <OnMenu>(Boolean)</OnMenu>    
    <AllowReviews>(Boolean)</AllowReviews>    
    <RequireLogin>(Boolean)</RequireLogin>    
     <RelatedContents> 
       <RelatedContent> 
        <ContentID>(Integer)</ContentID>        
       </RelatedContent>      
     </RelatedContents>    <DatePosted>(DateTime)</DatePosted>    
   </Content>  

</AddContent>

JSON POST

{
  "Content": [ {
    "ContentName":"String",
    "ContentType":"String",
    "ContentReference":"String",
    "ShortDescription1":"String",
    "ShortDescription2":"String",
    "ShortDescription3":"String",
    "Description1":"String",
    "Description2":"String",
    "Description3":"String",
    "HeaderTemplate":"String",
    "BodyTemplate":"String",
    "FooterTemplate":"String",
    "SearchResultsTemplate":"String",
    "SearchKeywords":"String",
    "Author":"String",
    "Label1":"String",
    "Label2":"String",
    "Label3":"String",
    "SEOMetaDescription":"String",
    "SEOMetaKeywords":"String",
    "SEOPageHeading":"String",
    "SEOPageTitle":"String",
    "SEOCanonicalURL":"String",
    "ContentURL":"String",
    "AutomaticURL":"Boolean",
    "ParentContentID":"Integer",
    "SortOrder":"Integer",
    "Active":"Boolean",
    "OnSiteMap":"Boolean",
    "OnMenu":"Boolean",
    "AllowReviews":"Boolean",
    "RequireLogin":"Boolean",
    "RelatedContents": {
      "RelatedContent": [ {
        "ContentID":"Integer" 
} ]  
} ,    "DatePosted":"DateTime" 
} ] 
}

<Content>

Element Name Required Field Type / Options
ContentName Required String(100)
ContentType Required String(100)
ContentReference Optional String(50)
ShortDescription1 Optional String(255)
ShortDescription2 Optional String(255)
ShortDescription3 Optional String(255)
Description1 Optional String(5000)
Description2 Optional String(5000)
Description3 Optional String(5000)
HeaderTemplate Optional String(50)
BodyTemplate Optional String(50)
FooterTemplate Optional String(50)
SearchResultsTemplate Optional String(5000)
SearchKeywords Optional String(5000)
Author Optional String(50)
Label1 Optional String(50)
Label2 Optional String(50)
Label3 Optional String(50)
SEOMetaDescription Optional String(320)
SEOMetaKeywords Optional String(255)
SEOPageHeading Optional String(100)
SEOPageTitle Optional String(100)
SEOCanonicalURL Optional String(2083)
ContentURL Optional String(255)
AutomaticURL Optional Boolean(True, False)
ParentContentID Optional Integer
SortOrder Optional Integer
Active Optional Boolean(True, False)
OnSiteMap Optional Boolean(True, False)
OnMenu Optional Boolean(True, False)
AllowReviews Optional Boolean(True, False)
RequireLogin Optional Boolean(True, False)
RelatedContents Optional RelatedContentsType
DatePosted Optional DateTime

<RelatedContents>

Element Name Required Field Type / Options
RelatedContent Optional
Supports Multiple Elements
RelatedContentType

<RelatedContent>

Element Name Required Field Type / Options
ContentID Optional Integer

AddContent Responses

XML Response

<?xml version="1.0" encoding="utf-8"?>
<AddContent>
   <Content> 
    <ContentID>(Integer)</ContentID>    
   </Content>  
   <Messages> 
     <Error> 
      <Message>(String)</Message>      
      <SeverityCode>(String)</SeverityCode>      
      <Description>(String)</Description>      
     </Error>    
     <Warning> 
      <Message>(String)</Message>      
      <SeverityCode>(String)</SeverityCode>      
     </Warning>    
   </Messages>
</AddContent>

JSON Response

{
  "Content": [ {
    "ContentID":"Integer" 
} ] ,  "Messages": {
    "Error": [ {
      "Message":"String",
      "SeverityCode":"String",
      "Description":"String" 
} ] ,    "Warning": [ {
      "Message":"String",
      "SeverityCode":"String" 
} ]  
} 
}

<Content>

Element Name Field Type
ContentID Integer

<Messages>

Element Name Field Type
Error ErrorType
Warning WarningType

<Error>

Element Name Field Type
Message String
SeverityCode String
Description String

<Warning>

Element Name Field Type
Message String
SeverityCode String

If you are a vendor creating an integration with Neto by Maropost, we would like to hear from you!

Contact Us

Was this article useful?

Be notified when this page is updated. Optional.