WEBCentralizedShoppingCartEventRegistrantSetLineItemsWithCart
Initial Build |
2008.01 |
xWeb |
xWeb Method |
Response Type |
object |
This method is used to add and remove Event Registration Fees for an Event Registrant. This method should be called if the registration object has already been added to Centralized Order Entry. If fees need to be added/removed before the Registrant has been added to the cart use WEBCentralizedShoppingCartEventRegistrantSetLineItems
See XWeb Event Registration for a complete walk-through of how to create an Event Registration in xWeb.
Parameters
The Request contains the following parameters:
Name | Type | Occurs | Description |
---|---|---|---|
oCentralizedOrderEntry | CentralizedOrderEntryType | 0(R)..1 | The Cart containing the event registration. |
RegistrationKey | guid | 1..1 | the reg_key of the EventsRegistrantType within the cart which should be updated. |
oFeeCollection | Fee | 0..* | An array of fee(s) to be added/removed for this registrant. These can be event, session, and/or track fees. |
Return
A refreshed shopping cart with the provided registration object with the invoice details collection updated to match the provided fee collection. New invoice details will be created for fees to add and existing invoice details will be removed for fees to remove.
Sample Request
Abbreviated for brevity.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.avectra.com/2005/">
<soapenv:Header>
<ns:AuthorizationToken>
<ns:Token>b8f7dc18-92d3-451c-8bba-f68b10db345e</ns:Token>
</ns:AuthorizationToken>
</soapenv:Header>
<soapenv:Body>
<WEBCentralizedShoppingCartEventRegistrantSetLineItemsWithCart xmlns="http://www.avectra.com/2005/">
<oCentralizedOrderEntry>
[[CentralizedOrderEntryType]]
<RegistrationKey>guid</RegistrationKey>
<oFeeCollection />
<Fee>
<prc_key>03B32DEC-20DB-4498-A899-6A689B47358F</prc_key>
<ivd_key>00000000-0000-0000-0000-000000000000</ivd_key>
<qty>1</qty>
<overrideamount>0</overrideamount>
<action>Add</action>
</Fee>
<oFeeCollection />
</WEBCentralizedShoppingCartEventRegistrantSetLineItemsWithCart>
</soapenv:Body>
</soapenv:Envelope>
Sample Response
Shortened for brevity.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Header>
<AuthorizationToken xmlns="http://www.avectra.com/2005/">
<Token>0f81c7f6-b82a-439d-aba2-f28c41933f70</Token>
</AuthorizationToken>
</soap:Header>
<soap:Body>
<WEBCentralizedShoppingCartEventRegistrantSetLineItemsWithCartResponse xmlns="http://www.avectra.com/2005/">
<WEBCentralizedShoppingCartEventRegistrantSetLineItemsWithCartResult>
[[CentralizedOrderEntryType]]
</WEBCentralizedShoppingCartEventRegistrantSetLineItemsWithCartResult>
</WEBCentralizedShoppingCartEventRegistrantSetLineItemsWithCartResponse>
</soap:Body>
</soap:Envelope>