WEBCentralizedShoppingCartGiftGetGiftProductListByName

Initial Build

2008.01

xWEB

Web Method

Response Type

XML results

This method returns a list of gift products available for sale online, filtered by the gift name value passed in. The method will search for the Fund Name and Fund Code of the Fund. The value of <prc_key> is used later on to set parameter values for other methods.

See WEBCentralizedShoppingCartGiftGetGiftProductList for more on the return values of this method.

Parameters

GiftName (String). The results will be only included gifts with this value in the name.

Response

Xml (XML Node). A list of gifts where the name of the gift includes the gift name value passed. The list will include the price, code, name, description, and product type.

Sample Request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.avectra.com/2005/">
<soapenv:Header>
<ns:AuthorizationToken>
<ns:Token>*******************</ns:Token>
</ns:AuthorizationToken>
</soapenv:Header>
<soapenv:Body>
<ns:WEBCentralizedShoppingCartGiftGetGiftProductListByName>
<ns:GiftName>ABC</ns:GiftName>
</ns:WEBCentralizedShoppingCartGiftGetGiftProductListByName>
</soapenv:Body>
</soapenv:Envelope>

Sample Response

<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>******************</Token>
</AuthorizationToken>
</soap:Header>
<soap:Body>
<WEBCentralizedShoppingCartGiftGetGiftProductListByNameResponse xmlns="http://www.avectra.com/2005/">
<WEBCentralizedShoppingCartGiftGetGiftProductListByNameResult>
<Results recordReturn="2">
<Result>
<prc_key>40eb9ce2-4d81-433c-ae7b-0ed5f07e5ebe</prc_key>
<prc_price>101</prc_price>
<prd_key>99476384-3d99-414a-b9dd-01480e657e10</prd_key>
<prd_code>ABCGF</prd_code>
<prd_description>The longer description of the Fund</prd_description>
<Name>ABC General Fund-ABCGF/ABC Capital Campaign</Name>
<ptp_code>Fundraising</ptp_code>
</Result>
<Result>
<prc_key>ded1e569-4a91-4b5d-ba79-effb9f48dee1</prc_key>
<prc_price>50</prc_price>
<prd_key>99476384-3d99-414a-b9dd-01480e657e10</prd_key>
<prd_code>ABCGF</prd_code>
<prd_description>The longer description of the Fund</prd_description>
<Name>ABCGeneral Fund-ABCGF/ABC Capital Campaign</Name>
<ptp_code>Fundraising</ptp_code>
</Result>
</Results>
</WEBCentralizedShoppingCartGiftGetGiftProductListByNameResult>
</WEBCentralizedShoppingCartGiftGetGiftProductListByNameResponse>
</soap:Body>
</soap:Envelope>