WEBCentralizedShoppingCartGiftGetGiftProductList

Initial Build

2008.01

xWEB

Web Method

Response Type

XML results

This method returns a list of gift products which are currently configured for sale online.

In order to appear in the list, the Fund must have a default campaign and the Fund Fee and Price(s) must be marked to show online.

In the response, the value of the <prc_key> element is the critical value that will be passed into other web methods as a parameter. The <prc_price> is the default donation amount, although in most Fundraising applications the interface will prompt the donor to enter a particular donation amount. There might be several suggested amounts ($25, $50, $100, etc.) with an other amount where the user may enter their own amount. Whatever the ultimate donation amount is, you will pass that value in the Fee.overrideamount property in the FeeCollection that you pass in one of the other Fundraising web methods.

Be aware that in many netFORUM systems, the <prc_price> may actually be 0.00 because the expectation is that every donation amount can be different and that the amount is entered at the time the gift is entered.

Parameters

This method does not accept any parameters.

Response

Xml (XML Node). A list of gift products, including the price, code, description, name, and product type.

Sample Request

<?xml version="1.0" encoding="utf-8"?>
<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 soap:actor="5d66ef8b-55a5-4f34-848c-ee519d0a9f1f" xmlns="http://www.avectra.com/2005/">
<Token>32b276bb-6a5b-47c6-abca-7839756e745d</Token>
</AuthorizationToken>
</soap:Header>
<soap:Body>
<WEBCentralizedShoppingCartGiftGetGiftProductList xmlns="http://www.avectra.com/2005/" />
</soap:Body>
</soap:Envelope>

Sample Response

<?xml version="1.0" encoding="utf-16"?>
<Results recordReturn="3" xmlns="http://www.avectra.com/2005/">
<Result>
<prc_key>52005483-a6c1-4fe8-bc14-a7678d0ca2f2</prc_key>
<prc_price>5</prc_price>
<prd_key>a1f40972-7029-4be9-99b2-5dc7156177d9</prd_key>
<prd_code>Spring Product</prd_code>
<prd_description />
<Name>Spring Product-Spring Product/Spring Camp</Name>
<ptp_code>Fundraising</ptp_code>
</Result>
<Result>
<prc_key>1ae4f8c8-c594-4c79-ab25-448d2f6f18c4</prc_key>
<prc_price>200</prc_price>
<prd_key>ccd6cca0-1766-4803-964b-792ca8d75c3d</prd_key>
<prd_code>2009 Fund</prd_code>
<prd_description>desc</prd_description>
<Name>2009 Fundraising-2009 Fund/2009 Campaing</Name>
<ptp_code>Fundraising</ptp_code>
</Result>
<Result>
<prc_key>f2dcc358-f42e-4e92-b0e8-5e5ec650b3a7</prc_key>
<prc_price>300</prc_price>
<prd_key>ccd6cca0-1766-4803-964b-792ca8d75c3d</prd_key>
<prd_code>2009 Fund</prd_code>
<prd_description>desc</prd_description>
<Name>2009 Fundraising-2009 Fund/2009 Campaing</Name>
<ptp_code>Fundraising</ptp_code>
</Result>
</Results>