GetServerGroups

Description

This class is an instantion of the Command class, that executes a command pertaining to fetching server group information, in the default case from the database. Server groups are groups of panels of the same type that products are provisioned to. This class should only be instantiated by dispatchMBAPI() found in include/mbapi/mbapi.php. Something similar to the following XML should be passed to dispatchMBAPI() when you want to call the GetServerGroups command:

Attributes

package
modernbill
subpackage
mbapi
version
0.1
author
Andy Chirst

Example Request

	<mbapi>
		<command><!-- None --></command>
		<showXMLHeader><!-- None --></showXMLHeader>
		<params>
			<serverGroupID><!-- int --></serverGroupID>
			<serverGroupName><!-- string --></serverGroupName>
			<serverGroupFillType><!-- int --></serverGroupFillType>
			<getPanels><!-- int --></getPanels>
			<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
serverGroupID
Type
int
Description

The ID of the server group to fetch. This will always select at most 1 group.

serverGroupName
Type
string
Description

The name of the server group to fetch.

serverGroupFillType
Type
int
Description

The server fill rule for this group

getPanels
Type
int
Description

Set to 1 to retieve all data for the panels associated with this group.

sortDir
Type
None
Description
None
sortColumn
Type
None
Description
None
recordOffset
Type
None
Description
None
numRecords
Type
None
Description
None

Response Elements

None