GetNewsGroups

Description

This MBAPI command gets news group information from the database and returns it. Although in most cases news groups won't need to be searched for, searching capability is available. You can get the news group of a news article by passing the newsID element, or you can search for a news group by name, description, or whether or not the group is active. Something similar to the following XML should be passed to dispatchMBAPI() when you want to call the GetNews command:

Attributes

package
modernbill
subpackage
mbapi
version
0.1
author
Vic Fryzel
author
Andy Christ

Example Request

	<mbapi>
		<command><!-- None --></command>
		<showXMLHeader><!-- None --></showXMLHeader>
		<params>
			<newsID><!-- None --></newsID>
			<newsGroupID><!-- None --></newsGroupID>
			<newsGroupName><!-- None --></newsGroupName>
			<newsGroupDescription><!-- None --></newsGroupDescription>
			<newsGroupActive><!-- None --></newsGroupActive>
			<newsGroupOrder><!-- None --></newsGroupOrder>
			<newsGroupName><!-- None --></newsGroupName>
			<newsGroupDescription><!-- None --></newsGroupDescription>
			<newsGroupActive><!-- None --></newsGroupActive>
			<sortDir><!-- None --></sortDir>
			<sortColumn><!-- None --></sortColumn>
			<recordOffset><!-- None --></recordOffset>
			<numRecords><!-- None --></numRecords>
		</params>
	</mbapi>

		

Example Response

None
		

Request Elements

mbapi
Type
None
Description
None
Children
command
Type
None
Description
None
showXMLHeader
Type
None
Description
None
params
Type
None
Description
None
Children
newsID
Type
None
Description
None
newsGroupID
Type
None
Description
None
newsGroupName
Type
None
Description
None
newsGroupDescription
Type
None
Description
None
newsGroupActive
Type
None
Description
None
newsGroupOrder
Type
None
Description
None
newsGroupName
Type
None
Description
None
newsGroupDescription
Type
None
Description
None
newsGroupActive
Type
None
Description
None
sortDir
Type
None
Description
None
sortColumn
Type
None
Description
None
recordOffset
Type
None
Description
None
numRecords
Type
None
Description
None

Response Elements

None