Version Notes
Added productlisting includes image, link and price, too.
Consider table prefix getting subscribers, too.
Download this release
Release Info
Developer | SK |
Extension | Rapidmail_RMConnect |
Version | 1.3.0 |
Comparing to | |
See all releases |
Code changes from version 1.1.0 to 1.3.0
- app/code/local/Rapidmail/RMConnect/Model/Catalog/Api.php +0 -0
- app/code/local/Rapidmail/RMConnect/Model/Catalog/Api/V2.php +0 -0
- app/code/local/Rapidmail/RMConnect/Model/Newsletter/Api.php +0 -0
- app/code/local/Rapidmail/RMConnect/Model/Newsletter/Api/V2.php +2 -2
- app/code/local/Rapidmail/RMConnect/Model/Version/Api.php +18 -0
- app/code/local/Rapidmail/RMConnect/Model/Version/Api/V2.php +36 -0
- app/code/local/Rapidmail/RMConnect/etc/api.xml +21 -1
- app/code/local/Rapidmail/RMConnect/etc/config.xml +2 -1
- app/code/local/Rapidmail/RMConnect/etc/wsdl.xml +192 -150
- app/etc/modules/Rapidmail_RMConnect.xml +1 -1
- package.xml +7 -5
app/code/local/Rapidmail/RMConnect/Model/Catalog/Api.php
CHANGED
File without changes
|
app/code/local/Rapidmail/RMConnect/Model/Catalog/Api/V2.php
CHANGED
File without changes
|
app/code/local/Rapidmail/RMConnect/Model/Newsletter/Api.php
CHANGED
File without changes
|
app/code/local/Rapidmail/RMConnect/Model/Newsletter/Api/V2.php
CHANGED
@@ -21,7 +21,7 @@ class Rapidmail_RMConnect_Model_Newsletter_Api_V2 extends Mage_Api_Model_Resourc
|
|
21 |
$resource = Mage::getSingleton('core/resource');
|
22 |
|
23 |
// Get subscribers
|
24 |
-
$results = $resource->getConnection('core_read')->fetchAll('SELECT * FROM
|
25 |
|
26 |
return (array)$results;
|
27 |
|
@@ -43,7 +43,7 @@ class Rapidmail_RMConnect_Model_Newsletter_Api_V2 extends Mage_Api_Model_Resourc
|
|
43 |
$db = $resource->getConnection('core_write');
|
44 |
|
45 |
// Get subscriber
|
46 |
-
$subscriber = $db->fetchRow('SELECT * FROM ' . $resource->getTableName('newsletter/subscriber') . ' WHERE subscriber_email =
|
47 |
|
48 |
if (!$subscriber) {
|
49 |
return 404;
|
21 |
$resource = Mage::getSingleton('core/resource');
|
22 |
|
23 |
// Get subscribers
|
24 |
+
$results = $resource->getConnection('core_read')->fetchAll('SELECT * FROM ' . $resource->getTableName('newsletter/subscriber'));
|
25 |
|
26 |
return (array)$results;
|
27 |
|
43 |
$db = $resource->getConnection('core_write');
|
44 |
|
45 |
// Get subscriber
|
46 |
+
$subscriber = $db->fetchRow('SELECT * FROM ' . $resource->getTableName('newsletter/subscriber') . ' WHERE subscriber_email = ' . $db->quote($email) . ' LIMIT 1');
|
47 |
|
48 |
if (!$subscriber) {
|
49 |
return 404;
|
app/code/local/Rapidmail/RMConnect/Model/Version/Api.php
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
public function shopVersion()
|
13 |
+
{
|
14 |
+
}
|
15 |
+
|
16 |
+
}
|
17 |
+
|
18 |
+
?>
|
app/code/local/Rapidmail/RMConnect/Model/Version/Api/V2.php
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 Mage_Api_Model_Resource_Abstract
|
11 |
+
{
|
12 |
+
|
13 |
+
/**
|
14 |
+
* Returns Shop Version
|
15 |
+
*
|
16 |
+
* @return array
|
17 |
+
*/
|
18 |
+
public function shopVersion()
|
19 |
+
{
|
20 |
+
|
21 |
+
$result = array();
|
22 |
+
|
23 |
+
// Get Shop Version
|
24 |
+
|
25 |
+
$result[] = array(
|
26 |
+
'shop_version' => Mage::getVersion(),
|
27 |
+
'shop_edition' => Mage::getEdition(),
|
28 |
+
'extension_version' => (string)Mage::getConfig()->getModuleConfig('Rapidmail_RMConnect')->version
|
29 |
+
);
|
30 |
+
|
31 |
+
return $result;
|
32 |
+
|
33 |
+
}
|
34 |
+
}
|
35 |
+
|
36 |
+
?>
|
app/code/local/Rapidmail/RMConnect/etc/api.xml
CHANGED
@@ -13,7 +13,7 @@
|
|
13 |
<config>
|
14 |
<modules>
|
15 |
<Rapidmail_RMConnect>
|
16 |
-
<version>1.
|
17 |
</Rapidmail_RMConnect>
|
18 |
</modules>
|
19 |
<api>
|
@@ -58,15 +58,35 @@
|
|
58 |
</faults>
|
59 |
</rmconnect_catalog>
|
60 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
</resources>
|
62 |
<resources_alias>
|
63 |
<rmconnect_newsletter>rmconnect_newsletter</rmconnect_newsletter>
|
64 |
<rmconnect_catalog>rmconnect_catalog</rmconnect_catalog>
|
|
|
65 |
</resources_alias>
|
66 |
<v2>
|
67 |
<resources_function_prefix>
|
68 |
<rmconnect_newsletter>rmconnectNewsletter</rmconnect_newsletter>
|
69 |
<rmconnect_catalog>rmconnectCatalog</rmconnect_catalog>
|
|
|
70 |
</resources_function_prefix>
|
71 |
</v2>
|
72 |
<acl>
|
13 |
<config>
|
14 |
<modules>
|
15 |
<Rapidmail_RMConnect>
|
16 |
+
<version>1.3.0</version>
|
17 |
</Rapidmail_RMConnect>
|
18 |
</modules>
|
19 |
<api>
|
58 |
</faults>
|
59 |
</rmconnect_catalog>
|
60 |
|
61 |
+
<rmconnect_version translate="title" module="rmconnect">
|
62 |
+
<model>rmconnect/version_api</model>
|
63 |
+
<title>shop version API Extension</title>
|
64 |
+
<acl>core</acl>
|
65 |
+
<methods>
|
66 |
+
<shopVersion translate="title" module="rmconnect">
|
67 |
+
<title>Return shop version</title>
|
68 |
+
<method>shopVersion</method>
|
69 |
+
</shopVersion>
|
70 |
+
</methods>
|
71 |
+
<faults module="rmconnect">
|
72 |
+
<store_not_exists>
|
73 |
+
<code>100</code>
|
74 |
+
<message>Requested store view not found.</message>
|
75 |
+
</store_not_exists>
|
76 |
+
</faults>
|
77 |
+
</rmconnect_version>
|
78 |
+
|
79 |
</resources>
|
80 |
<resources_alias>
|
81 |
<rmconnect_newsletter>rmconnect_newsletter</rmconnect_newsletter>
|
82 |
<rmconnect_catalog>rmconnect_catalog</rmconnect_catalog>
|
83 |
+
<rmconnect_version>rmconnect_version</rmconnect_version>
|
84 |
</resources_alias>
|
85 |
<v2>
|
86 |
<resources_function_prefix>
|
87 |
<rmconnect_newsletter>rmconnectNewsletter</rmconnect_newsletter>
|
88 |
<rmconnect_catalog>rmconnectCatalog</rmconnect_catalog>
|
89 |
+
<rmconnect_version>rmconnectVersion</rmconnect_version>
|
90 |
</resources_function_prefix>
|
91 |
</v2>
|
92 |
<acl>
|
app/code/local/Rapidmail/RMConnect/etc/config.xml
CHANGED
@@ -14,7 +14,7 @@
|
|
14 |
<config>
|
15 |
<modules>
|
16 |
<Rapidmail_RMConnect>
|
17 |
-
<version>1.
|
18 |
</Rapidmail_RMConnect>
|
19 |
</modules>
|
20 |
<global>
|
@@ -23,6 +23,7 @@
|
|
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 |
</rewrite>
|
27 |
</rmconnect>
|
28 |
</models>
|
14 |
<config>
|
15 |
<modules>
|
16 |
<Rapidmail_RMConnect>
|
17 |
+
<version>1.3.0</version>
|
18 |
</Rapidmail_RMConnect>
|
19 |
</modules>
|
20 |
<global>
|
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>
|
app/code/local/Rapidmail/RMConnect/etc/wsdl.xml
CHANGED
@@ -1,150 +1,192 @@
|
|
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_status" type="xsd:int" minOccurs="0"/>
|
19 |
-
</all>
|
20 |
-
</complexType>
|
21 |
-
<complexType name="ArrayOfNewsletterSubscriberEntity">
|
22 |
-
<complexContent>
|
23 |
-
<restriction base="soapenc:Array">
|
24 |
-
<attribute ref="soapenc:arrayType" wsdl:arrayType="typens:newsletterSubscriberEntity[]"/>
|
25 |
-
</restriction>
|
26 |
-
</complexContent>
|
27 |
-
</complexType>
|
28 |
-
|
29 |
-
<complexType name="catalogProductExtEntity">
|
30 |
-
<all>
|
31 |
-
<element name="product_id" type="xsd:string" minOccurs="0"/>
|
32 |
-
<element name="sku" type="xsd:string" minOccurs="0"/>
|
33 |
-
<element name="name" type="xsd:string" minOccurs="0"/>
|
34 |
-
<element name="image" type="xsd:string" minOccurs="0"/>
|
35 |
-
<element name="url_path" type="xsd:string" minOccurs="0"/>
|
36 |
-
<element name="price" type="xsd:double" minOccurs="0"/>
|
37 |
-
<element name="description" type="xsd:string" minOccurs="0"/>
|
38 |
-
<element name="short_description" type="xsd:string" minOccurs="0"/>
|
39 |
-
<element name="created_at" type="xsd:string" minOccurs="0"/>
|
40 |
-
<element name="updated_at" type="xsd:string" minOccurs="0"/>
|
41 |
-
</all>
|
42 |
-
</complexType>
|
43 |
-
<complexType name="ArrayOfCatalogProductExtEntity">
|
44 |
-
<complexContent>
|
45 |
-
<restriction base="soapenc:Array">
|
46 |
-
<attribute ref="soapenc:arrayType" wsdl:arrayType="typens:catalogProductExtEntity[]"/>
|
47 |
-
</restriction>
|
48 |
-
</complexContent>
|
49 |
-
</complexType>
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
<
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
</
|
84 |
-
|
85 |
-
|
86 |
-
<
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
</
|
98 |
-
|
99 |
-
<portType name="{{var wsdl.handler}}PortType">
|
100 |
-
<operation name="
|
101 |
-
<documentation>
|
102 |
-
<input message="typens:
|
103 |
-
<output message="typens:
|
104 |
-
</operation>
|
105 |
-
</portType>
|
106 |
-
<binding name="{{var wsdl.handler}}Binding" type="typens:{{var wsdl.handler}}PortType">
|
107 |
-
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
|
108 |
-
<operation name="
|
109 |
-
<soap:operation soapAction="urn:{{var wsdl.handler}}Action"/>
|
110 |
-
<input>
|
111 |
-
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
112 |
-
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
113 |
-
</input>
|
114 |
-
<output>
|
115 |
-
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
116 |
-
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
117 |
-
</output>
|
118 |
-
</operation>
|
119 |
-
</binding>
|
120 |
-
|
121 |
-
<portType name="{{var wsdl.handler}}PortType">
|
122 |
-
<operation name="
|
123 |
-
<documentation>
|
124 |
-
<input message="typens:
|
125 |
-
<output message="typens:
|
126 |
-
</operation>
|
127 |
-
</portType>
|
128 |
-
<binding name="{{var wsdl.handler}}Binding" type="typens:{{var wsdl.handler}}PortType">
|
129 |
-
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
|
130 |
-
<operation name="
|
131 |
-
<soap:operation soapAction="urn:{{var wsdl.handler}}Action"/>
|
132 |
-
<input>
|
133 |
-
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
134 |
-
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
135 |
-
</input>
|
136 |
-
<output>
|
137 |
-
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
138 |
-
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
139 |
-
</output>
|
140 |
-
</operation>
|
141 |
-
</binding>
|
142 |
-
|
143 |
-
<
|
144 |
-
<
|
145 |
-
<
|
146 |
-
|
147 |
-
|
148 |
-
</
|
149 |
-
|
150 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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_status" type="xsd:int" minOccurs="0"/>
|
19 |
+
</all>
|
20 |
+
</complexType>
|
21 |
+
<complexType name="ArrayOfNewsletterSubscriberEntity">
|
22 |
+
<complexContent>
|
23 |
+
<restriction base="soapenc:Array">
|
24 |
+
<attribute ref="soapenc:arrayType" wsdl:arrayType="typens:newsletterSubscriberEntity[]"/>
|
25 |
+
</restriction>
|
26 |
+
</complexContent>
|
27 |
+
</complexType>
|
28 |
+
|
29 |
+
<complexType name="catalogProductExtEntity">
|
30 |
+
<all>
|
31 |
+
<element name="product_id" type="xsd:string" minOccurs="0"/>
|
32 |
+
<element name="sku" type="xsd:string" minOccurs="0"/>
|
33 |
+
<element name="name" type="xsd:string" minOccurs="0"/>
|
34 |
+
<element name="image" type="xsd:string" minOccurs="0"/>
|
35 |
+
<element name="url_path" type="xsd:string" minOccurs="0"/>
|
36 |
+
<element name="price" type="xsd:double" minOccurs="0"/>
|
37 |
+
<element name="description" type="xsd:string" minOccurs="0"/>
|
38 |
+
<element name="short_description" type="xsd:string" minOccurs="0"/>
|
39 |
+
<element name="created_at" type="xsd:string" minOccurs="0"/>
|
40 |
+
<element name="updated_at" type="xsd:string" minOccurs="0"/>
|
41 |
+
</all>
|
42 |
+
</complexType>
|
43 |
+
<complexType name="ArrayOfCatalogProductExtEntity">
|
44 |
+
<complexContent>
|
45 |
+
<restriction base="soapenc:Array">
|
46 |
+
<attribute ref="soapenc:arrayType" wsdl:arrayType="typens:catalogProductExtEntity[]"/>
|
47 |
+
</restriction>
|
48 |
+
</complexContent>
|
49 |
+
</complexType>
|
50 |
+
|
51 |
+
<complexType name="shopVersionEntity">
|
52 |
+
<all>
|
53 |
+
<element name="shop_version" type="xsd:string" minOccurs="0"/>
|
54 |
+
<element name="shop_edition" type="xsd:string" minOccurs="0"/>
|
55 |
+
<element name="extension_version" type="xsd:string" minOccurs="0"/>
|
56 |
+
</all>
|
57 |
+
</complexType>
|
58 |
+
<complexType name="ArrayOfShopVersionEntity">
|
59 |
+
<complexContent>
|
60 |
+
<restriction base="soapenc:Array">
|
61 |
+
<attribute ref="soapenc:arrayType" wsdl:arrayType="typens:shopVersionEntity[]"/>
|
62 |
+
</restriction>
|
63 |
+
</complexContent>
|
64 |
+
</complexType>
|
65 |
+
|
66 |
+
</schema>
|
67 |
+
</types>
|
68 |
+
|
69 |
+
<message name="rmconnectNewsletterSubscriberListRequest">
|
70 |
+
<part name="sessionId" type="xsd:string"/>
|
71 |
+
</message>
|
72 |
+
<message name="rmconnectNewsletterSubscriberListResponse">
|
73 |
+
<part name="result" type="typens:ArrayOfNewsletterSubscriberEntity"/>
|
74 |
+
</message>
|
75 |
+
|
76 |
+
<message name="rmconnectNewsletterSubscriberUpdateStatusRequest">
|
77 |
+
<part name="sessionId" type="xsd:string"/>
|
78 |
+
<part name="email" type="xsd:string"/>
|
79 |
+
<part name="status" type="xsd:int"/>
|
80 |
+
</message>
|
81 |
+
<message name="rmconnectNewsletterSubscriberUpdateStatusResponse">
|
82 |
+
<part name="result" type="xsd:int"/>
|
83 |
+
</message>
|
84 |
+
|
85 |
+
<message name="rmconnectCatalogProductListRequest">
|
86 |
+
<part name="sessionId" type="xsd:string"/>
|
87 |
+
</message>
|
88 |
+
<message name="rmconnectCatalogProductListResponse">
|
89 |
+
<part name="result" type="typens:ArrayOfCatalogProductExtEntity"/>
|
90 |
+
</message>
|
91 |
+
|
92 |
+
<message name="rmconnectVersionShopVersionRequest">
|
93 |
+
<part name="sessionId" type="xsd:string"/>
|
94 |
+
</message>
|
95 |
+
<message name="rmconnectVersionShopVersionResponse">
|
96 |
+
<part name="result" type="typens:ArrayOfShopVersionEntity"/>
|
97 |
+
</message>
|
98 |
+
|
99 |
+
<portType name="{{var wsdl.handler}}PortType">
|
100 |
+
<operation name="rmconnectNewsletterSubscriberList">
|
101 |
+
<documentation>Returns newsletter subscribers</documentation>
|
102 |
+
<input message="typens:rmconnectNewsletterSubscriberListRequest"/>
|
103 |
+
<output message="typens:rmconnectNewsletterSubscriberListResponse"/>
|
104 |
+
</operation>
|
105 |
+
</portType>
|
106 |
+
<binding name="{{var wsdl.handler}}Binding" type="typens:{{var wsdl.handler}}PortType">
|
107 |
+
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
|
108 |
+
<operation name="rmconnectNewsletterSubscriberList">
|
109 |
+
<soap:operation soapAction="urn:{{var wsdl.handler}}Action"/>
|
110 |
+
<input>
|
111 |
+
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
112 |
+
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
113 |
+
</input>
|
114 |
+
<output>
|
115 |
+
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
116 |
+
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
117 |
+
</output>
|
118 |
+
</operation>
|
119 |
+
</binding>
|
120 |
+
|
121 |
+
<portType name="{{var wsdl.handler}}PortType">
|
122 |
+
<operation name="rmconnectNewsletterSubscriberUpdateStatus">
|
123 |
+
<documentation>Update newsletter subscriber</documentation>
|
124 |
+
<input message="typens:rmconnectNewsletterSubscriberUpdateStatusRequest"/>
|
125 |
+
<output message="typens:rmconnectNewsletterSubscriberUpdateStatusResponse"/>
|
126 |
+
</operation>
|
127 |
+
</portType>
|
128 |
+
<binding name="{{var wsdl.handler}}Binding" type="typens:{{var wsdl.handler}}PortType">
|
129 |
+
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
|
130 |
+
<operation name="rmconnectNewsletterSubscriberUpdateStatus">
|
131 |
+
<soap:operation soapAction="urn:{{var wsdl.handler}}Action"/>
|
132 |
+
<input>
|
133 |
+
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
134 |
+
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
135 |
+
</input>
|
136 |
+
<output>
|
137 |
+
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
138 |
+
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
139 |
+
</output>
|
140 |
+
</operation>
|
141 |
+
</binding>
|
142 |
+
|
143 |
+
<portType name="{{var wsdl.handler}}PortType">
|
144 |
+
<operation name="rmconnectCatalogProductList">
|
145 |
+
<documentation>Returns catalog products</documentation>
|
146 |
+
<input message="typens:rmconnectCatalogProductListRequest"/>
|
147 |
+
<output message="typens:rmconnectCatalogProductListResponse"/>
|
148 |
+
</operation>
|
149 |
+
</portType>
|
150 |
+
<binding name="{{var wsdl.handler}}Binding" type="typens:{{var wsdl.handler}}PortType">
|
151 |
+
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
|
152 |
+
<operation name="rmconnectCatalogProductList">
|
153 |
+
<soap:operation soapAction="urn:{{var wsdl.handler}}Action"/>
|
154 |
+
<input>
|
155 |
+
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
156 |
+
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
157 |
+
</input>
|
158 |
+
<output>
|
159 |
+
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
160 |
+
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
161 |
+
</output>
|
162 |
+
</operation>
|
163 |
+
</binding>
|
164 |
+
|
165 |
+
<portType name="{{var wsdl.handler}}PortType">
|
166 |
+
<operation name="rmconnectVersionShopVersion">
|
167 |
+
<documentation>Returns shop version informations</documentation>
|
168 |
+
<input message="typens:rmconnectVersionShopVersionRequest"/>
|
169 |
+
<output message="typens:rmconnectVersionShopVersionResponse"/>
|
170 |
+
</operation>
|
171 |
+
</portType>
|
172 |
+
<binding name="{{var wsdl.handler}}Binding" type="typens:{{var wsdl.handler}}PortType">
|
173 |
+
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
|
174 |
+
<operation name="rmconnectVersionShopVersion">
|
175 |
+
<soap:operation soapAction="urn:{{var wsdl.handler}}Action"/>
|
176 |
+
<input>
|
177 |
+
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
178 |
+
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
179 |
+
</input>
|
180 |
+
<output>
|
181 |
+
<soap:body namespace="urn:{{var wsdl.name}}" use="encoded"
|
182 |
+
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
183 |
+
</output>
|
184 |
+
</operation>
|
185 |
+
</binding>
|
186 |
+
|
187 |
+
<service name="{{var wsdl.name}}Service">
|
188 |
+
<port name="{{var wsdl.handler}}Port" binding="typens:{{var wsdl.handler}}Binding">
|
189 |
+
<soap:address location="{{var wsdl.url}}"/>
|
190 |
+
</port>
|
191 |
+
</service>
|
192 |
+
</definitions>
|
app/etc/modules/Rapidmail_RMConnect.xml
CHANGED
@@ -17,7 +17,7 @@
|
|
17 |
<depends>
|
18 |
<Mage_Api />
|
19 |
</depends>
|
20 |
-
<version>1.
|
21 |
</Rapidmail_RMConnect>
|
22 |
</modules>
|
23 |
</config>
|
17 |
<depends>
|
18 |
<Mage_Api />
|
19 |
</depends>
|
20 |
+
<version>1.3.0</version>
|
21 |
</Rapidmail_RMConnect>
|
22 |
</modules>
|
23 |
</config>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Rapidmail_RMConnect</name>
|
4 |
-
<version>1.
|
5 |
<stability>stable</stability>
|
6 |
<license>GPL</license>
|
7 |
<channel>community</channel>
|
@@ -12,11 +12,13 @@
|
|
12 |
<p>Get the extension key and install the rapidmail Connector.<br />
|
13 |
Also take a look at the <a href="http://doc.rapidmail.net/pages/viewpage.action?pageId=655730">rapidmail user manual</a>
|
14 |
</p></description>
|
15 |
-
<notes>Added productlisting includes image, link and price, too
|
|
|
|
|
16 |
<authors><author><name>SK</name><user>auto-generated</user><email>support@rapidmail.de</email></author></authors>
|
17 |
-
<date>2014-
|
18 |
-
<time>
|
19 |
-
<contents><target name="magelocal"><dir name="Rapidmail"><dir name="RMConnect"><dir name="Model"><dir name="Catalog"><dir name="Api"><file name="V2.php" hash="f12dc4f9e5627493a55fb9d5ee90ee50"/></dir><file name="Api.php" hash="78966a1f4415bbd81f70c6934995298b"/></dir><dir name="Newsletter"><dir name="Api"><file name="V2.php" hash="
|
20 |
<compatible/>
|
21 |
<dependencies><required><php><min>5.3.0</min><max>6.0.0.</max></php></required></dependencies>
|
22 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Rapidmail_RMConnect</name>
|
4 |
+
<version>1.3.0</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>GPL</license>
|
7 |
<channel>community</channel>
|
12 |
<p>Get the extension key and install the rapidmail Connector.<br />
|
13 |
Also take a look at the <a href="http://doc.rapidmail.net/pages/viewpage.action?pageId=655730">rapidmail user manual</a>
|
14 |
</p></description>
|
15 |
+
<notes>Added productlisting includes image, link and price, too.
|
16 |
+

|
17 |
+
Consider table prefix getting subscribers, too.</notes>
|
18 |
<authors><author><name>SK</name><user>auto-generated</user><email>support@rapidmail.de</email></author></authors>
|
19 |
+
<date>2014-03-07</date>
|
20 |
+
<time>11:23:49</time>
|
21 |
+
<contents><target name="magelocal"><dir name="Rapidmail"><dir name="RMConnect"><dir name="Model"><dir name="Catalog"><dir name="Api"><file name="V2.php" hash="f12dc4f9e5627493a55fb9d5ee90ee50"/></dir><file name="Api.php" hash="78966a1f4415bbd81f70c6934995298b"/></dir><dir name="Newsletter"><dir name="Api"><file name="V2.php" hash="7d3a9335b48ae157046243e427cb745e"/></dir><file name="Api.php" hash="d08bb077ebad4060e1539f9fb5adf6e8"/></dir></dir><dir name="etc"><file name="api.xml" hash="016e75b9ec1b65e1facba373edadc0f1"/><file name="config.xml" hash="df1398c1f6bee0682ca128be496b33bb"/><file name="wsdl.xml" hash="b95cf8246a21ecf7289fd21f8b1ea805"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Rapidmail_RMConnect.xml" hash="b38e11f35fa67bc12931927ae58dc8da"/></dir></target></contents>
|
22 |
<compatible/>
|
23 |
<dependencies><required><php><min>5.3.0</min><max>6.0.0.</max></php></required></dependencies>
|
24 |
</package>
|