Delete

Build 1501 on 14/Nov/2017  This topic last edited on: 10/Oct/2014, at 16:53

 VERSION 2.1 OR NEWER 

Description

Delete Kentico objects (i.e. when unpublishing). REST.

Syntax

http://localhost/GNWeb/webdo.ashx?cmd=delete

Parameters

string siteName

bool deleteParentNodeIfEmpty,

XmlDocument (POST)

Return

dataSet

 

http://localhost/GNWeb/webdo.ashx?cmd=delete

parameters: string siteName, bool deleteParentNodeIfEmpty, XmlDocument (POST)

return: dataSet

 

 VERSION 2.0 OR OLDER

Description

Delete Kentico objects (i.e. when unpublishing). SOAP.

Syntax

DataSet res = Delete(string siteName, XmlElement xmldata, bool deleteParentNodeIfEmpty)

Parameters

siteName = Kentico site name where to delete objects

xmldata = description of the element to delete

deleteParentNodeIfEmpty = if the last child is remove, delete also parent when true

res = table with error messages

Example

<gn3>

  <tera.gn3article>

    <GN3EditorialKey>GN4_ART_3745</GN3EditorialKey>

  </tera.gn3article>

</gn3>