Version Notes
Added firstname and lastname to newsletter subscriber data import.
Download this release
Release Info
| Developer | SK |
| Extension | Rapidmail_RMConnect |
| Version | 1.5.4 |
| Comparing to | |
| See all releases | |
Code changes from version 1.5.3 to 1.5.4
- app/code/community/Rapidmail/RMConnect/Helper/Data.php +25 -25
- app/code/community/Rapidmail/RMConnect/Model/Catalog/Api.php +18 -18
- app/code/community/Rapidmail/RMConnect/Model/Catalog/Api/V2.php +68 -68
- app/code/community/Rapidmail/RMConnect/Model/Newsletter/Api.php +53 -53
- app/code/community/Rapidmail/RMConnect/Model/Newsletter/Api/V2.php +12 -12
- app/code/community/Rapidmail/RMConnect/Model/Version/Api.php +27 -27
- app/code/community/Rapidmail/RMConnect/Model/Version/Api/V2.php +12 -12
- app/code/community/Rapidmail/RMConnect/etc/api.xml +106 -106
- app/code/community/Rapidmail/RMConnect/etc/config.xml +36 -36
- app/code/community/Rapidmail/RMConnect/etc/wsdl.xml +197 -195
- app/etc/modules/Rapidmail_RMConnect.xml +23 -23
- package.xml +21 -77
app/code/community/Rapidmail/RMConnect/Helper/Data.php
CHANGED
|
@@ -1,26 +1,26 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
|
| 3 |
-
/**
|
| 4 |
-
* Data Helper Extension
|
| 5 |
-
*
|
| 6 |
-
* @category Rapidmail
|
| 7 |
-
* @package Rapidmail_RMConnect
|
| 8 |
-
*/
|
| 9 |
-
class Rapidmail_RMConnect_Helper_Data extends Mage_Core_Helper_Abstract {
|
| 10 |
-
|
| 11 |
-
/**
|
| 12 |
-
* Get magento shop version info
|
| 13 |
-
*
|
| 14 |
-
* @return array
|
| 15 |
-
*/
|
| 16 |
-
public function getShopVersion() {
|
| 17 |
-
|
| 18 |
-
return array(
|
| 19 |
-
'shop_version' => Mage::getVersion(),
|
| 20 |
-
'shop_edition' => Mage::getEdition(),
|
| 21 |
-
'extension_version' => (string)Mage::getConfig()->getModuleConfig('Rapidmail_RMConnect')->version
|
| 22 |
-
);
|
| 23 |
-
|
| 24 |
-
}
|
| 25 |
-
|
| 26 |
}
|
| 1 |
+
<?php
|
| 2 |
+
|
| 3 |
+
/**
|
| 4 |
+
* Data Helper Extension
|
| 5 |
+
*
|
| 6 |
+
* @category Rapidmail
|
| 7 |
+
* @package Rapidmail_RMConnect
|
| 8 |
+
*/
|
| 9 |
+
class Rapidmail_RMConnect_Helper_Data extends Mage_Core_Helper_Abstract {
|
| 10 |
+
|
| 11 |
+
/**
|
| 12 |
+
* Get magento shop version info
|
| 13 |
+
*
|
| 14 |
+
* @return array
|
| 15 |
+
*/
|
| 16 |
+
public function getShopVersion() {
|
| 17 |
+
|
| 18 |
+
return array(
|
| 19 |
+
'shop_version' => Mage::getVersion(),
|
| 20 |
+
'shop_edition' => Mage::getEdition(),
|
| 21 |
+
'extension_version' => (string)Mage::getConfig()->getModuleConfig('Rapidmail_RMConnect')->version
|
| 22 |
+
);
|
| 23 |
+
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
}
|
app/code/community/Rapidmail/RMConnect/Model/Catalog/Api.php
CHANGED
|
@@ -1,18 +1,18 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
|
| 3 |
-
/**
|
| 4 |
-
* Catalog API Extension
|
| 5 |
-
*
|
| 6 |
-
* @category Rapidmail
|
| 7 |
-
* @package Rapidmail_RMConnect
|
| 8 |
-
*/
|
| 9 |
-
|
| 10 |
-
class Rapidmail_RMConnect_Model_Catalog_Api extends Mage_Api_Model_Resource_Abstract
|
| 11 |
-
{
|
| 12 |
-
public function productList()
|
| 13 |
-
{
|
| 14 |
-
}
|
| 15 |
-
|
| 16 |
-
}
|
| 17 |
-
|
| 18 |
-
?>
|
| 1 |
+
<?php
|
| 2 |
+
|
| 3 |
+
/**
|
| 4 |
+
* Catalog API Extension
|
| 5 |
+
*
|
| 6 |
+
* @category Rapidmail
|
| 7 |
+
* @package Rapidmail_RMConnect
|
| 8 |
+
*/
|
| 9 |
+
|
| 10 |
+
class Rapidmail_RMConnect_Model_Catalog_Api extends Mage_Api_Model_Resource_Abstract
|
| 11 |
+
{
|
| 12 |
+
public function productList()
|
| 13 |
+
{
|
| 14 |
+
}
|
| 15 |
+
|
| 16 |
+
}
|
| 17 |
+
|
| 18 |
+
?>
|
app/code/community/Rapidmail/RMConnect/Model/Catalog/Api/V2.php
CHANGED
|
@@ -1,68 +1,68 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
|
| 3 |
-
/**
|
| 4 |
-
* Catalog API Extension
|
| 5 |
-
*
|
| 6 |
-
* @category Rapidmail
|
| 7 |
-
* @package Rapidmail_RMConnect
|
| 8 |
-
*/
|
| 9 |
-
|
| 10 |
-
class Rapidmail_RMConnect_Model_Catalog_Api_V2 extends Mage_Api2_Model_Resource
|
| 11 |
-
{
|
| 12 |
-
|
| 13 |
-
/**
|
| 14 |
-
* Custom product list API method.
|
| 15 |
-
* The custom implementation will:
|
| 16 |
-
* - only load the fields we need
|
| 17 |
-
* - give us a proper URL and image path
|
| 18 |
-
* - prevent memory problems caused by the default implementation due to categories being loaded
|
| 19 |
-
*
|
| 20 |
-
* @return array
|
| 21 |
-
*/
|
| 22 |
-
public function productList() {
|
| 23 |
-
|
| 24 |
-
$collection = Mage::getModel('catalog/product')
|
| 25 |
-
->getCollection()
|
| 26 |
-
->addAttributeToSelect(array(
|
| 27 |
-
'id',
|
| 28 |
-
'sku',
|
| 29 |
-
'name',
|
| 30 |
-
'image',
|
| 31 |
-
'url_path',
|
| 32 |
-
'price',
|
| 33 |
-
'special_price',
|
| 34 |
-
'special_from_date',
|
| 35 |
-
'special_to_date',
|
| 36 |
-
'description',
|
| 37 |
-
'short_description',
|
| 38 |
-
'created_at',
|
| 39 |
-
'updated_at'
|
| 40 |
-
));
|
| 41 |
-
|
| 42 |
-
$result = array();
|
| 43 |
-
|
| 44 |
-
foreach ($collection as $product) {
|
| 45 |
-
|
| 46 |
-
$result[] = array(
|
| 47 |
-
'product_id' => $product->getId(),
|
| 48 |
-
'sku' => $product->getSku(),
|
| 49 |
-
'name' => $product->getName(),
|
| 50 |
-
'image' => $product->getImage() != 'no_selection' ? Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA) . 'catalog/product' . $product->getImage() : '',
|
| 51 |
-
'url_path' => $product->getUrlPath(),
|
| 52 |
-
'price' => $product->getPrice(),
|
| 53 |
-
'special_price' => $product->getSpecialPrice(),
|
| 54 |
-
'special_from_date' => $product->getSpecialFromDate(),
|
| 55 |
-
'special_to_date' => $product->getSpecialToDate(),
|
| 56 |
-
'description' => $product->getDescription(),
|
| 57 |
-
'short_description' => $product->getShortDescription(),
|
| 58 |
-
'created_at' => $product->getCreatedAt(),
|
| 59 |
-
'updated_at' => $product->getUpdatedAt()
|
| 60 |
-
);
|
| 61 |
-
|
| 62 |
-
}
|
| 63 |
-
|
| 64 |
-
return $result;
|
| 65 |
-
|
| 66 |
-
}
|
| 67 |
-
|
| 68 |
-
}
|
| 1 |
+
<?php
|
| 2 |
+
|
| 3 |
+
/**
|
| 4 |
+
* Catalog API Extension
|
| 5 |
+
*
|
| 6 |
+
* @category Rapidmail
|
| 7 |
+
* @package Rapidmail_RMConnect
|
| 8 |
+
*/
|
| 9 |
+
|
| 10 |
+
class Rapidmail_RMConnect_Model_Catalog_Api_V2 extends Mage_Api2_Model_Resource
|
| 11 |
+
{
|
| 12 |
+
|
| 13 |
+
/**
|
| 14 |
+
* Custom product list API method.
|
| 15 |
+
* The custom implementation will:
|
| 16 |
+
* - only load the fields we need
|
| 17 |
+
* - give us a proper URL and image path
|
| 18 |
+
* - prevent memory problems caused by the default implementation due to categories being loaded
|
| 19 |
+
*
|
| 20 |
+
* @return array
|
| 21 |
+
*/
|
| 22 |
+
public function productList() {
|
| 23 |
+
|
| 24 |
+
$collection = Mage::getModel('catalog/product')
|
| 25 |
+
->getCollection()
|
| 26 |
+
->addAttributeToSelect(array(
|
| 27 |
+
'id',
|
| 28 |
+
'sku',
|
| 29 |
+
'name',
|
| 30 |
+
'image',
|
| 31 |
+
'url_path',
|
| 32 |
+
'price',
|
| 33 |
+
'special_price',
|
| 34 |
+
'special_from_date',
|
| 35 |
+
'special_to_date',
|
| 36 |
+
'description',
|
| 37 |
+
'short_description',
|
| 38 |
+
'created_at',
|
| 39 |
+
'updated_at'
|
| 40 |
+
));
|
| 41 |
+
|
| 42 |
+
$result = array();
|
| 43 |
+
|
| 44 |
+
foreach ($collection as $product) {
|
| 45 |
+
|
| 46 |
+
$result[] = array(
|
| 47 |
+
'product_id' => $product->getId(),
|
| 48 |
+
'sku' => $product->getSku(),
|
| 49 |
+
'name' => $product->getName(),
|
| 50 |
+
'image' => $product->getImage() != 'no_selection' ? Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA) . 'catalog/product' . $product->getImage() : '',
|
| 51 |
+
'url_path' => $product->getUrlPath(),
|
| 52 |
+
'price' => $product->getPrice(),
|
| 53 |
+
'special_price' => $product->getSpecialPrice(),
|
| 54 |
+
'special_from_date' => $product->getSpecialFromDate(),
|
| 55 |
+
'special_to_date' => $product->getSpecialToDate(),
|
| 56 |
+
'description' => $product->getDescription(),
|
| 57 |
+
'short_description' => $product->getShortDescription(),
|
| 58 |
+
'created_at' => $product->getCreatedAt(),
|
| 59 |
+
'updated_at' => $product->getUpdatedAt()
|
| 60 |
+
);
|
| 61 |
+
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
+
return $result;
|
| 65 |
+
|
| 66 |
+
}
|
| 67 |
+
|
| 68 |
+
}
|
app/code/community/Rapidmail/RMConnect/Model/Newsletter/Api.php
CHANGED
|
@@ -1,53 +1,53 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
|
| 3 |
-
/**
|
| 4 |
-
* Newsletters subscribers API Extension
|
| 5 |
-
*
|
| 6 |
-
* @category Rapidmail
|
| 7 |
-
* @package Rapidmail_RMConnect
|
| 8 |
-
*/
|
| 9 |
-
|
| 10 |
-
class Rapidmail_RMConnect_Model_Newsletter_Api extends Mage_Api_Model_Resource_Abstract {
|
| 11 |
-
|
| 12 |
-
/**
|
| 13 |
-
* Returns newsletter subscribers
|
| 14 |
-
*
|
| 15 |
-
* @return array
|
| 16 |
-
*/
|
| 17 |
-
public function subscriberList() {
|
| 18 |
-
|
| 19 |
-
return Mage::getModel('newsletter/subscriber')
|
| 20 |
-
->getCollection()
|
| 21 |
-
->addFieldToSelect('*');
|
| 22 |
-
|
| 23 |
-
}
|
| 24 |
-
|
| 25 |
-
/**
|
| 26 |
-
* Changes status of subscriber
|
| 27 |
-
*
|
| 28 |
-
* @param string $email
|
| 29 |
-
* @param int $status
|
| 30 |
-
* @return array
|
| 31 |
-
*/
|
| 32 |
-
public function subscriberUpdateStatus($email, $status) {
|
| 33 |
-
|
| 34 |
-
$subscriber = Mage::getModel('newsletter/subscriber')
|
| 35 |
-
->loadByEmail($email);
|
| 36 |
-
|
| 37 |
-
if (!$subscriber->getId()) {
|
| 38 |
-
$this->_fault('subscriber_not_exists');
|
| 39 |
-
}
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
if (!in_array($status, array(Mage_Newsletter_Model_Subscriber::STATUS_SUBSCRIBED, Mage_Newsletter_Model_Subscriber::STATUS_NOT_ACTIVE, Mage_Newsletter_Model_Subscriber::STATUS_UNSUBSCRIBED, Mage_Newsletter_Model_Subscriber::STATUS_UNCONFIRMED))) {
|
| 43 |
-
$this->_fault('subscriber_invalid_status');
|
| 44 |
-
}
|
| 45 |
-
|
| 46 |
-
try {
|
| 47 |
-
$subscriber->setStatus($status)
|
| 48 |
-
->save();
|
| 49 |
-
} catch (Exception $e) {
|
| 50 |
-
$this->_fault('status_save_failed', $e->getMessage());
|
| 51 |
-
}
|
| 52 |
-
}
|
| 53 |
-
}
|
| 1 |
+
<?php
|
| 2 |
+
|
| 3 |
+
/**
|
| 4 |
+
* Newsletters subscribers API Extension
|
| 5 |
+
*
|
| 6 |
+
* @category Rapidmail
|
| 7 |
+
* @package Rapidmail_RMConnect
|
| 8 |
+
*/
|
| 9 |
+
|
| 10 |
+
class Rapidmail_RMConnect_Model_Newsletter_Api extends Mage_Api_Model_Resource_Abstract {
|
| 11 |
+
|
| 12 |
+
/**
|
| 13 |
+
* Returns newsletter subscribers
|
| 14 |
+
*
|
| 15 |
+
* @return array
|
| 16 |
+
*/
|
| 17 |
+
public function subscriberList() {
|
| 18 |
+
|
| 19 |
+
return Mage::getModel('newsletter/subscriber')
|
| 20 |
+
->getCollection()
|
| 21 |
+
->addFieldToSelect('*');
|
| 22 |
+
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
/**
|
| 26 |
+
* Changes status of subscriber
|
| 27 |
+
*
|
| 28 |
+
* @param string $email
|
| 29 |
+
* @param int $status
|
| 30 |
+
* @return array
|
| 31 |
+
*/
|
| 32 |
+
public function subscriberUpdateStatus($email, $status) {
|
| 33 |
+
|
| 34 |
+
$subscriber = Mage::getModel('newsletter/subscriber')
|
| 35 |
+
->loadByEmail($email);
|
| 36 |
+
|
| 37 |
+
if (!$subscriber->getId()) {
|
| 38 |
+
$this->_fault('subscriber_not_exists');
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
if (!in_array($status, array(Mage_Newsletter_Model_Subscriber::STATUS_SUBSCRIBED, Mage_Newsletter_Model_Subscriber::STATUS_NOT_ACTIVE, Mage_Newsletter_Model_Subscriber::STATUS_UNSUBSCRIBED, Mage_Newsletter_Model_Subscriber::STATUS_UNCONFIRMED))) {
|
| 43 |
+
$this->_fault('subscriber_invalid_status');
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
try {
|
| 47 |
+
$subscriber->setStatus($status)
|
| 48 |
+
->save();
|
| 49 |
+
} catch (Exception $e) {
|
| 50 |
+
$this->_fault('status_save_failed', $e->getMessage());
|
| 51 |
+
}
|
| 52 |
+
}
|
| 53 |
+
}
|
app/code/community/Rapidmail/RMConnect/Model/Newsletter/Api/V2.php
CHANGED
|
@@ -1,12 +1,12 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
|
| 3 |
-
/**
|
| 4 |
-
* Newsletters subscribers API Extension
|
| 5 |
-
*
|
| 6 |
-
* @category Rapidmail
|
| 7 |
-
* @package Rapidmail_RMConnect
|
| 8 |
-
*/
|
| 9 |
-
|
| 10 |
-
class Rapidmail_RMConnect_Model_Newsletter_Api_V2 extends Rapidmail_RMConnect_Model_Newsletter_Api {
|
| 11 |
-
|
| 12 |
-
}
|
| 1 |
+
<?php
|
| 2 |
+
|
| 3 |
+
/**
|
| 4 |
+
* Newsletters subscribers API Extension
|
| 5 |
+
*
|
| 6 |
+
* @category Rapidmail
|
| 7 |
+
* @package Rapidmail_RMConnect
|
| 8 |
+
*/
|
| 9 |
+
|
| 10 |
+
class Rapidmail_RMConnect_Model_Newsletter_Api_V2 extends Rapidmail_RMConnect_Model_Newsletter_Api {
|
| 11 |
+
|
| 12 |
+
}
|
app/code/community/Rapidmail/RMConnect/Model/Version/Api.php
CHANGED
|
@@ -1,27 +1,27 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
|
| 3 |
-
/**
|
| 4 |
-
* Newsletters subscribers API Extension
|
| 5 |
-
*
|
| 6 |
-
* @category Rapidmail
|
| 7 |
-
* @package Rapidmail_RMConnect
|
| 8 |
-
*/
|
| 9 |
-
|
| 10 |
-
class Rapidmail_RMConnect_Model_Version_Api extends Mage_Api_Model_Resource_Abstract {
|
| 11 |
-
|
| 12 |
-
/**
|
| 13 |
-
* Returns Shop Version
|
| 14 |
-
*
|
| 15 |
-
* @return array
|
| 16 |
-
*/
|
| 17 |
-
public function shopVersion() {
|
| 18 |
-
|
| 19 |
-
// Wrap this in additional array to conform to WSDL
|
| 20 |
-
return array(
|
| 21 |
-
Mage::helper('rmconnect')
|
| 22 |
-
->getShopVersion()
|
| 23 |
-
);
|
| 24 |
-
|
| 25 |
-
}
|
| 26 |
-
|
| 27 |
-
}
|
| 1 |
+
<?php
|
| 2 |
+
|
| 3 |
+
/**
|
| 4 |
+
* Newsletters subscribers API Extension
|
| 5 |
+
*
|
| 6 |
+
* @category Rapidmail
|
| 7 |
+
* @package Rapidmail_RMConnect
|
| 8 |
+
*/
|
| 9 |
+
|
| 10 |
+
class Rapidmail_RMConnect_Model_Version_Api extends Mage_Api_Model_Resource_Abstract {
|
| 11 |
+
|
| 12 |
+
/**
|
| 13 |
+
* Returns Shop Version
|
| 14 |
+
*
|
| 15 |
+
* @return array
|
| 16 |
+
*/
|
| 17 |
+
public function shopVersion() {
|
| 18 |
+
|
| 19 |
+
// Wrap this in additional array to conform to WSDL
|
| 20 |
+
return array(
|
| 21 |
+
Mage::helper('rmconnect')
|
| 22 |
+
->getShopVersion()
|
| 23 |
+
);
|
| 24 |
+
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
}
|
app/code/community/Rapidmail/RMConnect/Model/Version/Api/V2.php
CHANGED
|
@@ -1,12 +1,12 @@
|
|
| 1 |
-
<?php
|
| 2 |
-
|
| 3 |
-
/**
|
| 4 |
-
* Newsletters subscribers API Extension
|
| 5 |
-
*
|
| 6 |
-
* @category Rapidmail
|
| 7 |
-
* @package Rapidmail_RMConnect
|
| 8 |
-
*/
|
| 9 |
-
|
| 10 |
-
class Rapidmail_RMConnect_Model_Version_Api_V2 extends Rapidmail_RMConnect_Model_Version_Api {
|
| 11 |
-
|
| 12 |
-
}
|
| 1 |
+
<?php
|
| 2 |
+
|
| 3 |
+
/**
|
| 4 |
+
* Newsletters subscribers API Extension
|
| 5 |
+
*
|
| 6 |
+
* @category Rapidmail
|
| 7 |
+
* @package Rapidmail_RMConnect
|
| 8 |
+
*/
|
| 9 |
+
|
| 10 |
+
class Rapidmail_RMConnect_Model_Version_Api_V2 extends Rapidmail_RMConnect_Model_Version_Api {
|
| 11 |
+
|
| 12 |
+
}
|
app/code/community/Rapidmail/RMConnect/etc/api.xml
CHANGED
|
@@ -1,106 +1,106 @@
|
|
| 1 |
-
<?xml version="1.0"?>
|
| 2 |
-
|
| 3 |
-
<!--
|
| 4 |
-
|
| 5 |
-
/**
|
| 6 |
-
* Newsletters subscribers API Extension
|
| 7 |
-
*
|
| 8 |
-
* @category Rapidmail
|
| 9 |
-
* @package Rapidmail_RMConnect
|
| 10 |
-
*/
|
| 11 |
-
|
| 12 |
-
-->
|
| 13 |
-
<config>
|
| 14 |
-
<api>
|
| 15 |
-
<resources>
|
| 16 |
-
<rmconnect_newsletter translate="title" module="rmconnect">
|
| 17 |
-
<model>rmconnect/newsletter_api</model>
|
| 18 |
-
<title>Newsletter subscribers API Extension</title>
|
| 19 |
-
<acl>customer/info</acl>
|
| 20 |
-
<methods>
|
| 21 |
-
<subscriberList translate="title" module="rmconnect">
|
| 22 |
-
<title>Return subscribers</title>
|
| 23 |
-
<method>subscriberList</method>
|
| 24 |
-
</subscriberList>
|
| 25 |
-
<subscriberUpdateStatus translate="title" module="rmconnect">
|
| 26 |
-
<title>Update subscriber</title>
|
| 27 |
-
<method>subscriberUpdateStatus</method>
|
| 28 |
-
</subscriberUpdateStatus>
|
| 29 |
-
</methods>
|
| 30 |
-
<faults module="rmconnect">
|
| 31 |
-
<store_not_exists>
|
| 32 |
-
<code>100</code>
|
| 33 |
-
<message>Requested store view not found.</message>
|
| 34 |
-
</store_not_exists>
|
| 35 |
-
<subscriber_not_exists>
|
| 36 |
-
<code>404</code>
|
| 37 |
-
<message>Subscriber does not exist.</message>
|
| 38 |
-
</subscriber_not_exists>
|
| 39 |
-
<subscriber_invalid_status>
|
| 40 |
-
<code>400</code>
|
| 41 |
-
<message>Invalid status specified.</message>
|
| 42 |
-
</subscriber_invalid_status>
|
| 43 |
-
<status_save_failed>
|
| 44 |
-
<code>500</code>
|
| 45 |
-
<message>Saving new status failed.</message>
|
| 46 |
-
</status_save_failed>
|
| 47 |
-
</faults>
|
| 48 |
-
</rmconnect_newsletter>
|
| 49 |
-
|
| 50 |
-
<rmconnect_catalog translate="title" module="rmconnect">
|
| 51 |
-
<model>rmconnect/catalog_api</model>
|
| 52 |
-
<title>Catalog API Extension</title>
|
| 53 |
-
<acl>catalog/product/info</acl>
|
| 54 |
-
<methods>
|
| 55 |
-
<productList translate="title" module="rmconnect">
|
| 56 |
-
<title>Return products</title>
|
| 57 |
-
<method>productList</method>
|
| 58 |
-
</productList>
|
| 59 |
-
</methods>
|
| 60 |
-
<faults module="rmconnect">
|
| 61 |
-
<store_not_exists>
|
| 62 |
-
<code>100</code>
|
| 63 |
-
<message>Requested store view not found.</message>
|
| 64 |
-
</store_not_exists>
|
| 65 |
-
</faults>
|
| 66 |
-
</rmconnect_catalog>
|
| 67 |
-
|
| 68 |
-
<rmconnect_version translate="title" module="rmconnect">
|
| 69 |
-
<model>rmconnect/version_api</model>
|
| 70 |
-
<title>shop version API Extension</title>
|
| 71 |
-
<acl>core</acl>
|
| 72 |
-
<methods>
|
| 73 |
-
<shopVersion translate="title" module="rmconnect">
|
| 74 |
-
<title>Return shop version</title>
|
| 75 |
-
<method>shopVersion</method>
|
| 76 |
-
</shopVersion>
|
| 77 |
-
</methods>
|
| 78 |
-
<faults module="rmconnect">
|
| 79 |
-
<store_not_exists>
|
| 80 |
-
<code>100</code>
|
| 81 |
-
<message>Requested store view not found.</message>
|
| 82 |
-
</store_not_exists>
|
| 83 |
-
</faults>
|
| 84 |
-
</rmconnect_version>
|
| 85 |
-
|
| 86 |
-
</resources>
|
| 87 |
-
<resources_alias>
|
| 88 |
-
<rmconnect_newsletter>rmconnect_newsletter</rmconnect_newsletter>
|
| 89 |
-
<rmconnect_catalog>rmconnect_catalog</rmconnect_catalog>
|
| 90 |
-
<rmconnect_version>rmconnect_version</rmconnect_version>
|
| 91 |
-
</resources_alias>
|
| 92 |
-
<v2>
|
| 93 |
-
<resources_function_prefix>
|
| 94 |
-
<rmconnect_newsletter>rmconnectNewsletter</rmconnect_newsletter>
|
| 95 |
-
<rmconnect_catalog>rmconnectCatalog</rmconnect_catalog>
|
| 96 |
-
<rmconnect_version>rmconnectVersion</rmconnect_version>
|
| 97 |
-
</resources_function_prefix>
|
| 98 |
-
</v2>
|
| 99 |
-
<acl>
|
| 100 |
-
<resources>
|
| 101 |
-
<all>
|
| 102 |
-
</all>
|
| 103 |
-
</resources>
|
| 104 |
-
</acl>
|
| 105 |
-
</api>
|
| 106 |
-
</config>
|
| 1 |
+
<?xml version="1.0"?>
|
| 2 |
+
|
| 3 |
+
<!--
|
| 4 |
+
|
| 5 |
+
/**
|
| 6 |
+
* Newsletters subscribers API Extension
|
| 7 |
+
*
|
| 8 |
+
* @category Rapidmail
|
| 9 |
+
* @package Rapidmail_RMConnect
|
| 10 |
+
*/
|
| 11 |
+
|
| 12 |
+
-->
|
| 13 |
+
<config>
|
| 14 |
+
<api>
|
| 15 |
+
<resources>
|
| 16 |
+
<rmconnect_newsletter translate="title" module="rmconnect">
|
| 17 |
+
<model>rmconnect/newsletter_api</model>
|
| 18 |
+
<title>Newsletter subscribers API Extension</title>
|
| 19 |
+
<acl>customer/info</acl>
|
| 20 |
+
<methods>
|
| 21 |
+
<subscriberList translate="title" module="rmconnect">
|
| 22 |
+
<title>Return subscribers</title>
|
| 23 |
+
<method>subscriberList</method>
|
| 24 |
+
</subscriberList>
|
| 25 |
+
<subscriberUpdateStatus translate="title" module="rmconnect">
|
| 26 |
+
<title>Update subscriber</title>
|
| 27 |
+
<method>subscriberUpdateStatus</method>
|
| 28 |
+
</subscriberUpdateStatus>
|
| 29 |
+
</methods>
|
| 30 |
+
<faults module="rmconnect">
|
| 31 |
+
<store_not_exists>
|
| 32 |
+
<code>100</code>
|
| 33 |
+
<message>Requested store view not found.</message>
|
| 34 |
+
</store_not_exists>
|
| 35 |
+
<subscriber_not_exists>
|
| 36 |
+
<code>404</code>
|
| 37 |
+
<message>Subscriber does not exist.</message>
|
| 38 |
+
</subscriber_not_exists>
|
| 39 |
+
<subscriber_invalid_status>
|
| 40 |
+
<code>400</code>
|
| 41 |
+
<message>Invalid status specified.</message>
|
| 42 |
+
</subscriber_invalid_status>
|
| 43 |
+
<status_save_failed>
|
| 44 |
+
<code>500</code>
|
| 45 |
+
<message>Saving new status failed.</message>
|
| 46 |
+
</status_save_failed>
|
| 47 |
+
</faults>
|
| 48 |
+
</rmconnect_newsletter>
|
| 49 |
+
|
| 50 |
+
<rmconnect_catalog translate="title" module="rmconnect">
|
| 51 |
+
<model>rmconnect/catalog_api</model>
|
| 52 |
+
<title>Catalog API Extension</title>
|
| 53 |
+
<acl>catalog/product/info</acl>
|
| 54 |
+
<methods>
|
| 55 |
+
<productList translate="title" module="rmconnect">
|
| 56 |
+
<title>Return products</title>
|
| 57 |
+
<method>productList</method>
|
| 58 |
+
</productList>
|
| 59 |
+
</methods>
|
| 60 |
+
<faults module="rmconnect">
|
| 61 |
+
<store_not_exists>
|
| 62 |
+
<code>100</code>
|
| 63 |
+
<message>Requested store view not found.</message>
|
| 64 |
+
</store_not_exists>
|
| 65 |
+
</faults>
|
| 66 |
+
</rmconnect_catalog>
|
| 67 |
+
|
| 68 |
+
<rmconnect_version translate="title" module="rmconnect">
|
| 69 |
+
<model>rmconnect/version_api</model>
|
| 70 |
+
<title>shop version API Extension</title>
|
| 71 |
+
<acl>core</acl>
|
| 72 |
+
<methods>
|
| 73 |
+
<shopVersion translate="title" module="rmconnect">
|
| 74 |
+
<title>Return shop version</title>
|
| 75 |
+
<method>shopVersion</method>
|
| 76 |
+
</shopVersion>
|
| 77 |
+
</methods>
|
| 78 |
+
<faults module="rmconnect">
|
| 79 |
+
<store_not_exists>
|
| 80 |
+
<code>100</code>
|
| 81 |
+
<message>Requested store view not found.</message>
|
| 82 |
+
</store_not_exists>
|
| 83 |
+
</faults>
|
| 84 |
+
</rmconnect_version>
|
| 85 |
+
|
| 86 |
+
</resources>
|
| 87 |
+
<resources_alias>
|
| 88 |
+
<rmconnect_newsletter>rmconnect_newsletter</rmconnect_newsletter>
|
| 89 |
+
<rmconnect_catalog>rmconnect_catalog</rmconnect_catalog>
|
| 90 |
+
<rmconnect_version>rmconnect_version</rmconnect_version>
|
| 91 |
+
</resources_alias>
|
| 92 |
+
<v2>
|
| 93 |
+
<resources_function_prefix>
|
| 94 |
+
<rmconnect_newsletter>rmconnectNewsletter</rmconnect_newsletter>
|
| 95 |
+
<rmconnect_catalog>rmconnectCatalog</rmconnect_catalog>
|
| 96 |
+
<rmconnect_version>rmconnectVersion</rmconnect_version>
|
| 97 |
+
</resources_function_prefix>
|
| 98 |
+
</v2>
|
| 99 |
+
<acl>
|
| 100 |
+
<resources>
|
| 101 |
+
<all>
|
| 102 |
+
</all>
|
| 103 |
+
</resources>
|
| 104 |
+
</acl>
|
| 105 |
+
</api>
|
| 106 |
+
</config>
|
app/code/community/Rapidmail/RMConnect/etc/config.xml
CHANGED
|
@@ -1,36 +1,36 @@
|
|
| 1 |
-
<?xml version="1.0"?>
|
| 2 |
-
|
| 3 |
-
<!--
|
| 4 |
-
|
| 5 |
-
/**
|
| 6 |
-
* Newsletters subscribers API Extension
|
| 7 |
-
*
|
| 8 |
-
* @category Rapidmail
|
| 9 |
-
* @package Rapidmail_RMConnect
|
| 10 |
-
*/
|
| 11 |
-
|
| 12 |
-
-->
|
| 13 |
-
|
| 14 |
-
<config>
|
| 15 |
-
<modules>
|
| 16 |
-
<Rapidmail_RMConnect>
|
| 17 |
-
<version>1.5.3</version>
|
| 18 |
-
</Rapidmail_RMConnect>
|
| 19 |
-
</modules>
|
| 20 |
-
<global>
|
| 21 |
-
<models>
|
| 22 |
-
<rmconnect>
|
| 23 |
-
<rewrite>
|
| 24 |
-
<newsletter_api_v2>Rapidmail_RMConnect_Model_Newsletter_Api_V2</newsletter_api_v2>
|
| 25 |
-
<catalog_api_v2>Rapidmail_RMConnect_Model_Catalog_Api_V2</catalog_api_v2>
|
| 26 |
-
<version_api_v2>Rapidmail_RMConnect_Model_Version_Api_V2</version_api_v2>
|
| 27 |
-
</rewrite>
|
| 28 |
-
</rmconnect>
|
| 29 |
-
</models>
|
| 30 |
-
<helpers>
|
| 31 |
-
<rmconnect>
|
| 32 |
-
<class>Rapidmail_RMConnect_Helper</class>
|
| 33 |
-
</rmconnect>
|
| 34 |
-
</helpers>
|
| 35 |
-
</global>
|
| 36 |
-
</config>
|
| 1 |
+
<?xml version="1.0"?>
|
| 2 |
+
|
| 3 |
+
<!--
|
| 4 |
+
|
| 5 |
+
/**
|
| 6 |
+
* Newsletters subscribers API Extension
|
| 7 |
+
*
|
| 8 |
+
* @category Rapidmail
|
| 9 |
+
* @package Rapidmail_RMConnect
|
| 10 |
+
*/
|
| 11 |
+
|
| 12 |
+
-->
|
| 13 |
+
|
| 14 |
+
<config>
|
| 15 |
+
<modules>
|
| 16 |
+
<Rapidmail_RMConnect>
|
| 17 |
+
<version>1.5.3</version>
|
| 18 |
+
</Rapidmail_RMConnect>
|
| 19 |
+
</modules>
|
| 20 |
+
<global>
|
| 21 |
+
<models>
|
| 22 |
+
<rmconnect>
|
| 23 |
+
<rewrite>
|
| 24 |
+
<newsletter_api_v2>Rapidmail_RMConnect_Model_Newsletter_Api_V2</newsletter_api_v2>
|
| 25 |
+
<catalog_api_v2>Rapidmail_RMConnect_Model_Catalog_Api_V2</catalog_api_v2>
|
| 26 |
+
<version_api_v2>Rapidmail_RMConnect_Model_Version_Api_V2</version_api_v2>
|
| 27 |
+
</rewrite>
|
| 28 |
+
</rmconnect>
|
| 29 |
+
</models>
|
| 30 |
+
<helpers>
|
| 31 |
+
<rmconnect>
|
| 32 |
+
<class>Rapidmail_RMConnect_Helper</class>
|
| 33 |
+
</rmconnect>
|
| 34 |
+
</helpers>
|
| 35 |
+
</global>
|
| 36 |
+
</config>
|
app/code/community/Rapidmail/RMConnect/etc/wsdl.xml
CHANGED
|
@@ -1,195 +1,197 @@
|
|
| 1 |
-
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
-
<definitions xmlns:typens="urn:{{var wsdl.name}}" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
| 3 |
-
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
|
| 4 |
-
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
|
| 5 |
-
xmlns="http://schemas.xmlsoap.org/wsdl/"
|
| 6 |
-
name="{{var wsdl.name}}" targetNamespace="urn:{{var wsdl.name}}">
|
| 7 |
-
<types>
|
| 8 |
-
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:Magento">
|
| 9 |
-
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"
|
| 10 |
-
schemaLocation="http://schemas.xmlsoap.org/soap/encoding/"/>
|
| 11 |
-
<complexType name="newsletterSubscriberEntity">
|
| 12 |
-
<all>
|
| 13 |
-
<element name="subscriber_id" type="xsd:int" minOccurs="0"/>
|
| 14 |
-
<element name="store_id" type="xsd:int" minOccurs="0"/>
|
| 15 |
-
<element name="change_status_at" type="xsd:string" minOccurs="0"/>
|
| 16 |
-
<element name="customer_id" type="xsd:int" minOccurs="0"/>
|
| 17 |
-
<element name="subscriber_email" type="xsd:string" minOccurs="0"/>
|
| 18 |
-
<element name="
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
<element name="
|
| 34 |
-
<element name="
|
| 35 |
-
<element name="
|
| 36 |
-
<element name="
|
| 37 |
-
<element name="
|
| 38 |
-
<element name="
|
| 39 |
-
<element name="
|
| 40 |
-
<element name="
|
| 41 |
-
<element name="
|
| 42 |
-
<element name="
|
| 43 |
-
<element name="
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
<element name="
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
<part name="
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
<
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
<
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
|
| 142 |
-
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
|
| 150 |
-
<
|
| 151 |
-
|
| 152 |
-
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
|
| 156 |
-
|
| 157 |
-
|
| 158 |
-
|
| 159 |
-
|
| 160 |
-
|
| 161 |
-
|
| 162 |
-
|
| 163 |
-
|
| 164 |
-
|
| 165 |
-
|
| 166 |
-
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
|
| 170 |
-
|
| 171 |
-
|
| 172 |
-
<
|
| 173 |
-
|
| 174 |
-
|
| 175 |
-
|
| 176 |
-
|
| 177 |
-
|
| 178 |
-
|
| 179 |
-
|
| 180 |
-
|
| 181 |
-
|
| 182 |
-
|
| 183 |
-
|
| 184 |
-
|
| 185 |
-
|
| 186 |
-
|
| 187 |
-
|
| 188 |
-
|
| 189 |
-
|
| 190 |
-
|
| 191 |
-
|
| 192 |
-
|
| 193 |
-
|
| 194 |
-
|
| 195 |
-
</
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
+
<definitions xmlns:typens="urn:{{var wsdl.name}}" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
| 3 |
+
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
|
| 4 |
+
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
|
| 5 |
+
xmlns="http://schemas.xmlsoap.org/wsdl/"
|
| 6 |
+
name="{{var wsdl.name}}" targetNamespace="urn:{{var wsdl.name}}">
|
| 7 |
+
<types>
|
| 8 |
+
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:Magento">
|
| 9 |
+
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"
|
| 10 |
+
schemaLocation="http://schemas.xmlsoap.org/soap/encoding/"/>
|
| 11 |
+
<complexType name="newsletterSubscriberEntity">
|
| 12 |
+
<all>
|
| 13 |
+
<element name="subscriber_id" type="xsd:int" minOccurs="0"/>
|
| 14 |
+
<element name="store_id" type="xsd:int" minOccurs="0"/>
|
| 15 |
+
<element name="change_status_at" type="xsd:string" minOccurs="0"/>
|
| 16 |
+
<element name="customer_id" type="xsd:int" minOccurs="0"/>
|
| 17 |
+
<element name="subscriber_email" type="xsd:string" minOccurs="0"/>
|
| 18 |
+
<element name="subscriber_firstname" type="xsd:string" minOccurs="0"/>
|
| 19 |
+
<element name="subscriber_lastname" type="xsd:string" minOccurs="0"/>
|
| 20 |
+
<element name="subscriber_status" type="xsd:int" minOccurs="0"/>
|
| 21 |
+
</all>
|
| 22 |
+
</complexType>
|
| 23 |
+
<complexType name="ArrayOfNewsletterSubscriberEntity">
|
| 24 |
+
<complexContent>
|
| 25 |
+
<restriction base="soapenc:Array">
|
| 26 |
+
<attribute ref="soapenc:arrayType" wsdl:arrayType="typens:newsletterSubscriberEntity[]"/>
|
| 27 |
+
</restriction>
|
| 28 |
+
</complexContent>
|
| 29 |
+
</complexType>
|
| 30 |
+
|
| 31 |
+
<complexType name="catalogProductExtEntity">
|
| 32 |
+
<all>
|
| 33 |
+
<element name="product_id" type="xsd:string" minOccurs="0"/>
|
| 34 |
+
<element name="sku" type="xsd:string" minOccurs="0"/>
|
| 35 |
+
<element name="name" type="xsd:string" minOccurs="0"/>
|
| 36 |
+
<element name="image" type="xsd:string" minOccurs="0"/>
|
| 37 |
+
<element name="url_path" type="xsd:string" minOccurs="0"/>
|
| 38 |
+
<element name="price" type="xsd:double" minOccurs="0"/>
|
| 39 |
+
<element name="special_price" type="xsd:double" minOccurs="0"/>
|
| 40 |
+
<element name="special_from_date" type="xsd:string" minOccurs="0"/>
|
| 41 |
+
<element name="special_to_date" type="xsd:string" minOccurs="0"/>
|
| 42 |
+
<element name="description" type="xsd:string" minOccurs="0"/>
|
| 43 |
+
<element name="short_description" type="xsd:string" minOccurs="0"/>
|
| 44 |
+
<element name="created_at" type="xsd:string" minOccurs="0"/>
|
| 45 |
+
<element name="updated_at" type="xsd:string" minOccurs="0"/>
|
| 46 |
+
</all>
|
| 47 |
+
</complexType>
|
| 48 |
+
<complexType name="ArrayOfCatalogProductExtEntity">
|
| 49 |
+
<complexContent>
|
| 50 |
+
<restriction base="soapenc:Array">
|
| 51 |
+
<attribute ref="soapenc:arrayType" wsdl:arrayType="typens:catalogProductExtEntity[]"/>
|
| 52 |
+
</restriction>
|
| 53 |
+
</complexContent>
|
| 54 |
+
</complexType>
|
| 55 |
+
|
| 56 |
+
<complexType name="shopVersionEntity">
|
| 57 |
+
<all>
|
| 58 |
+
<element name="shop_version" type="xsd:string" minOccurs="0"/>
|
| 59 |
+
<element name="shop_edition" type="xsd:string" minOccurs="0"/>
|
| 60 |
+
<element name="extension_version" type="xsd:string" minOccurs="0"/>
|
| 61 |
+
</all>
|
| 62 |
+
</complexType>
|
| 63 |
+
<complexType name="ArrayOfShopVersionEntity">
|
| 64 |
+
<complexContent>
|
| 65 |
+
<restriction base="soapenc:Array">
|
| 66 |
+
<attribute ref="soapenc:arrayType" wsdl:arrayType="typens:shopVersionEntity[]"/>
|
| 67 |
+
</restriction>
|
| 68 |
+
</complexContent>
|
| 69 |
+
</complexType>
|
| 70 |
+
|
| 71 |
+
</schema>
|
| 72 |
+
</types>
|
| 73 |
+
|
| 74 |
+
<message name="rmconnectNewsletterSubscriberListRequest">
|
| 75 |
+
<part name="sessionId" type="xsd:string"/>
|
| 76 |
+
</message>
|
| 77 |
+
<message name="rmconnectNewsletterSubscriberListResponse">
|
| 78 |
+
<part name="result" type="typens:ArrayOfNewsletterSubscriberEntity"/>
|
| 79 |
+
</message>
|
| 80 |
+
|
| 81 |
+
<message name="rmconnectNewsletterSubscriberUpdateStatusRequest">
|
| 82 |
+
<part name="sessionId" type="xsd:string"/>
|
| 83 |
+
<part name="email" type="xsd:string"/>
|
| 84 |
+
<part name="status" type="xsd:int"/>
|
| 85 |
+
</message>
|
| 86 |
+
<message name="rmconnectNewsletterSubscriberUpdateStatusResponse">
|
| 87 |
+
<part name="result" type="xsd:int"/>
|
| 88 |
+
</message>
|
| 89 |
+
|
| 90 |
+
<message name="rmconnectCatalogProductListRequest">
|
| 91 |
+
<part name="sessionId" type="xsd:string"/>
|
| 92 |
+
</message>
|
| 93 |
+
<message name="rmconnectCatalogProductListResponse">
|
| 94 |
+
<part name="result" type="typens:ArrayOfCatalogProductExtEntity"/>
|
| 95 |
+
</message>
|
| 96 |
+
|
| 97 |
+
<message name="rmconnectVersionShopVersionRequest">
|
| 98 |
+
<part name="sessionId" type="xsd:string"/>
|
| 99 |
+
</message>
|
| 100 |
+
<message name="rmconnectVersionShopVersionResponse">
|
| 101 |
+
<part name="result" type="typens:ArrayOfShopVersionEntity"/>
|
| 102 |
+
</message>
|
| 103 |
+
|
| 104 |
+
<portType name="{{var wsdl.handler}}PortType">
|
| 105 |
+
<operation name="rmconnectNewsletterSubscriberList">
|
| 106 |
+
<documentation>Returns newsletter subscribers</documentation>
|
| 107 |
+
<input message="typens:rmconnectNewsletterSubscriberListRequest"/>
|
| 108 |
+
<output message="typens:rmconnectNewsletterSubscriberListResponse"/>
|
| 109 |
+
</operation>
|
| 110 |
+
</portType>
|
| 111 |
+
<binding name="{{var wsdl.handler}}Binding" type="typens:{{var wsdl.handler}}PortType">
|
| 112 |
+
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
|
| 113 |
+
<operation name="rmconnectNewsletterSubscriberList">
|
| 114 |
+
<soap:operation soapAction="urn:{{var wsdl.handler}}Action"/>
|
| 115 |
+
<input>
|
| 116 |
+
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
| 117 |
+
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
| 118 |
+
</input>
|
| 119 |
+
<output>
|
| 120 |
+
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
| 121 |
+
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
| 122 |
+
</output>
|
| 123 |
+
</operation>
|
| 124 |
+
</binding>
|
| 125 |
+
|
| 126 |
+
<portType name="{{var wsdl.handler}}PortType">
|
| 127 |
+
<operation name="rmconnectNewsletterSubscriberUpdateStatus">
|
| 128 |
+
<documentation>Update newsletter subscriber</documentation>
|
| 129 |
+
<input message="typens:rmconnectNewsletterSubscriberUpdateStatusRequest"/>
|
| 130 |
+
<output message="typens:rmconnectNewsletterSubscriberUpdateStatusResponse"/>
|
| 131 |
+
</operation>
|
| 132 |
+
</portType>
|
| 133 |
+
<binding name="{{var wsdl.handler}}Binding" type="typens:{{var wsdl.handler}}PortType">
|
| 134 |
+
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
|
| 135 |
+
<operation name="rmconnectNewsletterSubscriberUpdateStatus">
|
| 136 |
+
<soap:operation soapAction="urn:{{var wsdl.handler}}Action"/>
|
| 137 |
+
<input>
|
| 138 |
+
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
| 139 |
+
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
| 140 |
+
</input>
|
| 141 |
+
<output>
|
| 142 |
+
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
| 143 |
+
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
| 144 |
+
</output>
|
| 145 |
+
</operation>
|
| 146 |
+
</binding>
|
| 147 |
+
|
| 148 |
+
<portType name="{{var wsdl.handler}}PortType">
|
| 149 |
+
<operation name="rmconnectCatalogProductList">
|
| 150 |
+
<documentation>Returns catalog products</documentation>
|
| 151 |
+
<input message="typens:rmconnectCatalogProductListRequest"/>
|
| 152 |
+
<output message="typens:rmconnectCatalogProductListResponse"/>
|
| 153 |
+
</operation>
|
| 154 |
+
</portType>
|
| 155 |
+
<binding name="{{var wsdl.handler}}Binding" type="typens:{{var wsdl.handler}}PortType">
|
| 156 |
+
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
|
| 157 |
+
<operation name="rmconnectCatalogProductList">
|
| 158 |
+
<soap:operation soapAction="urn:{{var wsdl.handler}}Action"/>
|
| 159 |
+
<input>
|
| 160 |
+
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
| 161 |
+
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
| 162 |
+
</input>
|
| 163 |
+
<output>
|
| 164 |
+
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
| 165 |
+
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
| 166 |
+
</output>
|
| 167 |
+
</operation>
|
| 168 |
+
</binding>
|
| 169 |
+
|
| 170 |
+
<portType name="{{var wsdl.handler}}PortType">
|
| 171 |
+
<operation name="rmconnectVersionShopVersion">
|
| 172 |
+
<documentation>Returns shop version informations</documentation>
|
| 173 |
+
<input message="typens:rmconnectVersionShopVersionRequest"/>
|
| 174 |
+
<output message="typens:rmconnectVersionShopVersionResponse"/>
|
| 175 |
+
</operation>
|
| 176 |
+
</portType>
|
| 177 |
+
<binding name="{{var wsdl.handler}}Binding" type="typens:{{var wsdl.handler}}PortType">
|
| 178 |
+
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
|
| 179 |
+
<operation name="rmconnectVersionShopVersion">
|
| 180 |
+
<soap:operation soapAction="urn:{{var wsdl.handler}}Action"/>
|
| 181 |
+
<input>
|
| 182 |
+
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
| 183 |
+
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
| 184 |
+
</input>
|
| 185 |
+
<output>
|
| 186 |
+
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
| 187 |
+
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
| 188 |
+
</output>
|
| 189 |
+
</operation>
|
| 190 |
+
</binding>
|
| 191 |
+
|
| 192 |
+
<service name="{{var wsdl.name}}Service">
|
| 193 |
+
<port name="{{var wsdl.handler}}Port" binding="typens:{{var wsdl.handler}}Binding">
|
| 194 |
+
<soap:address location="{{var wsdl.url}}"/>
|
| 195 |
+
</port>
|
| 196 |
+
</service>
|
| 197 |
+
</definitions>
|
app/etc/modules/Rapidmail_RMConnect.xml
CHANGED
|
@@ -1,23 +1,23 @@
|
|
| 1 |
-
<?xml version="1.0"?>
|
| 2 |
-
|
| 3 |
-
<!--
|
| 4 |
-
/**
|
| 5 |
-
* Newsletters subscribers API Extension
|
| 6 |
-
*
|
| 7 |
-
* @category Rapidmail
|
| 8 |
-
* @package Rapidmail_RMConnect
|
| 9 |
-
*/
|
| 10 |
-
|
| 11 |
-
-->
|
| 12 |
-
<config>
|
| 13 |
-
<modules>
|
| 14 |
-
<Rapidmail_RMConnect>
|
| 15 |
-
<active>true</active>
|
| 16 |
-
<codePool>community</codePool>
|
| 17 |
-
<depends>
|
| 18 |
-
<Mage_Api />
|
| 19 |
-
</depends>
|
| 20 |
-
</Rapidmail_RMConnect>
|
| 21 |
-
</modules>
|
| 22 |
-
</config>
|
| 23 |
-
|
| 1 |
+
<?xml version="1.0"?>
|
| 2 |
+
|
| 3 |
+
<!--
|
| 4 |
+
/**
|
| 5 |
+
* Newsletters subscribers API Extension
|
| 6 |
+
*
|
| 7 |
+
* @category Rapidmail
|
| 8 |
+
* @package Rapidmail_RMConnect
|
| 9 |
+
*/
|
| 10 |
+
|
| 11 |
+
-->
|
| 12 |
+
<config>
|
| 13 |
+
<modules>
|
| 14 |
+
<Rapidmail_RMConnect>
|
| 15 |
+
<active>true</active>
|
| 16 |
+
<codePool>community</codePool>
|
| 17 |
+
<depends>
|
| 18 |
+
<Mage_Api />
|
| 19 |
+
</depends>
|
| 20 |
+
</Rapidmail_RMConnect>
|
| 21 |
+
</modules>
|
| 22 |
+
</config>
|
| 23 |
+
|
package.xml
CHANGED
|
@@ -1,77 +1,21 @@
|
|
| 1 |
-
<?xml version="1.0"?>
|
| 2 |
-
<package>
|
| 3 |
-
<name>Rapidmail_RMConnect</name>
|
| 4 |
-
<version>1.5.
|
| 5 |
-
<stability>stable</stability>
|
| 6 |
-
<license>GPL</license>
|
| 7 |
-
<channel>community</channel>
|
| 8 |
-
<extends/>
|
| 9 |
-
<summary>Connects your magento shop with rapidmail.</summary>
|
| 10 |
-
<description><p>The rapidmail Connector is required to connect your magento shop with <a href=http://www.rapidmail.de>rapidmail</a>
|
| 11 |
-
<h3>Setup</h3>
|
| 12 |
-
<p>Get the extension key and install the rapidmail Connector
|
| 13 |
-
Also take a look at the <a href="http://doc.rapidmail.net/pages/viewpage.action?pageId=655730">rapidmail user manual</a>
|
| 14 |
-
|
| 15 |
-
<
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
<
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
<email>support@rapidmail.de</email>
|
| 23 |
-
</author>
|
| 24 |
-
</authors>
|
| 25 |
-
<date>2015-09-28</date>
|
| 26 |
-
<time>13:37:32</time>
|
| 27 |
-
<contents>
|
| 28 |
-
<target name="magecommunity">
|
| 29 |
-
<dir name="Rapidmail">
|
| 30 |
-
<dir name="RMConnect">
|
| 31 |
-
<dir name="Model">
|
| 32 |
-
<dir name="Catalog">
|
| 33 |
-
<dir name="Api">
|
| 34 |
-
<file name="V2.php" hash="f12dc4f9e5627493a55fb9d5ee90ee50"/>
|
| 35 |
-
</dir>
|
| 36 |
-
<file name="Api.php" hash="78966a1f4415bbd81f70c6934995298b"/>
|
| 37 |
-
</dir>
|
| 38 |
-
<dir name="Newsletter">
|
| 39 |
-
<dir name="Api">
|
| 40 |
-
<file name="V2.php" hash="7d3a9335b48ae157046243e427cb745e"/>
|
| 41 |
-
</dir>
|
| 42 |
-
<file name="Api.php" hash="d08bb077ebad4060e1539f9fb5adf6e8"/>
|
| 43 |
-
</dir>
|
| 44 |
-
<dir name="Version">
|
| 45 |
-
<dir name="Api">
|
| 46 |
-
<file name="V2.php" hash="7d3a9335b48ae157046243e427cb745e"/>
|
| 47 |
-
</dir>
|
| 48 |
-
<file name="Api.php" hash="d08bb077ebad4060e1539f9fb5adf6e8"/>
|
| 49 |
-
</dir>
|
| 50 |
-
</dir>
|
| 51 |
-
<dir name="Helper">
|
| 52 |
-
<file name="Data.php" hash="7d3a9335b48ae157046243e427cb745e"/>
|
| 53 |
-
</dir>
|
| 54 |
-
<dir name="etc">
|
| 55 |
-
<file name="api.xml" hash="016e75b9ec1b65e1facba373edadc0f1"/>
|
| 56 |
-
<file name="config.xml" hash="df1398c1f6bee0682ca128be496b33bb"/>
|
| 57 |
-
<file name="wsdl.xml" hash="b95cf8246a21ecf7289fd21f8b1ea805"/>
|
| 58 |
-
</dir>
|
| 59 |
-
</dir>
|
| 60 |
-
</dir>
|
| 61 |
-
</target>
|
| 62 |
-
<target name="mageetc">
|
| 63 |
-
<dir name="modules">
|
| 64 |
-
<file name="Rapidmail_RMConnect.xml" hash="b38e11f35fa67bc12931927ae58dc8da"/>
|
| 65 |
-
</dir>
|
| 66 |
-
</target>
|
| 67 |
-
</contents>
|
| 68 |
-
<compatible/>
|
| 69 |
-
<dependencies>
|
| 70 |
-
<required>
|
| 71 |
-
<php>
|
| 72 |
-
<min>5.3.0</min>
|
| 73 |
-
<max>6.0.0.</max>
|
| 74 |
-
</php>
|
| 75 |
-
</required>
|
| 76 |
-
</dependencies>
|
| 77 |
-
</package>
|
| 1 |
+
<?xml version="1.0"?>
|
| 2 |
+
<package>
|
| 3 |
+
<name>Rapidmail_RMConnect</name>
|
| 4 |
+
<version>1.5.4</version>
|
| 5 |
+
<stability>stable</stability>
|
| 6 |
+
<license>GPL</license>
|
| 7 |
+
<channel>community</channel>
|
| 8 |
+
<extends/>
|
| 9 |
+
<summary>Connects your magento shop with rapidmail.</summary>
|
| 10 |
+
<description><p>The rapidmail Connector is required to connect your magento shop with <a href="http://www.rapidmail.de">rapidmail</a></p>
|
| 11 |
+
<h3>Setup</h3>
|
| 12 |
+
<p>Get the extension key and install the rapidmail Connector.
|
| 13 |
+
Also take a look at the <a href="http://doc.rapidmail.net/pages/viewpage.action?pageId=655730">rapidmail user manual</a></p></description>
|
| 14 |
+
<notes>Added firstname and lastname to newsletter subscriber data import.</notes>
|
| 15 |
+
<authors><author><name>SK</name><user>auto-generated</user><email>support@rapidmail.de</email></author></authors>
|
| 16 |
+
<date>2016-05-30</date>
|
| 17 |
+
<time>13:49:24</time>
|
| 18 |
+
<contents><target name="magecommunity"><dir name="Rapidmail"><dir name="RMConnect"><dir name="Model"><dir name="Catalog"><file name="Api.php" hash=""/><dir name="Api"><file name="V2.php" hash=""/></dir></dir><dir name="Newsletter"><file name="Api.php" hash=""/><dir name="Api"><file name="V2.php" hash=""/></dir></dir><dir name="Version"><file name="Api.php" hash=""/><dir name="Api"><file name="V2.php" hash=""/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash=""/></dir><dir name="etc"><file name="api.xml" hash=""/><file name="config.xml" hash=""/><file name="wsdl.xml" hash=""/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Rapidmail_RMConnect.xml" hash=""/></dir></target></contents>
|
| 19 |
+
<compatible/>
|
| 20 |
+
<dependencies><required><php><min>5.3.0</min><max>7.0.0</max></php></required></dependencies>
|
| 21 |
+
</package>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
