GetShoppingItemsDomains

Description

Command to get product ledger entries and their filter cycles and currencies.

Attributes

Product
modernbill
subProduct
mbapi
version
0.9
author
Kris Bailey

Example Request

	<mbapi>
		<command><!-- string --></command>
		<showXMLHeader><!-- boolean --></showXMLHeader>
		<params>
			<shoppingItemsDomainsRelID><!-- int --></shoppingItemsDomainsRelID>
			<shoppingItemID><!-- int --></shoppingItemID>
			<shoppingItemsDomainsType><!-- int --></shoppingItemsDomainsType>
			<domainID><!-- int --></domainID>
			<domainShoppingItemID><!-- int --></domainShoppingItemID>
		</params>
	</mbapi>

		

Example Response

	<mbapi>
		<header>
			<remoteSessionID><!-- hex --></remoteSessionID>
			<errorCount><!-- int --></errorCount>
			<errors>
				<error>
					<title><!-- string --></title>
					<message><!-- string --></message>
				</error>
			</errors>
			<numResults><!-- int --></numResults>
			<numAffectedRows><!-- int --></numAffectedRows>
		</header>
		<results>
			<shoppingItemsDomains>
				<shoppingItemsDomain>
					<shoppingItemsDomainsRelID><!-- int --></shoppingItemsDomainsRelID>
					<shoppingItemID><!-- int --></shoppingItemID>
					<shoppingItemsDomainsType><!-- int --></shoppingItemsDomainsType>
					<domainID><!-- int --></domainID>
					<domainShoppingItemID><!-- int --></domainShoppingItemID>
				</shoppingItemsDomain>
			</shoppingItemsDomains>
		</results>
	</mbapi>

		

Request Elements

mbapi
Type
group
Description

MBAPI request document root.

Children
command
Type
string
Description

Required. The string GetShoppingItemsDomains.

showXMLHeader
Type
boolean
Description

Whether to show an XML header in the results.

params
Type
group
Description

GetShoppingItemsDomains parameters.

Children
shoppingItemsDomainsRelID
Type
int
Description

Shopping Items Domains Rel ID.

shoppingItemID
Type
int
Description

Shopping Item ID, item id that we are relating a domain of some sort to

shoppingItemsDomainsType
Type
int
Description

Shopping items domains type, the type of this domain, ie - 0 = new domain, use domainShoppingItemID to link with a shopping item, 1 = existing domain with this person's account, use domainID to map to existing domain.

domainID
Type
int
Description

Domain ID, the key in the package_domains table of the domain we are linking with.

domainShoppingItemID
Type
int
Description

Domain Shopping Item ID, the shoppingItemID of the domain item we are linking with.

Response Elements

mbapi
Type
group
Description

MBAPI response document root.

Children
header
Type
group
Description

Contains result meta data: data about the result itself.

Children
remoteSessionID
Type
hex
Description

A session ID that may be used for authentication instead of a remote access hash.

errorCount
Type
int
Description

The number of errors that occured.

errors
Type
group
Description

Contains any errors that occured.

Children
error
Type
group
Description

Contains information relating to a single error. Occurs header errorCount times.

Children
title
Type
string
Description

The title of the error.

message
Type
string
Description

The error message.

numResults
Type
int
Description

The number of results that have been returned. For Get commands.

numAffectedRows
Type
int
Description

The number of rows that have been affected. For Set commands.

results
Type
None
Description
None
Children
shoppingItemsDomains
Type
None
Description
None
Children
shoppingItemsDomain
Type
None
Description
None
Children
shoppingItemsDomainsRelID
Type
int
Description

Shopping Items Domains Rel ID.

shoppingItemID
Type
int
Description

Shopping Item ID, item id that we are relating a domain of some sort to

shoppingItemsDomainsType
Type
int
Description

Shopping items domains type, the type of this domain, ie - 0 = new domain, use domainShoppingItemID to link with a shopping item, 1 = existing domain with this person's account, use domainID to map to existing domain.

domainID
Type
int
Description

Domain ID, the key in the package_domains table of the domain we are linking with.

domainShoppingItemID
Type
int
Description

Domain Shopping Item ID, the shoppingItemID of the domain item we are linking with.