4.3 ww.dll API Reference : API descriptions : Functions with database access : getrsitems
 
getrsitems
 
Description
In Reserved Seating, getrsitems only has a holdnumber parameter and can only be called after assignrsitems has been called at least once for that HoldNumber. getrsitems also calculates all pricing based on the actual seats held. It returns information just like getitem, although quantity is included in the return set (in the <qty> tag) for each item and also a <seating> tag contains the information that is to be passed to sales in the processsale call.
 
Input fields
 
XML tag
Description
<holdnumber>
 
<fields>
Optional
 
Example invocation:
<func>getrsitems</func><holdnumber>1</holdnumber>
 
This can also accept seating information for seats which haven't been assigned yet.
 
<func>getitem</func><department>TEST</department><category>RESSEAT</category><item>CHILD
</item><calcprice>1</calcprice><qty>1</qty><seating><seat0><HOLDNUMBER>1</HOLDNUMBER
><ISAISLE></ISAISLE><ISHANDICAP></ISHANDICAP><ISMEMBONLY></ISMEMBONLY><LEVEL
DESCRIP>Orchestra</LEVELDESCRIP><LEVELID>1</LEVELID><OBSTRUCTED></OBSTRUCTED>
<PERFORMER>Original Broadway Cast</PERFORMER><PRODDESCRIP>Les
Miserables</PRODDESCRIP><ROW>A</ROW><SEATID>3</SEATID><SEATLABEL>5</SEATLABE
L><SEATNUMBER>3</SEATNUMBER><SECTIONDESCRIP>Left (Odd)
</SECTIONDESCRIP><SECTIONID>1</SECTIONID><SERIESDESCRIP></SERIESDESCRIP><SERI
ESID></SERIESID><SHOWDESCRIP>Les Miserables - Fri
Evening</SHOWDESCRIP><SHOWID>1</SHOWID><SHOWTIME>08/19/2011 08:00:00
PM</SHOWTIME></seat0></seating>
 
This reflects the format used by sales internally in order to dynamically price items (sales adds XML information before passing to the dynamic pricing engine). This is also the format returned by the getrsitems call.
 
<func>getrsitems</func><holdnumber>1</holdnumber><item1><item_id>602</item_id><qty>4</qty>
</item1><item2><item_id>603</item_id><qty>6</qty></item2>
 
Example return string:
a=objT.invoke
 
See also
Assignrsitems
getitem