0byt3m1n1
Path:
/
data
/
applications
/
aps
/
magento
/
1.7.0.2-6
/
standard
/
htdocs
/
app
/
code
/
core
/
Mage
/
GiftMessage
/
etc
/
[
Home
]
File: api.xml
<?xml version="1.0"?> <!-- /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE_AFL.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@magentocommerce.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade Magento to newer * versions in the future. If you wish to customize Magento for your * needs please refer to http://www.magentocommerce.com for more information. * * @category Mage * @package Mage_GiftMessage * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com) * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ --> <config> <api> <resources> <giftmessage translate="title" module="giftmessage"> <model>giftmessage/api</model> <title>Gift Message API</title> <acl>giftmessage/set</acl> <methods> <setForQuote translate="title" module="giftmessage"> <title>Add gift message for shopping cart</title> <method>setForQuote</method> <acl>giftmessage/set</acl> </setForQuote> <setForQuoteItem translate="title" module="giftmessage"> <title>Add gift messages for quote item of shopping cart</title> <method>setForQuoteItem</method> <acl>giftmessage/set</acl> </setForQuoteItem> <setForQuoteProduct translate="title" module="giftmessage"> <title>Add gift messages to products of shopping cart</title> <method>setForQuoteProduct</method> <acl>giftmessage/set</acl> </setForQuoteProduct> </methods> <faults module="giftmessage"> <store_not_exists> <code>1001</code> <message>Can not make operation because store is not exists</message> </store_not_exists> <quote_not_exists> <code>1002</code> <message>Can not make operation because quote is not exists</message> </quote_not_exists> <giftmessage_invalid_data> <code>1101</code> <message>Gift message data is not valid.</message> </giftmessage_invalid_data> <product_invalid_data> <code>1102</code> <message>Product's data is not valid.</message> </product_invalid_data> <quote_item_not_exists> <code>1103</code> <message>Quote item is not exists</message> </quote_item_not_exists> </faults> </giftmessage> </resources> <acl> <resources> <giftmessage translate="title" module="checkout"> <title>Gift Message</title> <set translate="title" module="checkout"> <title>Add gift messages to shopping cart</title> </set> </giftmessage> </resources> </acl> <v2> <resources_function_prefix> <giftmessage>giftMessage</giftmessage> </resources_function_prefix> </v2> </api> </config>