|
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:
<Message Message_ID="6" Date_Created="2004-08-09T10:18:00">
<Topic_ID>3</Topic_ID>
<Source_Identifier>jack</Source_Identifier>
<Author>Jack Smith</Author>
<Subject>New Demo Forum Message</Subject>
<Body>The entire Body of our forum message would go here.</Body>
</Message>
To create a new Forum Message record, please provide a unique identifier as the value of the
Message_ID attribute. The easiest way of obtaining a unique identifier is by
calling the GetNewMessageID SOAP method.
If an existing Message record's identifier is provided as the value of the
Message_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 Forum Message record from the system, the XML string must consist of only the root element and the
Message_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:
<Message Message_ID="17" />
|