|
strXML - XML String, representing the News Article record to be added, updated or deleted. To view the
validating XSD Schema, please click here (opens in a new
window). An example is provided here (opens in a new window)
or below:
<Article Article_ID="6" Date_Created="2004-08-09T10:18:00">
<Source_Identifier>jack</Source_Identifier>
<Author>Jack Smith</Author>
<Title>New Demo News Article</Title>
<URL>http://www.demosite.com/news/6.aspx</URL>
<Introduction>Our demo news article's Introduction
would go here.</Introduction>
<Body>The entire Body of our news article would go here.</Body>
</Article>
To create a new News Article record, please provide a unique identifier as the value of the
Article_ID attribute. The easiest way of obtaining a unique identifier is by
calling the GetNewArticleID SOAP method.
If an existing Article record's identifier is provided as the value of the
Article_ID attribute, an update of that record will be performed by the system,
as long as any of the child elements are also included in the XML string.
To delete a News Article record from the system, the XML string must consist of only the root element and the
Article_ID attribute, with the identifier of the record to be deleted as the
attribute's value. Do not provide any of the root node's child elements. An example is provided
below:
<Article Article_ID="17" />
|