Command to get product ledger entries and their filter cycles and currencies.
<mbapi> <command><!-- string --></command> <showXMLHeader><!-- boolean --></showXMLHeader> <params> <shoppingSessionID><!-- string --></shoppingSessionID> <clientID><!-- int --></clientID> <clientContactID><!-- int --></clientContactID> <shoppingSessionURL><!-- string --></shoppingSessionURL> <orderFormID><!-- int --></orderFormID> <shoppingSessionTimestamp><!-- int --></shoppingSessionTimestamp> <shoppingSessionTimestampGreaterThan><!-- int --></shoppingSessionTimestampGreaterThan> <shoppingSessionTimestampLessThan><!-- int --></shoppingSessionTimestampLessThan> <shoppingSessionTimestampGreatest><!-- int --></shoppingSessionTimestampGreatest> <shoppingSessionTimestampLeast><!-- int --></shoppingSessionTimestampLeast> <shoppingSessionIP><!-- int --></shoppingSessionIP> <shoppingSessionIPGreaterThan><!-- int --></shoppingSessionIPGreaterThan> <shoppingSessionIPLessThan><!-- int --></shoppingSessionIPLessThan> <shoppingSessionIPGreatest><!-- int --></shoppingSessionIPGreatest> <shoppingSessionIPLeast><!-- int --></shoppingSessionIPLeast> </params> </mbapi>
<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> <shoppingSessions> <shoppingSession> <shoppingSessionID><!-- string --></shoppingSessionID> <clientID><!-- int --></clientID> <shoppingSessionURL><!-- string --></shoppingSessionURL> <orderFormID><!-- int --></orderFormID> <shoppingSessionTimestamp><!-- int --></shoppingSessionTimestamp> <shoppingSessionIP><!-- int --></shoppingSessionIP> </shoppingSession> </shoppingSessions> </results> </mbapi>
mbapi
MBAPI request document root.
command
Required. The string GetShoppingSessions.
showXMLHeader
Whether to show an XML header in the results.
params
GetShoppingSessions parameters.
shoppingSessionID
Shopping session id, if you only want one result.
clientID
Client id, if you want to search by that. null = not logged in
clientContactID
Client Contact id, if you want to search by that
shoppingSessionURL
Shopping Session URL, this is the url they visited last.
orderFormID
Order Form id, this is the order form of the shopping session.
shoppingSessionTimestamp
Shopping Session Timestamp, the last update time of this session.
shoppingSessionTimestampGreaterThan
Shopping Session Timestamp to be greater than.
shoppingSessionTimestampLessThan
Shopping Session Timestamp to be less than.
shoppingSessionTimestampGreatest
Shopping Session Timestamp to be less than or equal to.
shoppingSessionTimestampLeast
Shopping Session Timestamp to be greater than or equal to.
shoppingSessionIP
Shopping Session IP, the last update time of this session.
shoppingSessionIPGreaterThan
Shopping Session IP to be greater than.
shoppingSessionIPLessThan
Shopping Session IP to be less than.
shoppingSessionIPGreatest
Shopping Session IP to be less than or equal to.
shoppingSessionIPLeast
Shopping Session IP to be greater than or equal to.
mbapi
MBAPI response document root.
header
Contains result meta data: data about the result itself.
remoteSessionID
A session ID that may be used for authentication instead of a remote access hash.
errorCount
The number of errors that occured.
errors
Contains any errors that occured.
error
Contains information relating to a single error. Occurs header errorCount times.
title
The title of the error.
message
The error message.
numResults
The number of results that have been returned. For Get commands.
numAffectedRows
The number of rows that have been affected. For Set commands.
results
shoppingSessions
shoppingSession
shoppingSessionID
Shopping session id.
clientID
Client id, if null they are not logged in.
shoppingSessionURL
Shopping Session URL, this is the url they visited last.
orderFormID
Order Form id, this is the order form of the shopping session.
shoppingSessionTimestamp
Shopping Session Timestamp.
shoppingSessionIP
Shopping Session IP.