This MBAPI command accesses data pertaining to news articles. By specifying one of the IDs listed below in your input XML, you will greatly limit your results. To get all news, specify no parameters. You can search news articles by date just by providing one of the timestamp fields below. When searching on newsSubject, newsShortBody, and newsBody, those parameters will match any news article that contains the provided strings in those parameters; so searching for a newsSubject of "Computer" would match the news article with the subject "How to Fix Your Computer", and also a news article with the subject "Why Clean Your Computer?". This command returns data about a news article, but also returns data about the article's news group, and data about the administrator who created the article. All of the parameters that this MBAPI command takes into account when filtering results are as follows:
<mbapi> <command><!-- None --></command> <showXMLHeader><!-- None --></showXMLHeader> <params> <newsID><!-- None --></newsID> <newsGroupID><!-- None --></newsGroupID> <clientGroupID><!-- None --></clientGroupID> <adminID><!-- None --></adminID> <companyID><!-- None --></companyID> <newsSubject><!-- None --></newsSubject> <newsShortBody><!-- None --></newsShortBody> <newsBody><!-- None --></newsBody> <newsDateCreatedLessThan><!-- None --></newsDateCreatedLessThan> <newsDateCreated><!-- None --></newsDateCreated> <newsDateCreatedGreaterThan><!-- None --></newsDateCreatedGreaterThan> <newsActive><!-- None --></newsActive> <newsPriority><!-- None --></newsPriority> <sortDir><!-- None --></sortDir> <sortColumn><!-- None --></sortColumn> <recordOffset><!-- None --></recordOffset> <numRecords><!-- None --></numRecords> </params> </mbapi>
None
mbapi
command
showXMLHeader
params
newsID
newsGroupID
clientGroupID
adminID
companyID
newsSubject
newsShortBody
newsBody
newsDateCreatedLessThan
newsDateCreated
newsDateCreatedGreaterThan
newsActive
newsPriority
sortDir
sortColumn
recordOffset
numRecords