WEBCentralizedShoppingCartAddEventRegistrant
Initial Build |
2008.01 |
xWEB |
Web Method |
Response Type |
CentralizedOrderEntryType |
This method can be used to add a registrant to the shopping cart.
See XWeb Event Registration for a complete walk-through of how to create an Event Registration in xWeb.
Parameters
The request contains the following required parameters:
Name | Type | Occurs | Description |
---|---|---|---|
oCentralizedOrderEntry | CentralizedOrderEntryType | 0(R)..1 | The active shopping cart object. |
oRegistration | EventsRegistrantType | 0(R)..1 | The event registrant. |
Response
CentralizedOrderEntryType
This method returns the Shopping Cart object with the Registrant added to the cart's Registrant Collection.
Exception: No line items selected
If you try to add the EventRegistrantType to the CentralizedOrderEntry type without any Fees then you'll get this exception. You first must add one or more Fees by calling WEBCentralizedShoppingCartEventRegistrantSetLineItems.
Sample Request
<WEBCentralizedShoppingCartAddEventRegistrant xmlns="http://www.avectra.com/2005/">
<oCentralizedOrderEntry>
[[Shopping Cart Object]]
</oCentralizedOrderEntry>
<oRegistration>
[[Registration Object]]
</oRegistration>
</WEBCentralizedShoppingCartAddEventRegistrant>
See also: WEBCentralizedShoppingCartAddEventRegistrant.
Sample Response
<WEBCentralizedShoppingCartAddEventRegistrantResponse>
<WEBCentralizedShoppingCartAddEventRegistrantResult>
<CentralizedOrderEntryType>
[[Shopping Cart Object]]
</CentralizedOrderEntryType>
</WEBCentralizedShoppingCartAddEventRegistrantResult>
</WEBCentralizedShoppingCartAddEventRegistrantResponse>