Version Notes
OroCRM Bridge extension adds a couple of improvements to Magento SOAP API v2 in order to expose more shopping cart and customer data.
Download this release
Release Info
Developer | Oro, Inc |
Extension | Oro_Api |
Version | 1.0.1 |
Comparing to | |
See all releases |
Code changes from version 1.0.0 to 1.0.1
- app/code/community/Oro/Api/Helper/Data.php +21 -1
- app/code/community/Oro/Api/Model/Customer/Api.php +109 -0
- app/code/community/Oro/Api/Model/Customer/Api/V2.php +22 -0
- app/code/community/Oro/Api/Model/Sales/Order/Api.php +156 -0
- app/code/community/Oro/Api/Model/Sales/Order/Api/V2.php +22 -0
- app/code/community/Oro/Api/Model/Sales/Quote/Api.php +7 -10
- app/code/community/Oro/Api/etc/api.xml +53 -13
- app/code/community/Oro/Api/etc/wsdl.xml +101 -6
- app/code/community/Oro/Api/etc/wsi.xml +484 -0
- app/etc/modules/Oro_Api.xml +2 -17
- package.xml +4 -4
app/code/community/Oro/Api/Helper/Data.php
CHANGED
@@ -112,4 +112,24 @@ class Oro_Api_Helper_Data
|
|
112 |
$conditionValue = explode($delimiter, $conditionValue);
|
113 |
}
|
114 |
}
|
115 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
112 |
$conditionValue = explode($delimiter, $conditionValue);
|
113 |
}
|
114 |
}
|
115 |
+
|
116 |
+
/**
|
117 |
+
* @param Varien_Data_Collection_Db $collection
|
118 |
+
* @param \stdClass|null $pager
|
119 |
+
*
|
120 |
+
* @return boolean
|
121 |
+
*/
|
122 |
+
public function applyPager($collection, $pager)
|
123 |
+
{
|
124 |
+
if ($pager->pageSize && $pager->page) {
|
125 |
+
$collection->setCurPage($pager->page);
|
126 |
+
$collection->setPageSize($pager->pageSize);
|
127 |
+
|
128 |
+
if ($collection->getCurPage() != $pager->page) {
|
129 |
+
return false;
|
130 |
+
}
|
131 |
+
}
|
132 |
+
|
133 |
+
return true;
|
134 |
+
}
|
135 |
+
}
|
app/code/community/Oro/Api/Model/Customer/Api.php
ADDED
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Oro Inc.
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is published at http://opensource.org/licenses/osl-3.0.php.
|
9 |
+
* If you did not receive a copy of the license and are unable to
|
10 |
+
* obtain it through the world-wide-web, please send an email
|
11 |
+
* to license@magecore.com so we can send you a copy immediately
|
12 |
+
*
|
13 |
+
* @category Oro
|
14 |
+
* @package Api
|
15 |
+
* @copyright Copyright 2013 Oro Inc. (http://www.orocrm.com)
|
16 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
17 |
+
*/
|
18 |
+
class Oro_Api_Model_Customer_Api extends Mage_Customer_Model_Api_Resource
|
19 |
+
{
|
20 |
+
protected $_mapAttributes = array(
|
21 |
+
'customer_id' => 'entity_id'
|
22 |
+
);
|
23 |
+
|
24 |
+
protected $_mapAddressAttributes = array(
|
25 |
+
'customer_address_id' => 'entity_id'
|
26 |
+
);
|
27 |
+
|
28 |
+
/**
|
29 |
+
* Retrieve customers data
|
30 |
+
*
|
31 |
+
* @param object|array $filters
|
32 |
+
* @param \stdClass $pager
|
33 |
+
*
|
34 |
+
* @return array
|
35 |
+
*/
|
36 |
+
public function items($filters, $pager)
|
37 |
+
{
|
38 |
+
$collection = Mage::getModel('customer/customer')->getCollection()->addAttributeToSelect('*');
|
39 |
+
|
40 |
+
/** @var $apiHelper Oro_Api_Helper_Data */
|
41 |
+
$apiHelper = Mage::helper('oro_api');
|
42 |
+
|
43 |
+
$filters = $apiHelper->parseFilters($filters, $this->_mapAttributes);
|
44 |
+
try {
|
45 |
+
foreach ($filters as $field => $value) {
|
46 |
+
$collection->addFieldToFilter($field, $value);
|
47 |
+
}
|
48 |
+
} catch (Mage_Core_Exception $e) {
|
49 |
+
$this->_fault('filters_invalid', $e->getMessage());
|
50 |
+
}
|
51 |
+
|
52 |
+
$collection->setOrder('entity_id');
|
53 |
+
if (!$apiHelper->applyPager($collection, $pager)) {
|
54 |
+
// there's no such page, so no results for it
|
55 |
+
return array();
|
56 |
+
}
|
57 |
+
|
58 |
+
$result = array();
|
59 |
+
foreach ($collection as $customer) {
|
60 |
+
$row = array();
|
61 |
+
|
62 |
+
foreach ($this->_mapAttributes as $attributeAlias => $attributeCode) {
|
63 |
+
$row[$attributeAlias] = $customer->getData($attributeCode);
|
64 |
+
}
|
65 |
+
|
66 |
+
foreach ($this->getAllowedAttributes($customer) as $attributeCode => $attribute) {
|
67 |
+
$row[$attributeCode] = $customer->getData($attributeCode);
|
68 |
+
}
|
69 |
+
|
70 |
+
$row['addresses'] = $this->getAddressItems($customer);
|
71 |
+
$result[] = $row;
|
72 |
+
}
|
73 |
+
|
74 |
+
return $result;
|
75 |
+
}
|
76 |
+
|
77 |
+
/**
|
78 |
+
* Retrieve customer addresses list
|
79 |
+
*
|
80 |
+
* @param Mage_Customer_Model_Customer $customer
|
81 |
+
*
|
82 |
+
* @return array
|
83 |
+
*/
|
84 |
+
protected function getAddressItems($customer)
|
85 |
+
{
|
86 |
+
$result = array();
|
87 |
+
foreach ($customer->getAddresses() as $address) {
|
88 |
+
$data = $address->toArray();
|
89 |
+
$row = array();
|
90 |
+
|
91 |
+
foreach ($this->_mapAddressAttributes as $attributeAlias => $attributeCode) {
|
92 |
+
$row[$attributeAlias] = isset($data[$attributeCode]) ? $data[$attributeCode] : null;
|
93 |
+
}
|
94 |
+
|
95 |
+
foreach ($this->getAllowedAttributes($address) as $attributeCode => $attribute) {
|
96 |
+
if (isset($data[$attributeCode])) {
|
97 |
+
$row[$attributeCode] = $data[$attributeCode];
|
98 |
+
}
|
99 |
+
}
|
100 |
+
|
101 |
+
$row['is_default_billing'] = $customer->getDefaultBilling() == $address->getId();
|
102 |
+
$row['is_default_shipping'] = $customer->getDefaultShipping() == $address->getId();
|
103 |
+
|
104 |
+
$result[] = $row;
|
105 |
+
}
|
106 |
+
|
107 |
+
return $result;
|
108 |
+
}
|
109 |
+
}
|
app/code/community/Oro/Api/Model/Customer/Api/V2.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Oro Inc.
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is published at http://opensource.org/licenses/osl-3.0.php.
|
9 |
+
* If you did not receive a copy of the license and are unable to
|
10 |
+
* obtain it through the world-wide-web, please send an email
|
11 |
+
* to license@magecore.com so we can send you a copy immediately
|
12 |
+
*
|
13 |
+
* @category Oro
|
14 |
+
* @package Api
|
15 |
+
* @copyright Copyright 2013 Oro Inc. (http://www.orocrm.com)
|
16 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
17 |
+
*/
|
18 |
+
class Oro_Api_Model_Customer_Api_V2
|
19 |
+
extends Oro_Api_Model_Customer_Api
|
20 |
+
{
|
21 |
+
|
22 |
+
}
|
app/code/community/Oro/Api/Model/Sales/Order/Api.php
ADDED
@@ -0,0 +1,156 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Oro Inc.
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is published at http://opensource.org/licenses/osl-3.0.php.
|
9 |
+
* If you did not receive a copy of the license and are unable to
|
10 |
+
* obtain it through the world-wide-web, please send an email
|
11 |
+
* to license@magecore.com so we can send you a copy immediately
|
12 |
+
*
|
13 |
+
* @category Oro
|
14 |
+
* @package Api
|
15 |
+
* @copyright Copyright 2013 Oro Inc. (http://www.orocrm.com)
|
16 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
17 |
+
*/
|
18 |
+
class Oro_Api_Model_Sales_Order_Api extends Mage_Sales_Model_Api_Resource
|
19 |
+
{
|
20 |
+
protected $_attributesMap = array(
|
21 |
+
'order' => array('order_id' => 'entity_id'),
|
22 |
+
);
|
23 |
+
|
24 |
+
/**
|
25 |
+
* Retrieve list of orders. Filtration could be applied
|
26 |
+
*
|
27 |
+
* @param null|object|array $filters
|
28 |
+
* @param null|\stdClass $pager
|
29 |
+
*
|
30 |
+
* @return array
|
31 |
+
*/
|
32 |
+
public function items($filters = null, $pager = null)
|
33 |
+
{
|
34 |
+
$orders = array();
|
35 |
+
$orderCollection = $this->getOrderCollection();
|
36 |
+
|
37 |
+
/** @var $apiHelper Oro_Api_Helper_Data */
|
38 |
+
$apiHelper = Mage::helper('oro_api');
|
39 |
+
|
40 |
+
$filters = $apiHelper->parseFilters($filters, $this->_attributesMap['order']);
|
41 |
+
try {
|
42 |
+
foreach ($filters as $field => $value) {
|
43 |
+
$orderCollection->addFieldToFilter($field, $value);
|
44 |
+
}
|
45 |
+
} catch (Mage_Core_Exception $e) {
|
46 |
+
$this->_fault('filters_invalid', $e->getMessage());
|
47 |
+
}
|
48 |
+
|
49 |
+
$orderCollection->setOrder('entity_id');
|
50 |
+
if (!$apiHelper->applyPager($orderCollection, $pager)) {
|
51 |
+
// there's no such page, so no results for it
|
52 |
+
return array();
|
53 |
+
}
|
54 |
+
|
55 |
+
foreach ($orderCollection as $order) {
|
56 |
+
$orderArray = $this->_getAttributes($order, 'order');
|
57 |
+
|
58 |
+
$orders[] = array_merge($orderArray, $this->info($order));
|
59 |
+
}
|
60 |
+
|
61 |
+
return $orders;
|
62 |
+
}
|
63 |
+
|
64 |
+
/**
|
65 |
+
* Retrieve full order information
|
66 |
+
*
|
67 |
+
* @param object $order
|
68 |
+
* @return array
|
69 |
+
*/
|
70 |
+
protected function info($order)
|
71 |
+
{
|
72 |
+
if ($order->getGiftMessageId() > 0) {
|
73 |
+
$order->setGiftMessage(
|
74 |
+
Mage::getSingleton('giftmessage/message')->load($order->getGiftMessageId())->getMessage()
|
75 |
+
);
|
76 |
+
}
|
77 |
+
|
78 |
+
$result = [];
|
79 |
+
$result['shipping_address'] = $this->_getAttributes($order->getShippingAddress(), 'order_address');
|
80 |
+
$result['billing_address'] = $this->_getAttributes($order->getBillingAddress(), 'order_address');
|
81 |
+
$result['items'] = array();
|
82 |
+
|
83 |
+
foreach ($order->getAllItems() as $item) {
|
84 |
+
if ($item->getGiftMessageId() > 0) {
|
85 |
+
$item->setGiftMessage(
|
86 |
+
Mage::getSingleton('giftmessage/message')->load($item->getGiftMessageId())->getMessage()
|
87 |
+
);
|
88 |
+
}
|
89 |
+
|
90 |
+
$result['items'][] = $this->_getAttributes($item, 'order_item');
|
91 |
+
}
|
92 |
+
|
93 |
+
$result['payment'] = $this->_getAttributes($order->getPayment(), 'order_payment');
|
94 |
+
|
95 |
+
$result['status_history'] = array();
|
96 |
+
|
97 |
+
foreach ($order->getAllStatusHistory() as $history) {
|
98 |
+
$result['status_history'][] = $this->_getAttributes($history, 'order_status_history');
|
99 |
+
}
|
100 |
+
|
101 |
+
return $result;
|
102 |
+
}
|
103 |
+
|
104 |
+
/**
|
105 |
+
* @return Mage_Sales_Model_Mysql4_Order_Collection
|
106 |
+
*/
|
107 |
+
protected function getOrderCollection()
|
108 |
+
{
|
109 |
+
//TODO: add full name logic
|
110 |
+
$billingAliasName = 'billing_o_a';
|
111 |
+
$shippingAliasName = 'shipping_o_a';
|
112 |
+
|
113 |
+
/** @var $orderCollection Mage_Sales_Model_Mysql4_Order_Collection */
|
114 |
+
$orderCollection = Mage::getModel("sales/order")->getCollection();
|
115 |
+
|
116 |
+
$billingFirstnameField = "$billingAliasName.firstname";
|
117 |
+
$billingLastnameField = "$billingAliasName.lastname";
|
118 |
+
$shippingFirstnameField = "$shippingAliasName.firstname";
|
119 |
+
$shippingLastnameField = "$shippingAliasName.lastname";
|
120 |
+
|
121 |
+
$orderCollection->addAttributeToSelect('*')
|
122 |
+
->addAddressFields()
|
123 |
+
->addExpressionFieldToSelect(
|
124 |
+
'billing_firstname',
|
125 |
+
"{{billing_firstname}}",
|
126 |
+
array('billing_firstname' => $billingFirstnameField)
|
127 |
+
)
|
128 |
+
->addExpressionFieldToSelect(
|
129 |
+
'billing_lastname',
|
130 |
+
"{{billing_lastname}}",
|
131 |
+
array('billing_lastname' => $billingLastnameField)
|
132 |
+
)
|
133 |
+
->addExpressionFieldToSelect(
|
134 |
+
'shipping_firstname',
|
135 |
+
"{{shipping_firstname}}",
|
136 |
+
array('shipping_firstname' => $shippingFirstnameField)
|
137 |
+
)
|
138 |
+
->addExpressionFieldToSelect(
|
139 |
+
'shipping_lastname',
|
140 |
+
"{{shipping_lastname}}",
|
141 |
+
array('shipping_lastname' => $shippingLastnameField)
|
142 |
+
)
|
143 |
+
->addExpressionFieldToSelect(
|
144 |
+
'billing_name',
|
145 |
+
"CONCAT({{billing_firstname}}, ' ', {{billing_lastname}})",
|
146 |
+
array('billing_firstname' => $billingFirstnameField, 'billing_lastname' => $billingLastnameField)
|
147 |
+
)
|
148 |
+
->addExpressionFieldToSelect(
|
149 |
+
'shipping_name',
|
150 |
+
'CONCAT({{shipping_firstname}}, " ", {{shipping_lastname}})',
|
151 |
+
array('shipping_firstname' => $shippingFirstnameField, 'shipping_lastname' => $shippingLastnameField)
|
152 |
+
);
|
153 |
+
|
154 |
+
return $orderCollection;
|
155 |
+
}
|
156 |
+
}
|
app/code/community/Oro/Api/Model/Sales/Order/Api/V2.php
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Oro Inc.
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is published at http://opensource.org/licenses/osl-3.0.php.
|
9 |
+
* If you did not receive a copy of the license and are unable to
|
10 |
+
* obtain it through the world-wide-web, please send an email
|
11 |
+
* to license@magecore.com so we can send you a copy immediately
|
12 |
+
*
|
13 |
+
* @category Oro
|
14 |
+
* @package Api
|
15 |
+
* @copyright Copyright 2013 Oro Inc. (http://www.orocrm.com)
|
16 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
17 |
+
*/
|
18 |
+
class Oro_Api_Model_Sales_Order_Api_V2
|
19 |
+
extends Oro_Api_Model_Sales_Order_Api
|
20 |
+
{
|
21 |
+
|
22 |
+
}
|
app/code/community/Oro/Api/Model/Sales/Quote/Api.php
CHANGED
@@ -20,7 +20,8 @@ class Oro_Api_Model_Sales_Quote_Api
|
|
20 |
{
|
21 |
/**
|
22 |
* @param array|object $filters
|
23 |
-
* @param
|
|
|
24 |
* @return array
|
25 |
*/
|
26 |
public function items($filters, $pager)
|
@@ -28,7 +29,7 @@ class Oro_Api_Model_Sales_Quote_Api
|
|
28 |
/** @var Mage_Sales_Model_Resource_Quote_Collection $quoteCollection */
|
29 |
$quoteCollection = Mage::getResourceModel('sales/quote_collection');
|
30 |
|
31 |
-
/** @var $apiHelper
|
32 |
$apiHelper = Mage::helper('oro_api');
|
33 |
|
34 |
$filters = $apiHelper->parseFilters($filters, $this->_attributesMap['quote']);
|
@@ -40,14 +41,10 @@ class Oro_Api_Model_Sales_Quote_Api
|
|
40 |
$this->_fault('filters_invalid', $e->getMessage());
|
41 |
}
|
42 |
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
if ($quoteCollection->getCurPage() != $pager->page) {
|
48 |
-
// there's no such page, so no results for it
|
49 |
-
return array();
|
50 |
-
}
|
51 |
}
|
52 |
|
53 |
$resultArray = array();
|
20 |
{
|
21 |
/**
|
22 |
* @param array|object $filters
|
23 |
+
* @param \stdClass $pager
|
24 |
+
*
|
25 |
* @return array
|
26 |
*/
|
27 |
public function items($filters, $pager)
|
29 |
/** @var Mage_Sales_Model_Resource_Quote_Collection $quoteCollection */
|
30 |
$quoteCollection = Mage::getResourceModel('sales/quote_collection');
|
31 |
|
32 |
+
/** @var $apiHelper Oro_Api_Helper_Data */
|
33 |
$apiHelper = Mage::helper('oro_api');
|
34 |
|
35 |
$filters = $apiHelper->parseFilters($filters, $this->_attributesMap['quote']);
|
41 |
$this->_fault('filters_invalid', $e->getMessage());
|
42 |
}
|
43 |
|
44 |
+
$quoteCollection->setOrder('entity_id');
|
45 |
+
if (!$apiHelper->applyPager($quoteCollection, $pager)) {
|
46 |
+
// there's no such page, so no results for it
|
47 |
+
return array();
|
|
|
|
|
|
|
|
|
48 |
}
|
49 |
|
50 |
$resultArray = array();
|
app/code/community/Oro/Api/etc/api.xml
CHANGED
@@ -32,7 +32,7 @@
|
|
32 |
</ping>
|
33 |
</methods>
|
34 |
</oro>
|
35 |
-
<
|
36 |
<model>oro_api/sales_quote_api</model>
|
37 |
<title>Quote Information</title>
|
38 |
<acl>sales/quote</acl>
|
@@ -43,7 +43,31 @@
|
|
43 |
<acl>sales/quote/info</acl>
|
44 |
</list>
|
45 |
</methods>
|
46 |
-
</
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
<wishlist translate="title" module="oro_api">
|
48 |
<model>oro_api/wishlist_api</model>
|
49 |
<title>Wishlist</title>
|
@@ -95,9 +119,6 @@
|
|
95 |
</resources>
|
96 |
<rest>
|
97 |
<mapping>
|
98 |
-
<sales_quote_list>
|
99 |
-
<get><method>list</method></get>
|
100 |
-
</sales_quote_list>
|
101 |
<wishlist_list>
|
102 |
<get><method>list</method></get>
|
103 |
</wishlist_list>
|
@@ -113,6 +134,15 @@
|
|
113 |
<oro_ping>
|
114 |
<get><method>ping</method></get>
|
115 |
</oro_ping>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
</mapping>
|
117 |
</rest>
|
118 |
<acl>
|
@@ -122,13 +152,21 @@
|
|
122 |
<title>Oro ping</title>
|
123 |
</info>
|
124 |
</oro_ping>
|
125 |
-
<
|
126 |
-
<
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
132 |
<wishlist>
|
133 |
<info translate="title" module="oro_api">
|
134 |
<title>Wishlist info</title>
|
@@ -154,7 +192,9 @@
|
|
154 |
<v2>
|
155 |
<resources_function_prefix>
|
156 |
<oro>oro</oro>
|
157 |
-
<
|
|
|
|
|
158 |
<wishlist>wishlist</wishlist>
|
159 |
<wishlist_item>wishlistItem</wishlist_item>
|
160 |
<report_product_viewed>reportProductViewed</report_product_viewed>
|
32 |
</ping>
|
33 |
</methods>
|
34 |
</oro>
|
35 |
+
<oro_quote translate="title" module="oro_api">
|
36 |
<model>oro_api/sales_quote_api</model>
|
37 |
<title>Quote Information</title>
|
38 |
<acl>sales/quote</acl>
|
43 |
<acl>sales/quote/info</acl>
|
44 |
</list>
|
45 |
</methods>
|
46 |
+
</oro_quote>
|
47 |
+
<oro_order translate="title" module="oro_api">
|
48 |
+
<model>oro_api/sales_order_api</model>
|
49 |
+
<title>Order Information</title>
|
50 |
+
<acl>sales/order</acl>
|
51 |
+
<methods>
|
52 |
+
<list translate="title" module="oro_api">
|
53 |
+
<title>Get order list by filters</title>
|
54 |
+
<method>items</method>
|
55 |
+
<acl>sales/order/info</acl>
|
56 |
+
</list>
|
57 |
+
</methods>
|
58 |
+
</oro_order>
|
59 |
+
<oro_customer translate="title" module="oro_api">
|
60 |
+
<model>oro_api/customer_api</model>
|
61 |
+
<title>Customer List Information</title>
|
62 |
+
<acl>sales/customer</acl>
|
63 |
+
<methods>
|
64 |
+
<list translate="title" module="oro_api">
|
65 |
+
<title>Get customer list by filters</title>
|
66 |
+
<method>items</method>
|
67 |
+
<acl>sales/customer/info</acl>
|
68 |
+
</list>
|
69 |
+
</methods>
|
70 |
+
</oro_customer>
|
71 |
<wishlist translate="title" module="oro_api">
|
72 |
<model>oro_api/wishlist_api</model>
|
73 |
<title>Wishlist</title>
|
119 |
</resources>
|
120 |
<rest>
|
121 |
<mapping>
|
|
|
|
|
|
|
122 |
<wishlist_list>
|
123 |
<get><method>list</method></get>
|
124 |
</wishlist_list>
|
134 |
<oro_ping>
|
135 |
<get><method>ping</method></get>
|
136 |
</oro_ping>
|
137 |
+
<oro_order_list>
|
138 |
+
<get><method>list</method></get>
|
139 |
+
</oro_order_list>
|
140 |
+
<oro_customer_list>
|
141 |
+
<get><method>list</method></get>
|
142 |
+
</oro_customer_list>
|
143 |
+
<oro_quote_list>
|
144 |
+
<get><method>list</method></get>
|
145 |
+
</oro_quote_list>
|
146 |
</mapping>
|
147 |
</rest>
|
148 |
<acl>
|
152 |
<title>Oro ping</title>
|
153 |
</info>
|
154 |
</oro_ping>
|
155 |
+
<oro_quote>
|
156 |
+
<info translate="title" module="oro_api">
|
157 |
+
<title>Quote info</title>
|
158 |
+
</info>
|
159 |
+
</oro_quote>
|
160 |
+
<oro_order>
|
161 |
+
<info translate="title" module="oro_api">
|
162 |
+
<title>Order info</title>
|
163 |
+
</info>
|
164 |
+
</oro_order>
|
165 |
+
<oro_customer>
|
166 |
+
<info translate="title" module="oro_api">
|
167 |
+
<title>Customer info</title>
|
168 |
+
</info>
|
169 |
+
</oro_customer>
|
170 |
<wishlist>
|
171 |
<info translate="title" module="oro_api">
|
172 |
<title>Wishlist info</title>
|
192 |
<v2>
|
193 |
<resources_function_prefix>
|
194 |
<oro>oro</oro>
|
195 |
+
<oro_quote>oroQuote</oro_quote>
|
196 |
+
<oro_order>oroOrder</oro_order>
|
197 |
+
<oro_customer>oroCustomer</oro_customer>
|
198 |
<wishlist>wishlist</wishlist>
|
199 |
<wishlist_item>wishlistItem</wishlist_item>
|
200 |
<report_product_viewed>reportProductViewed</report_product_viewed>
|
app/code/community/Oro/Api/etc/wsdl.xml
CHANGED
@@ -107,6 +107,15 @@
|
|
107 |
</restriction>
|
108 |
</complexContent>
|
109 |
</complexType>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
110 |
<complexType name="wishlistEntity">
|
111 |
<all>
|
112 |
<element name="wishlist_id" type="xsd:string" minOccurs="0" />
|
@@ -194,40 +203,92 @@
|
|
194 |
<element name="mage_edition" type="xsd:string" minOccurs="0" />
|
195 |
</all>
|
196 |
</complexType>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
197 |
</schema>
|
198 |
</types>
|
|
|
199 |
<portType name="{{var wsdl.handler}}PortType">
|
200 |
<operation name="oroPing">
|
201 |
<documentation>Get basic presence info</documentation>
|
202 |
<input message="typens:oroPingRequest"/>
|
203 |
<output message="typens:oroPingResponse"/>
|
204 |
</operation>
|
205 |
-
|
|
|
206 |
<documentation>Get quote data list</documentation>
|
207 |
-
<input message="typens:
|
208 |
-
<output message="typens:
|
209 |
</operation>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
210 |
<operation name="wishlistList">
|
211 |
<documentation>Get wishlist collection</documentation>
|
212 |
<input message="typens:wishlistListRequest"/>
|
213 |
<output message="typens:wishlistListResponse"/>
|
214 |
</operation>
|
|
|
215 |
<operation name="wishlistItemList">
|
216 |
<documentation>Get wishlist item collection</documentation>
|
217 |
<input message="typens:wishlistItemListRequest"/>
|
218 |
<output message="typens:wishlistItemListResponse"/>
|
219 |
</operation>
|
|
|
220 |
<operation name="reportProductViewedList">
|
221 |
<documentation>Get wishlist item collection</documentation>
|
222 |
<input message="typens:reportProductViewedListRequest"/>
|
223 |
<output message="typens:reportProductViewedListResponse"/>
|
224 |
</operation>
|
|
|
225 |
<operation name="newsletterSubscriberList">
|
226 |
<documentation>Newsletter subscriber collection</documentation>
|
227 |
<input message="typens:newsletterSubscriberListRequest"/>
|
228 |
<output message="typens:newsletterSubscriberListResponse"/>
|
229 |
</operation>
|
230 |
</portType>
|
|
|
231 |
<binding name="{{var wsdl.handler}}Binding" type="typens:{{var wsdl.handler}}PortType">
|
232 |
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
|
233 |
<operation name="oroPing">
|
@@ -235,7 +296,17 @@
|
|
235 |
<input><soap:body namespace="urn:{{var wsdl.name}}" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
|
236 |
<output><soap:body namespace="urn:{{var wsdl.name}}" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
|
237 |
</operation>
|
238 |
-
<operation name="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
239 |
<soap:operation soapAction="urn:{{var wsdl.handler}}Action"/>
|
240 |
<input><soap:body namespace="urn:{{var wsdl.name}}" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
|
241 |
<output><soap:body namespace="urn:{{var wsdl.name}}" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
|
@@ -261,20 +332,41 @@
|
|
261 |
<output><soap:body namespace="urn:{{var wsdl.name}}" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
|
262 |
</operation>
|
263 |
</binding>
|
|
|
264 |
<message name="oroPingRequest">
|
265 |
<part name="sessionId" type="xsd:string" />
|
266 |
</message>
|
267 |
<message name="oroPingResponse">
|
268 |
<part name="result" type="typens:oroPingResponse" />
|
269 |
</message>
|
270 |
-
|
|
|
271 |
<part name="sessionId" type="xsd:string" />
|
272 |
<part name="filters" type="typens:filters" />
|
273 |
<part name="pager" type="typens:pager" />
|
274 |
</message>
|
275 |
-
<message name="
|
276 |
<part name="result" type="typens:salesQuoteEntityArray" />
|
277 |
</message>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
278 |
<message name="wishlistListRequest">
|
279 |
<part name="sessionId" type="xsd:string" />
|
280 |
<part name="filters" type="typens:filters" />
|
@@ -282,6 +374,7 @@
|
|
282 |
<message name="wishlistListResponse">
|
283 |
<part name="result" type="typens:wishlistEntityArray" />
|
284 |
</message>
|
|
|
285 |
<message name="wishlistItemListRequest">
|
286 |
<part name="sessionId" type="xsd:string" />
|
287 |
<part name="filters" type="typens:filters" />
|
@@ -289,6 +382,7 @@
|
|
289 |
<message name="wishlistItemListResponse">
|
290 |
<part name="result" type="typens:wishlistItemEntityArray" />
|
291 |
</message>
|
|
|
292 |
<!-- Report Product Viewed -->
|
293 |
<message name="reportProductViewedListRequest">
|
294 |
<part name="sessionId" type="xsd:string" />
|
@@ -298,6 +392,7 @@
|
|
298 |
<part name="result" type="typens:reportProductViewedEntityArray" />
|
299 |
</message>
|
300 |
<!-- Report Product Viewed -->
|
|
|
301 |
<!-- Newsletters Subscriber -->
|
302 |
<message name="newsletterSubscriberListRequest">
|
303 |
<part name="sessionId" type="xsd:string" />
|
107 |
</restriction>
|
108 |
</complexContent>
|
109 |
</complexType>
|
110 |
+
|
111 |
+
<complexType name="salesOrderEntityArray">
|
112 |
+
<complexContent>
|
113 |
+
<restriction base="soapenc:Array">
|
114 |
+
<attribute ref="soapenc:arrayType" wsdl:arrayType="typens:salesOrderEntity[]" />
|
115 |
+
</restriction>
|
116 |
+
</complexContent>
|
117 |
+
</complexType>
|
118 |
+
|
119 |
<complexType name="wishlistEntity">
|
120 |
<all>
|
121 |
<element name="wishlist_id" type="xsd:string" minOccurs="0" />
|
203 |
<element name="mage_edition" type="xsd:string" minOccurs="0" />
|
204 |
</all>
|
205 |
</complexType>
|
206 |
+
|
207 |
+
<complexType name="oroCustomerEntity">
|
208 |
+
<all>
|
209 |
+
<element name="customer_id" type="xsd:int" minOccurs="0" />
|
210 |
+
<element name="created_at" type="xsd:string" minOccurs="0" />
|
211 |
+
<element name="updated_at" type="xsd:string" minOccurs="0" />
|
212 |
+
<element name="increment_id" type="xsd:string" minOccurs="0" />
|
213 |
+
<element name="store_id" type="xsd:int" minOccurs="0" />
|
214 |
+
<element name="website_id" type="xsd:int" minOccurs="0" />
|
215 |
+
<element name="created_in" type="xsd:string" minOccurs="0" />
|
216 |
+
<element name="email" type="xsd:string" minOccurs="0" />
|
217 |
+
<element name="firstname" type="xsd:string" minOccurs="0" />
|
218 |
+
<element name="middlename" type="xsd:string" minOccurs="0" />
|
219 |
+
<element name="lastname" type="xsd:string" minOccurs="0" />
|
220 |
+
<element name="group_id" type="xsd:int" minOccurs="0" />
|
221 |
+
<element name="prefix" type="xsd:string" minOccurs="0" />
|
222 |
+
<element name="suffix" type="xsd:string" minOccurs="0" />
|
223 |
+
<element name="dob" type="xsd:string" minOccurs="0" />
|
224 |
+
<element name="taxvat" type="xsd:string" minOccurs="0" />
|
225 |
+
<element name="confirmation" type="xsd:boolean" minOccurs="0" />
|
226 |
+
<element name="password_hash" type="xsd:string" minOccurs="0" />
|
227 |
+
|
228 |
+
<element name="addresses" type="typens:customerAddressEntityArray" minOccurs="1"/>
|
229 |
+
</all>
|
230 |
+
</complexType>
|
231 |
+
|
232 |
+
<complexType name="oroCustomerEntityArray">
|
233 |
+
<complexContent>
|
234 |
+
<restriction base="soapenc:Array">
|
235 |
+
<attribute ref="soapenc:arrayType" wsdl:arrayType="typens:oroCustomerEntity[]" />
|
236 |
+
</restriction>
|
237 |
+
</complexContent>
|
238 |
+
</complexType>
|
239 |
</schema>
|
240 |
</types>
|
241 |
+
|
242 |
<portType name="{{var wsdl.handler}}PortType">
|
243 |
<operation name="oroPing">
|
244 |
<documentation>Get basic presence info</documentation>
|
245 |
<input message="typens:oroPingRequest"/>
|
246 |
<output message="typens:oroPingResponse"/>
|
247 |
</operation>
|
248 |
+
|
249 |
+
<operation name="oroQuoteList">
|
250 |
<documentation>Get quote data list</documentation>
|
251 |
+
<input message="typens:oroQuoteListRequest"/>
|
252 |
+
<output message="typens:oroQuoteListResponse"/>
|
253 |
</operation>
|
254 |
+
|
255 |
+
<operation name="oroOrderList">
|
256 |
+
<documentation>Get quote data list</documentation>
|
257 |
+
<input message="typens:oroOrderListRequest"/>
|
258 |
+
<output message="typens:oroOrderListResponse"/>
|
259 |
+
</operation>
|
260 |
+
|
261 |
+
<operation name="oroCustomerList">
|
262 |
+
<documentation>Get quote data list</documentation>
|
263 |
+
<input message="typens:oroCustomerListRequest"/>
|
264 |
+
<output message="typens:oroCustomerListResponse"/>
|
265 |
+
</operation>
|
266 |
+
|
267 |
<operation name="wishlistList">
|
268 |
<documentation>Get wishlist collection</documentation>
|
269 |
<input message="typens:wishlistListRequest"/>
|
270 |
<output message="typens:wishlistListResponse"/>
|
271 |
</operation>
|
272 |
+
|
273 |
<operation name="wishlistItemList">
|
274 |
<documentation>Get wishlist item collection</documentation>
|
275 |
<input message="typens:wishlistItemListRequest"/>
|
276 |
<output message="typens:wishlistItemListResponse"/>
|
277 |
</operation>
|
278 |
+
|
279 |
<operation name="reportProductViewedList">
|
280 |
<documentation>Get wishlist item collection</documentation>
|
281 |
<input message="typens:reportProductViewedListRequest"/>
|
282 |
<output message="typens:reportProductViewedListResponse"/>
|
283 |
</operation>
|
284 |
+
|
285 |
<operation name="newsletterSubscriberList">
|
286 |
<documentation>Newsletter subscriber collection</documentation>
|
287 |
<input message="typens:newsletterSubscriberListRequest"/>
|
288 |
<output message="typens:newsletterSubscriberListResponse"/>
|
289 |
</operation>
|
290 |
</portType>
|
291 |
+
|
292 |
<binding name="{{var wsdl.handler}}Binding" type="typens:{{var wsdl.handler}}PortType">
|
293 |
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
|
294 |
<operation name="oroPing">
|
296 |
<input><soap:body namespace="urn:{{var wsdl.name}}" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
|
297 |
<output><soap:body namespace="urn:{{var wsdl.name}}" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
|
298 |
</operation>
|
299 |
+
<operation name="oroQuoteList">
|
300 |
+
<soap:operation soapAction="urn:{{var wsdl.handler}}Action"/>
|
301 |
+
<input><soap:body namespace="urn:{{var wsdl.name}}" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
|
302 |
+
<output><soap:body namespace="urn:{{var wsdl.name}}" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
|
303 |
+
</operation>
|
304 |
+
<operation name="oroOrderList">
|
305 |
+
<soap:operation soapAction="urn:{{var wsdl.handler}}Action"/>
|
306 |
+
<input><soap:body namespace="urn:{{var wsdl.name}}" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
|
307 |
+
<output><soap:body namespace="urn:{{var wsdl.name}}" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
|
308 |
+
</operation>
|
309 |
+
<operation name="oroCustomerList">
|
310 |
<soap:operation soapAction="urn:{{var wsdl.handler}}Action"/>
|
311 |
<input><soap:body namespace="urn:{{var wsdl.name}}" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
|
312 |
<output><soap:body namespace="urn:{{var wsdl.name}}" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
|
332 |
<output><soap:body namespace="urn:{{var wsdl.name}}" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
|
333 |
</operation>
|
334 |
</binding>
|
335 |
+
|
336 |
<message name="oroPingRequest">
|
337 |
<part name="sessionId" type="xsd:string" />
|
338 |
</message>
|
339 |
<message name="oroPingResponse">
|
340 |
<part name="result" type="typens:oroPingResponse" />
|
341 |
</message>
|
342 |
+
|
343 |
+
<message name="oroQuoteListRequest">
|
344 |
<part name="sessionId" type="xsd:string" />
|
345 |
<part name="filters" type="typens:filters" />
|
346 |
<part name="pager" type="typens:pager" />
|
347 |
</message>
|
348 |
+
<message name="oroQuoteListResponse">
|
349 |
<part name="result" type="typens:salesQuoteEntityArray" />
|
350 |
</message>
|
351 |
+
|
352 |
+
<message name="oroOrderListRequest">
|
353 |
+
<part name="sessionId" type="xsd:string" />
|
354 |
+
<part name="filters" type="typens:filters" />
|
355 |
+
<part name="pager" type="typens:pager" />
|
356 |
+
</message>
|
357 |
+
<message name="oroOrderListResponse">
|
358 |
+
<part name="result" type="typens:salesOrderEntityArray" />
|
359 |
+
</message>
|
360 |
+
|
361 |
+
<message name="oroCustomerListRequest">
|
362 |
+
<part name="sessionId" type="xsd:string" />
|
363 |
+
<part name="filters" type="typens:filters" />
|
364 |
+
<part name="pager" type="typens:pager" />
|
365 |
+
</message>
|
366 |
+
<message name="oroCustomerListResponse">
|
367 |
+
<part name="result" type="typens:oroCustomerEntityArray" />
|
368 |
+
</message>
|
369 |
+
|
370 |
<message name="wishlistListRequest">
|
371 |
<part name="sessionId" type="xsd:string" />
|
372 |
<part name="filters" type="typens:filters" />
|
374 |
<message name="wishlistListResponse">
|
375 |
<part name="result" type="typens:wishlistEntityArray" />
|
376 |
</message>
|
377 |
+
|
378 |
<message name="wishlistItemListRequest">
|
379 |
<part name="sessionId" type="xsd:string" />
|
380 |
<part name="filters" type="typens:filters" />
|
382 |
<message name="wishlistItemListResponse">
|
383 |
<part name="result" type="typens:wishlistItemEntityArray" />
|
384 |
</message>
|
385 |
+
|
386 |
<!-- Report Product Viewed -->
|
387 |
<message name="reportProductViewedListRequest">
|
388 |
<part name="sessionId" type="xsd:string" />
|
392 |
<part name="result" type="typens:reportProductViewedEntityArray" />
|
393 |
</message>
|
394 |
<!-- Report Product Viewed -->
|
395 |
+
|
396 |
<!-- Newsletters Subscriber -->
|
397 |
<message name="newsletterSubscriberListRequest">
|
398 |
<part name="sessionId" type="xsd:string" />
|
app/code/community/Oro/Api/etc/wsi.xml
ADDED
@@ -0,0 +1,484 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<wsdl:definitions xmlns:typens="urn:{{var wsdl.name}}"
|
3 |
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
4 |
+
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
|
5 |
+
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
|
6 |
+
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
|
7 |
+
name="{{var wsdl.name}}"
|
8 |
+
targetNamespace="urn:{{var wsdl.name}}">
|
9 |
+
<wsdl:types>
|
10 |
+
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:{{var wsdl.name}}">
|
11 |
+
<!-- Fix for magento 1.6.x -->
|
12 |
+
<xsd:complexType name="associativeMultiArray">
|
13 |
+
<xsd:sequence>
|
14 |
+
<xsd:element minOccurs="0" maxOccurs="unbounded" name="complexObjectArray" type="typens:associativeMultiEntity" />
|
15 |
+
</xsd:sequence>
|
16 |
+
</xsd:complexType>
|
17 |
+
<!-- // Fix for magento 1.6.x -->
|
18 |
+
|
19 |
+
<xsd:complexType name="pager">
|
20 |
+
<xsd:sequence>
|
21 |
+
<xsd:element name="page" type="xsd:string" minOccurs="0" />
|
22 |
+
<xsd:element name="pageSize" type="xsd:string" minOccurs="0" />
|
23 |
+
</xsd:sequence>
|
24 |
+
</xsd:complexType>
|
25 |
+
<xsd:complexType name="salesQuoteEntity">
|
26 |
+
<xsd:sequence>
|
27 |
+
<xsd:element name="entity_id" type="xsd:int" minOccurs="0" />
|
28 |
+
<xsd:element name="store_id" type="xsd:int" minOccurs="0" />
|
29 |
+
<xsd:element name="created_at" type="xsd:string" minOccurs="0" />
|
30 |
+
<xsd:element name="updated_at" type="xsd:string" minOccurs="0" />
|
31 |
+
<xsd:element name="converted_at" type="xsd:string" minOccurs="0" />
|
32 |
+
<xsd:element name="is_active" type="xsd:boolean" minOccurs="0" />
|
33 |
+
<xsd:element name="is_virtual" type="xsd:boolean" minOccurs="0" />
|
34 |
+
<xsd:element name="is_multi_shipping" type="xsd:boolean" minOccurs="0" />
|
35 |
+
<xsd:element name="items_count" type="xsd:string" minOccurs="0" />
|
36 |
+
<xsd:element name="items_qty" type="xsd:string" minOccurs="0" />
|
37 |
+
<xsd:element name="orig_order_id" type="xsd:string" minOccurs="0" />
|
38 |
+
<xsd:element name="store_to_base_rate" type="xsd:string" minOccurs="0" />
|
39 |
+
<xsd:element name="store_to_quote_rate" type="xsd:string" minOccurs="0" />
|
40 |
+
<xsd:element name="base_currency_code" type="xsd:string" minOccurs="0" />
|
41 |
+
<xsd:element name="store_currency_code" type="xsd:string" minOccurs="0" />
|
42 |
+
<xsd:element name="quote_currency_code" type="xsd:string" minOccurs="0" />
|
43 |
+
<xsd:element name="grand_total" type="xsd:string" minOccurs="0" />
|
44 |
+
<xsd:element name="base_grand_total" type="xsd:string" minOccurs="0" />
|
45 |
+
<xsd:element name="checkout_method" type="xsd:string" minOccurs="0" />
|
46 |
+
<xsd:element name="customer_id" type="xsd:int" minOccurs="0" />
|
47 |
+
<xsd:element name="customer_tax_class_id" type="xsd:string" minOccurs="0" />
|
48 |
+
<xsd:element name="customer_group_id" type="xsd:string" minOccurs="0" />
|
49 |
+
<xsd:element name="customer_email" type="xsd:string" minOccurs="0" />
|
50 |
+
<xsd:element name="customer_prefix" type="xsd:string" minOccurs="0" />
|
51 |
+
<xsd:element name="customer_firstname" type="xsd:string" minOccurs="0" />
|
52 |
+
<xsd:element name="customer_middlename" type="xsd:string" minOccurs="0" />
|
53 |
+
<xsd:element name="customer_lastname" type="xsd:string" minOccurs="0" />
|
54 |
+
<xsd:element name="customer_suffix" type="xsd:string" minOccurs="0" />
|
55 |
+
<xsd:element name="customer_dob" type="xsd:string" minOccurs="0" />
|
56 |
+
<xsd:element name="customer_note" type="xsd:string" minOccurs="0" />
|
57 |
+
<xsd:element name="customer_note_notify" type="xsd:string" minOccurs="0" />
|
58 |
+
<xsd:element name="customer_is_guest" type="xsd:string" minOccurs="0" />
|
59 |
+
<xsd:element name="remote_ip" type="xsd:string" minOccurs="0" />
|
60 |
+
<xsd:element name="applied_rule_ids" type="xsd:string" minOccurs="0" />
|
61 |
+
<xsd:element name="reserved_order_id" type="xsd:string" minOccurs="0" />
|
62 |
+
<xsd:element name="password_hash" type="xsd:string" minOccurs="0" />
|
63 |
+
<xsd:element name="coupon_code" type="xsd:string" minOccurs="0" />
|
64 |
+
<xsd:element name="global_currency_code" type="xsd:string" minOccurs="0" />
|
65 |
+
<xsd:element name="base_to_global_rate" type="xsd:string" minOccurs="0" />
|
66 |
+
<xsd:element name="base_to_quote_rate" type="xsd:string" minOccurs="0" />
|
67 |
+
<xsd:element name="customer_taxvat" type="xsd:string" minOccurs="0" />
|
68 |
+
<xsd:element name="customer_gender" type="xsd:string" minOccurs="0" />
|
69 |
+
<xsd:element name="subtotal" type="xsd:string" minOccurs="0" />
|
70 |
+
<xsd:element name="base_subtotal" type="xsd:string" minOccurs="0" />
|
71 |
+
<xsd:element name="subtotal_with_discount" type="xsd:string" minOccurs="0" />
|
72 |
+
<xsd:element name="base_subtotal_with_discount" type="xsd:string" minOccurs="0" />
|
73 |
+
<xsd:element name="is_changed" type="xsd:string" minOccurs="0" />
|
74 |
+
<xsd:element name="trigger_recollect" type="xsd:string" minOccurs="0" />
|
75 |
+
<xsd:element name="ext_shipping_info" type="xsd:string" minOccurs="0" />
|
76 |
+
<xsd:element name="gift_message_id" type="xsd:string" minOccurs="0" />
|
77 |
+
<xsd:element name="is_persistent" type="xsd:string" minOccurs="0" />
|
78 |
+
|
79 |
+
<xsd:element name="shipping_address" type="typens:shoppingCartAddressEntity" minOccurs="0"/>
|
80 |
+
<xsd:element name="billing_address" type="typens:shoppingCartAddressEntity" minOccurs="0"/>
|
81 |
+
<xsd:element name="items" type="typens:shoppingCartItemEntityArray" minOccurs="0"/>
|
82 |
+
<xsd:element name="payment" type="typens:shoppingCartPaymentEntity" minOccurs="0"/>
|
83 |
+
</xsd:sequence>
|
84 |
+
</xsd:complexType>
|
85 |
+
|
86 |
+
<xsd:complexType name="salesQuoteEntityArray">
|
87 |
+
<xsd:sequence>
|
88 |
+
<xsd:element minOccurs="0" maxOccurs="unbounded" name="complexObjectArray" type="typens:salesQuoteEntity" />
|
89 |
+
</xsd:sequence>
|
90 |
+
</xsd:complexType>
|
91 |
+
|
92 |
+
<xsd:complexType name="salesOrderEntityArray">
|
93 |
+
<xsd:sequence>
|
94 |
+
<xsd:element minOccurs="0" maxOccurs="unbounded" name="complexObjectArray" type="typens:salesOrderEntity" />
|
95 |
+
</xsd:sequence>
|
96 |
+
</xsd:complexType>
|
97 |
+
|
98 |
+
<xsd:complexType name="wishlistEntity">
|
99 |
+
<xsd:sequence>
|
100 |
+
<xsd:element name="wishlist_id" type="xsd:string" minOccurs="0" />
|
101 |
+
<xsd:element name="customer_id" type="xsd:string" minOccurs="0" />
|
102 |
+
<xsd:element name="shared" type="xsd:string" minOccurs="0" />
|
103 |
+
<xsd:element name="sharing_code" type="xsd:string" minOccurs="0" />
|
104 |
+
<xsd:element name="updated_at" type="xsd:string" minOccurs="0" />
|
105 |
+
</xsd:sequence>
|
106 |
+
</xsd:complexType>
|
107 |
+
|
108 |
+
<xsd:complexType name="wishlistEntityArray">
|
109 |
+
<xsd:sequence>
|
110 |
+
<xsd:element minOccurs="0" maxOccurs="unbounded" name="complexObjectArray" type="typens:wishlistEntity" />
|
111 |
+
</xsd:sequence>
|
112 |
+
</xsd:complexType>
|
113 |
+
|
114 |
+
<xsd:complexType name="wishlistItemEntity">
|
115 |
+
<xsd:sequence>
|
116 |
+
<xsd:element name="wishlist_item_id" type="xsd:string" minOccurs="0" />
|
117 |
+
<xsd:element name="wishlist_id" type="xsd:string" minOccurs="0" />
|
118 |
+
<xsd:element name="product_id" type="xsd:string" minOccurs="0" />
|
119 |
+
<xsd:element name="store_id" type="xsd:string" minOccurs="0" />
|
120 |
+
<xsd:element name="added_at" type="xsd:string" minOccurs="0" />
|
121 |
+
<xsd:element name="description" type="xsd:string" minOccurs="0" />
|
122 |
+
<xsd:element name="qty" type="xsd:string" minOccurs="0" />
|
123 |
+
</xsd:sequence>
|
124 |
+
</xsd:complexType>
|
125 |
+
|
126 |
+
<xsd:complexType name="wishlistItemEntityArray">
|
127 |
+
<xsd:sequence>
|
128 |
+
<xsd:element minOccurs="0" maxOccurs="unbounded" name="complexObjectArray" type="typens:wishlistItemEntity" />
|
129 |
+
</xsd:sequence>
|
130 |
+
</xsd:complexType>
|
131 |
+
|
132 |
+
<!-- Report Product Viewed -->
|
133 |
+
<xsd:complexType name="reportProductViewedEntity">
|
134 |
+
<xsd:sequence>
|
135 |
+
<xsd:element name="index_id" type="xsd:string" minOccurs="0" />
|
136 |
+
<xsd:element name="visitor_id" type="xsd:string" minOccurs="0" />
|
137 |
+
<xsd:element name="product_id" type="xsd:string" minOccurs="0" />
|
138 |
+
<xsd:element name="sku" type="xsd:string" minOccurs="0" />
|
139 |
+
<xsd:element name="customer_id" type="xsd:string" minOccurs="0" />
|
140 |
+
<xsd:element name="added_at" type="xsd:string" minOccurs="0" />
|
141 |
+
<xsd:element name="store_id" type="xsd:string" minOccurs="0" />
|
142 |
+
</xsd:sequence>
|
143 |
+
</xsd:complexType>
|
144 |
+
|
145 |
+
<xsd:complexType name="reportProductViewedEntityArray">
|
146 |
+
<xsd:sequence>
|
147 |
+
<xsd:element minOccurs="0" maxOccurs="unbounded" name="complexObjectArray" type="typens:reportProductViewedEntity" />
|
148 |
+
</xsd:sequence>
|
149 |
+
</xsd:complexType>
|
150 |
+
<!-- Report Product Viewed -->
|
151 |
+
|
152 |
+
<!-- Newsletters Subscriber -->
|
153 |
+
<xsd:complexType name="newsletterSubscriberEntity">
|
154 |
+
<xsd:sequence>
|
155 |
+
<xsd:element name="subscriber_id" type="xsd:string" minOccurs="0" />
|
156 |
+
<xsd:element name="store_id" type="xsd:string" minOccurs="0" />
|
157 |
+
<xsd:element name="change_status_at" type="xsd:string" minOccurs="0" />
|
158 |
+
<xsd:element name="customer_id" type="xsd:string" minOccurs="0" />
|
159 |
+
<xsd:element name="subscriber_email" type="xsd:string" minOccurs="0" />
|
160 |
+
<xsd:element name="subscriber_status" type="xsd:string" minOccurs="0" />
|
161 |
+
<xsd:element name="subscriber_confirm_code" type="xsd:string" minOccurs="0" />
|
162 |
+
</xsd:sequence>
|
163 |
+
</xsd:complexType>
|
164 |
+
|
165 |
+
<xsd:complexType name="newsletterSubscriberEntityArray">
|
166 |
+
<xsd:sequence>
|
167 |
+
<xsd:element minOccurs="0" maxOccurs="unbounded" name="complexObjectArray" type="typens:newsletterSubscriberEntity" />
|
168 |
+
</xsd:sequence>
|
169 |
+
</xsd:complexType>
|
170 |
+
<!-- Newsletters Subscriber -->
|
171 |
+
|
172 |
+
<xsd:complexType name="catalogProductEntity">
|
173 |
+
<xsd:sequence>
|
174 |
+
<xsd:element name="price" type="xsd:string"/>
|
175 |
+
<xsd:element name="special_price" type="xsd:string"/>
|
176 |
+
</xsd:sequence>
|
177 |
+
</xsd:complexType>
|
178 |
+
|
179 |
+
<xsd:complexType name="oroPingResponse">
|
180 |
+
<xsd:sequence>
|
181 |
+
<xsd:element name="version" type="xsd:string" minOccurs="0" />
|
182 |
+
<xsd:element name="mage_version" type="xsd:string" minOccurs="0" />
|
183 |
+
<xsd:element name="mage_edition" type="xsd:string" minOccurs="0" />
|
184 |
+
</xsd:sequence>
|
185 |
+
</xsd:complexType>
|
186 |
+
|
187 |
+
<xsd:complexType name="oroCustomerEntity">
|
188 |
+
<xsd:sequence>
|
189 |
+
<xsd:element name="customer_id" type="xsd:int" minOccurs="0" />
|
190 |
+
<xsd:element name="created_at" type="xsd:string" minOccurs="0" />
|
191 |
+
<xsd:element name="updated_at" type="xsd:string" minOccurs="0" />
|
192 |
+
<xsd:element name="increment_id" type="xsd:string" minOccurs="0" />
|
193 |
+
<xsd:element name="store_id" type="xsd:int" minOccurs="0" />
|
194 |
+
<xsd:element name="website_id" type="xsd:int" minOccurs="0" />
|
195 |
+
<xsd:element name="created_in" type="xsd:string" minOccurs="0" />
|
196 |
+
<xsd:element name="email" type="xsd:string" minOccurs="0" />
|
197 |
+
<xsd:element name="firstname" type="xsd:string" minOccurs="0" />
|
198 |
+
<xsd:element name="middlename" type="xsd:string" minOccurs="0" />
|
199 |
+
<xsd:element name="lastname" type="xsd:string" minOccurs="0" />
|
200 |
+
<xsd:element name="group_id" type="xsd:int" minOccurs="0" />
|
201 |
+
<xsd:element name="prefix" type="xsd:string" minOccurs="0" />
|
202 |
+
<xsd:element name="suffix" type="xsd:string" minOccurs="0" />
|
203 |
+
<xsd:element name="dob" type="xsd:string" minOccurs="0" />
|
204 |
+
<xsd:element name="taxvat" type="xsd:string" minOccurs="0" />
|
205 |
+
<xsd:element name="confirmation" type="xsd:boolean" minOccurs="0" />
|
206 |
+
<xsd:element name="password_hash" type="xsd:string" minOccurs="0" />
|
207 |
+
|
208 |
+
<xsd:element minOccurs="1" maxOccurs="1" name="addresses" type="typens:customerAddressEntityArray" />
|
209 |
+
</xsd:sequence>
|
210 |
+
</xsd:complexType>
|
211 |
+
|
212 |
+
<xsd:complexType name="oroCustomerEntityArray">
|
213 |
+
<xsd:sequence>
|
214 |
+
<xsd:element minOccurs="0" maxOccurs="unbounded" name="complexObjectArray" type="typens:oroCustomerEntity" />
|
215 |
+
</xsd:sequence>
|
216 |
+
</xsd:complexType>
|
217 |
+
|
218 |
+
<!-- Customer -->
|
219 |
+
<xsd:element name="oroCustomerListRequestParam">
|
220 |
+
<xsd:complexType>
|
221 |
+
<xsd:sequence>
|
222 |
+
<xsd:element minOccurs="1" maxOccurs="1" name="sessionId" type="xsd:string" />
|
223 |
+
<xsd:element minOccurs="0" maxOccurs="1" name="filters" type="typens:filters" />
|
224 |
+
<xsd:element minOccurs="0" maxOccurs="1" name="pager" type="typens:pager" />
|
225 |
+
</xsd:sequence>
|
226 |
+
</xsd:complexType>
|
227 |
+
</xsd:element>
|
228 |
+
<xsd:element name="oroCustomerListResponseParam">
|
229 |
+
<xsd:complexType>
|
230 |
+
<xsd:sequence>
|
231 |
+
<xsd:element minOccurs="1" maxOccurs="1" name="result" type="typens:oroCustomerEntityArray" />
|
232 |
+
</xsd:sequence>
|
233 |
+
</xsd:complexType>
|
234 |
+
</xsd:element>
|
235 |
+
<!-- /Customer -->
|
236 |
+
|
237 |
+
<!-- Quote -->
|
238 |
+
<xsd:element name="oroQuoteListRequestParam">
|
239 |
+
<xsd:complexType>
|
240 |
+
<xsd:sequence>
|
241 |
+
<xsd:element minOccurs="1" maxOccurs="1" name="sessionId" type="xsd:string" />
|
242 |
+
<xsd:element minOccurs="0" maxOccurs="1" name="filters" type="typens:filters" />
|
243 |
+
<xsd:element minOccurs="0" maxOccurs="1" name="pager" type="typens:pager" />
|
244 |
+
</xsd:sequence>
|
245 |
+
</xsd:complexType>
|
246 |
+
</xsd:element>
|
247 |
+
<xsd:element name="oroQuoteListResponseParam">
|
248 |
+
<xsd:complexType>
|
249 |
+
<xsd:sequence>
|
250 |
+
<xsd:element minOccurs="1" maxOccurs="1" name="result" type="typens:salesQuoteEntityArray" />
|
251 |
+
</xsd:sequence>
|
252 |
+
</xsd:complexType>
|
253 |
+
</xsd:element>
|
254 |
+
<!-- /Quote -->
|
255 |
+
|
256 |
+
<!-- Order -->
|
257 |
+
<xsd:element name="oroOrderListRequestParam">
|
258 |
+
<xsd:complexType>
|
259 |
+
<xsd:sequence>
|
260 |
+
<xsd:element minOccurs="1" maxOccurs="1" name="sessionId" type="xsd:string" />
|
261 |
+
<xsd:element minOccurs="0" maxOccurs="1" name="filters" type="typens:filters" />
|
262 |
+
<xsd:element minOccurs="0" maxOccurs="1" name="pager" type="typens:pager" />
|
263 |
+
</xsd:sequence>
|
264 |
+
</xsd:complexType>
|
265 |
+
</xsd:element>
|
266 |
+
<xsd:element name="oroOrderListResponseParam">
|
267 |
+
<xsd:complexType>
|
268 |
+
<xsd:sequence>
|
269 |
+
<xsd:element minOccurs="1" maxOccurs="1" name="result" type="typens:salesOrderEntityArray" />
|
270 |
+
</xsd:sequence>
|
271 |
+
</xsd:complexType>
|
272 |
+
</xsd:element>
|
273 |
+
<!-- /Order -->
|
274 |
+
|
275 |
+
<!-- Ping -->
|
276 |
+
<xsd:element name="oroPingRequestParam">
|
277 |
+
<xsd:complexType>
|
278 |
+
<xsd:sequence>
|
279 |
+
<xsd:element minOccurs="1" maxOccurs="1" name="sessionId" type="xsd:string" />
|
280 |
+
</xsd:sequence>
|
281 |
+
</xsd:complexType>
|
282 |
+
</xsd:element>
|
283 |
+
|
284 |
+
<xsd:element name="oroPingResponseParam">
|
285 |
+
<xsd:complexType>
|
286 |
+
<xsd:sequence>
|
287 |
+
<xsd:element minOccurs="1" maxOccurs="1" name="result" type="typens:oroPingResponse" />
|
288 |
+
</xsd:sequence>
|
289 |
+
</xsd:complexType>
|
290 |
+
</xsd:element>
|
291 |
+
<!-- /Ping -->
|
292 |
+
</xsd:schema>
|
293 |
+
</wsdl:types>
|
294 |
+
|
295 |
+
<wsdl:message name="oroPingRequest">
|
296 |
+
<wsdl:part name="parameters" element="typens:oroPingRequestParam" />
|
297 |
+
</wsdl:message>
|
298 |
+
<wsdl:message name="oroPingResponse">
|
299 |
+
<wsdl:part name="parameters" element="typens:oroPingResponseParam" />
|
300 |
+
</wsdl:message>
|
301 |
+
|
302 |
+
<wsdl:message name="oroQuoteListRequest">
|
303 |
+
<wsdl:part name="parameters" element="typens:oroQuoteListRequestParam" />
|
304 |
+
</wsdl:message>
|
305 |
+
<wsdl:message name="oroQuoteListResponse">
|
306 |
+
<wsdl:part name="parameters" element="typens:oroQuoteListResponseParam" />
|
307 |
+
</wsdl:message>
|
308 |
+
|
309 |
+
<wsdl:message name="oroOrderListRequest">
|
310 |
+
<wsdl:part name="parameters" element="typens:oroOrderListRequestParam" />
|
311 |
+
</wsdl:message>
|
312 |
+
<wsdl:message name="oroOrderListResponse">
|
313 |
+
<wsdl:part name="parameters" element="typens:oroOrderListResponseParam" />
|
314 |
+
</wsdl:message>
|
315 |
+
|
316 |
+
<wsdl:message name="oroCustomerListRequest">
|
317 |
+
<wsdl:part name="parameters" element="typens:oroCustomerListRequestParam" />
|
318 |
+
</wsdl:message>
|
319 |
+
<wsdl:message name="oroCustomerListResponse">
|
320 |
+
<wsdl:part name="parameters" element="typens:oroCustomerListResponseParam" />
|
321 |
+
</wsdl:message>
|
322 |
+
|
323 |
+
<wsdl:message name="wishlistListRequest">
|
324 |
+
<wsdl:part name="sessionId" element="xsd:string" />
|
325 |
+
<wsdl:part name="filters" element="typens:filters" />
|
326 |
+
</wsdl:message>
|
327 |
+
<wsdl:message name="wishlistListResponse">
|
328 |
+
<wsdl:part name="result" element="typens:wishlistEntityArray" />
|
329 |
+
</wsdl:message>
|
330 |
+
|
331 |
+
<wsdl:message name="wishlistItemListRequest">
|
332 |
+
<wsdl:part name="sessionId" element="xsd:string" />
|
333 |
+
<wsdl:part name="filters" element="typens:filters" />
|
334 |
+
</wsdl:message>
|
335 |
+
<wsdl:message name="wishlistItemListResponse">
|
336 |
+
<wsdl:part name="result" element="typens:wishlistItemEntityArray" />
|
337 |
+
</wsdl:message>
|
338 |
+
|
339 |
+
<!-- Report Product Viewed -->
|
340 |
+
<wsdl:message name="reportProductViewedListRequest">
|
341 |
+
<wsdl:part name="sessionId" element="xsd:string" />
|
342 |
+
<wsdl:part name="filters" element="typens:filters" />
|
343 |
+
</wsdl:message>
|
344 |
+
<wsdl:message name="reportProductViewedListResponse">
|
345 |
+
<wsdl:part name="result" element="typens:reportProductViewedEntityArray" />
|
346 |
+
</wsdl:message>
|
347 |
+
<!-- Report Product Viewed -->
|
348 |
+
|
349 |
+
<!-- Newsletters Subscriber -->
|
350 |
+
<wsdl:message name="newsletterSubscriberListRequest">
|
351 |
+
<wsdl:part name="sessionId" element="xsd:string" />
|
352 |
+
<wsdl:part name="filters" element="typens:filters" />
|
353 |
+
</wsdl:message>
|
354 |
+
<wsdl:message name="newsletterSubscriberListResponse">
|
355 |
+
<wsdl:part name="result" element="typens:newsletterSubscriberEntityArray" />
|
356 |
+
</wsdl:message>
|
357 |
+
<!-- Newsletters Subscriber -->
|
358 |
+
|
359 |
+
<wsdl:portType name="{{var wsdl.handler}}PortType">
|
360 |
+
<wsdl:operation name="oroPing">
|
361 |
+
<wsdl:documentation>Get basic presence info</wsdl:documentation>
|
362 |
+
<wsdl:input message="typens:oroPingRequest"/>
|
363 |
+
<wsdl:output message="typens:oroPingResponse"/>
|
364 |
+
</wsdl:operation>
|
365 |
+
|
366 |
+
<wsdl:operation name="oroQuoteList">
|
367 |
+
<wsdl:documentation>Get quote data list</wsdl:documentation>
|
368 |
+
<wsdl:input message="typens:oroQuoteListRequest"/>
|
369 |
+
<wsdl:output message="typens:oroQuoteListResponse"/>
|
370 |
+
</wsdl:operation>
|
371 |
+
|
372 |
+
<wsdl:operation name="oroOrderList">
|
373 |
+
<wsdl:documentation>Get quote data list</wsdl:documentation>
|
374 |
+
<wsdl:input message="typens:oroOrderListRequest"/>
|
375 |
+
<wsdl:output message="typens:oroOrderListResponse"/>
|
376 |
+
</wsdl:operation>
|
377 |
+
|
378 |
+
<wsdl:operation name="oroCustomerList">
|
379 |
+
<wsdl:documentation>Get quote data list</wsdl:documentation>
|
380 |
+
<wsdl:input message="typens:oroCustomerListRequest"/>
|
381 |
+
<wsdl:output message="typens:oroCustomerListResponse"/>
|
382 |
+
</wsdl:operation>
|
383 |
+
|
384 |
+
<wsdl:operation name="wishlistList">
|
385 |
+
<wsdl:documentation>Get wishlist collection</wsdl:documentation>
|
386 |
+
<wsdl:input message="typens:wishlistListRequest"/>
|
387 |
+
<wsdl:output message="typens:wishlistListResponse"/>
|
388 |
+
</wsdl:operation>
|
389 |
+
|
390 |
+
<wsdl:operation name="wishlistItemList">
|
391 |
+
<wsdl:documentation>Get wishlist item collection</wsdl:documentation>
|
392 |
+
<wsdl:input message="typens:wishlistItemListRequest"/>
|
393 |
+
<wsdl:output message="typens:wishlistItemListResponse"/>
|
394 |
+
</wsdl:operation>
|
395 |
+
|
396 |
+
<wsdl:operation name="reportProductViewedList">
|
397 |
+
<wsdl:documentation>Get wishlist item collection</wsdl:documentation>
|
398 |
+
<wsdl:input message="typens:reportProductViewedListRequest"/>
|
399 |
+
<wsdl:output message="typens:reportProductViewedListResponse"/>
|
400 |
+
</wsdl:operation>
|
401 |
+
|
402 |
+
<wsdl:operation name="newsletterSubscriberList">
|
403 |
+
<wsdl:documentation>Newsletter subscriber collection</wsdl:documentation>
|
404 |
+
<wsdl:input message="typens:newsletterSubscriberListRequest"/>
|
405 |
+
<wsdl:output message="typens:newsletterSubscriberListResponse"/>
|
406 |
+
</wsdl:operation>
|
407 |
+
</wsdl:portType>
|
408 |
+
|
409 |
+
<wsdl:binding name="{{var wsdl.handler}}Binding" type="typens:{{var wsdl.handler}}PortType">
|
410 |
+
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
411 |
+
<wsdl:operation name="oroPing">
|
412 |
+
<soap:operation soapAction="" />
|
413 |
+
<wsdl:input>
|
414 |
+
<soap:body use="literal" />
|
415 |
+
</wsdl:input>
|
416 |
+
<wsdl:output>
|
417 |
+
<soap:body use="literal" />
|
418 |
+
</wsdl:output>
|
419 |
+
</wsdl:operation>
|
420 |
+
<wsdl:operation name="oroQuoteList">
|
421 |
+
<soap:operation soapAction=""/>
|
422 |
+
<wsdl:input>
|
423 |
+
<soap:body use="literal" />
|
424 |
+
</wsdl:input>
|
425 |
+
<wsdl:output>
|
426 |
+
<soap:body use="literal" />
|
427 |
+
</wsdl:output>
|
428 |
+
</wsdl:operation>
|
429 |
+
<wsdl:operation name="oroOrderList">
|
430 |
+
<soap:operation soapAction=""/>
|
431 |
+
<wsdl:input>
|
432 |
+
<soap:body use="literal" />
|
433 |
+
</wsdl:input>
|
434 |
+
<wsdl:output>
|
435 |
+
<soap:body use="literal" />
|
436 |
+
</wsdl:output>
|
437 |
+
</wsdl:operation>
|
438 |
+
<wsdl:operation name="oroCustomerList">
|
439 |
+
<soap:operation soapAction=""/>
|
440 |
+
<wsdl:input>
|
441 |
+
<soap:body use="literal" />
|
442 |
+
</wsdl:input>
|
443 |
+
<wsdl:output>
|
444 |
+
<soap:body use="literal" />
|
445 |
+
</wsdl:output>
|
446 |
+
</wsdl:operation>
|
447 |
+
<wsdl:operation name="wishlistList">
|
448 |
+
<soap:operation soapAction=""/>
|
449 |
+
<wsdl:input>
|
450 |
+
<soap:body use="literal" />
|
451 |
+
</wsdl:input>
|
452 |
+
<wsdl:output>
|
453 |
+
<soap:body use="literal" />
|
454 |
+
</wsdl:output>
|
455 |
+
</wsdl:operation>
|
456 |
+
<wsdl:operation name="wishlistItemList">
|
457 |
+
<soap:operation soapAction=""/>
|
458 |
+
<wsdl:input>
|
459 |
+
<soap:body use="literal" />
|
460 |
+
</wsdl:input>
|
461 |
+
<wsdl:output>
|
462 |
+
<soap:body use="literal" />
|
463 |
+
</wsdl:output>
|
464 |
+
</wsdl:operation>
|
465 |
+
<wsdl:operation name="reportProductViewedList">
|
466 |
+
<soap:operation soapAction=""/>
|
467 |
+
<wsdl:input>
|
468 |
+
<soap:body use="literal" />
|
469 |
+
</wsdl:input>
|
470 |
+
<wsdl:output>
|
471 |
+
<soap:body use="literal" />
|
472 |
+
</wsdl:output>
|
473 |
+
</wsdl:operation>
|
474 |
+
<wsdl:operation name="newsletterSubscriberList">
|
475 |
+
<soap:operation soapAction=""/>
|
476 |
+
<wsdl:input>
|
477 |
+
<soap:body use="literal" />
|
478 |
+
</wsdl:input>
|
479 |
+
<wsdl:output>
|
480 |
+
<soap:body use="literal" />
|
481 |
+
</wsdl:output>
|
482 |
+
</wsdl:operation>
|
483 |
+
</wsdl:binding>
|
484 |
+
</wsdl:definitions>
|
app/etc/modules/Oro_Api.xml
CHANGED
@@ -1,21 +1,6 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
-
/**
|
4 |
-
* MageCore
|
5 |
-
*
|
6 |
-
* NOTICE OF LICENSE
|
7 |
-
*
|
8 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
-
* that is published at http://opensource.org/licenses/osl-3.0.php.
|
10 |
-
* If you did not receive a copy of the license and are unable to
|
11 |
-
* obtain it through the world-wide-web, please send an email
|
12 |
-
* to license@magecore.com so we can send you a copy immediately
|
13 |
-
*
|
14 |
-
* @category Oro
|
15 |
-
* @package Api
|
16 |
-
* @copyright Copyright 2013 Oro Inc. (http://www.orocrm.com)
|
17 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
18 |
-
*/
|
19 |
-->
|
20 |
<config>
|
21 |
<modules>
|
@@ -24,4 +9,4 @@
|
|
24 |
<codePool>community</codePool>
|
25 |
</Oro_Api>
|
26 |
</modules>
|
27 |
-
</config>
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
+
/** {license_text} */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
-->
|
5 |
<config>
|
6 |
<modules>
|
9 |
<codePool>community</codePool>
|
10 |
</Oro_Api>
|
11 |
</modules>
|
12 |
+
</config>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Oro_Api</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL 3.0)</license>
|
7 |
<channel>community</channel>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>OroCRM Bridge extension adds a couple of improvements to Magento SOAP API v2 in order to expose more shopping cart and customer data.</description>
|
11 |
<notes>OroCRM Bridge extension adds a couple of improvements to Magento SOAP API v2 in order to expose more shopping cart and customer data.</notes>
|
12 |
<authors><author><name>Oro, Inc</name><user>orocrm</user><email>info@orocrm.com</email></author></authors>
|
13 |
-
<date>
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Oro"><dir name="Api"><dir name="Helper"><file name="Data.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.13</min><max>5.5.0</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Oro_Api</name>
|
4 |
+
<version>1.0.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL 3.0)</license>
|
7 |
<channel>community</channel>
|
10 |
<description>OroCRM Bridge extension adds a couple of improvements to Magento SOAP API v2 in order to expose more shopping cart and customer data.</description>
|
11 |
<notes>OroCRM Bridge extension adds a couple of improvements to Magento SOAP API v2 in order to expose more shopping cart and customer data.</notes>
|
12 |
<authors><author><name>Oro, Inc</name><user>orocrm</user><email>info@orocrm.com</email></author></authors>
|
13 |
+
<date>2014-01-27</date>
|
14 |
+
<time>18:27:42</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Oro"><dir name="Api"><dir name="Helper"><file name="Data.php" hash="3c5acc029d0f386c74d1692b351fb75b"/></dir><dir name="Model"><dir name="Catalog"><dir name="Product"><dir name="Api"><file name="V2.php" hash="9fe5e65e1b189ba6a9fed25fe8d858d6"/></dir></dir></dir><dir name="Customer"><dir name="Api"><file name="V2.php" hash="89fc6f16e7f452438d4927669ea0f0de"/></dir><file name="Api.php" hash="5da59afaac86ecb594f8e3d280cdc67d"/></dir><dir name="Newsletter"><dir name="Subscriber"><dir name="Api"><file name="V2.php" hash="7b18db294f86ccf841a95aa7b7e656af"/></dir><file name="Api.php" hash="a49473afaca6c5bbbb82f58f41ff1650"/></dir></dir><dir name="Ping"><file name="V2.php" hash="0fa10110ecb67d32079c5530a979c55a"/></dir><file name="Ping.php" hash="7bc278ebedf1a2e0589cf3d184af770c"/><dir name="Report"><dir name="Product"><dir name="Viewed"><dir name="Api"><file name="V2.php" hash="c8481504cefd028a17cc4a6555182ad0"/></dir><file name="Api.php" hash="fe175f2aab97cafa47574f1da2e169a3"/></dir></dir></dir><dir name="Resource"><dir name="Reports"><dir name="Product"><dir name="Index"><dir name="Viewed"><file name="Collection.php" hash="0fe404e11c517f8f1a8e0edda2770e0e"/></dir></dir></dir></dir></dir><dir name="Sales"><dir name="Order"><dir name="Api"><file name="V2.php" hash="0621bd68c420feb8000dae6861c49369"/></dir><file name="Api.php" hash="152d333aa66342b19bd363efb21bb44b"/></dir><dir name="Quote"><dir name="Api"><file name="V2.php" hash="4e8ba0ed7757110c4eae1d239b2adf76"/></dir><file name="Api.php" hash="193c05456f86b5072f0ee5c20cb22eac"/></dir></dir><dir name="Wishlist"><dir name="Api"><file name="V2.php" hash="f0ac63e1cf9440ed0e4ca72eb93834f2"/></dir><file name="Api.php" hash="3ebfc3b7841c265921ea05d63f8ba5a9"/><dir name="Item"><dir name="Api"><file name="V2.php" hash="43a919dae8dd432e211878a39ba3f4a2"/></dir><file name="Api.php" hash="8d5d856ea533b9b122c96d0bef32861b"/></dir></dir></dir><dir name="etc"><file name="api.xml" hash="2ee90b80f4d29ab73b3517a3d19e7aa3"/><file name="config.xml" hash="1ef451d7021168b8773c93945316f3eb"/><file name="wsdl.xml" hash="db2640c8306fff6ae3fa50b34a3c50b8"/><file name="wsi.xml" hash="ed1f4cac2c8afd96e266517c7ddfcb2b"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Oro_Api.xml" hash="1b92bb5ebb4403abacbe04f12285262e"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.13</min><max>5.5.0</max></php></required></dependencies>
|
18 |
</package>
|