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.2.15.0 |
| Comparing to | |
| See all releases | |
Code changes from version 1.2.13.0 to 1.2.15.0
- app/code/community/Oro/Api/Model/Directory/Region/Api.php +57 -0
- app/code/community/Oro/Api/Model/Directory/Region/Api/V2.php +7 -0
- app/code/community/Oro/Api/Model/Sales/Order/Api.php +12 -7
- app/code/community/Oro/Api/etc/api.xml +19 -0
- app/code/community/Oro/Api/etc/config.xml +1 -1
- app/code/community/Oro/Api/etc/wsdl.xml +40 -0
- app/code/community/Oro/Api/etc/wsi.xml +59 -0
- package.xml +4 -4
app/code/community/Oro/Api/Model/Directory/Region/Api.php
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
|
| 3 |
+
class Oro_Api_Model_Directory_Region_Api extends Mage_Api_Model_Resource_Abstract
|
| 4 |
+
{
|
| 5 |
+
/**
|
| 6 |
+
* @var Oro_Api_Helper_Data
|
| 7 |
+
*/
|
| 8 |
+
protected $_apiHelper;
|
| 9 |
+
|
| 10 |
+
public function __construct()
|
| 11 |
+
{
|
| 12 |
+
$this->_apiHelper = Mage::helper('oro_api');
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
/**
|
| 17 |
+
* Retrive list of regions
|
| 18 |
+
*
|
| 19 |
+
* @param object|array $filters
|
| 20 |
+
* @param \stdClass $pager
|
| 21 |
+
*
|
| 22 |
+
* @return array
|
| 23 |
+
*/
|
| 24 |
+
public function items($filters, $pager)
|
| 25 |
+
{
|
| 26 |
+
/** @var Mage_Directory_Model_Resource_Region_Collection $collection */
|
| 27 |
+
$collection = Mage::getModel('directory/region')->getCollection();
|
| 28 |
+
|
| 29 |
+
$filters = $this->_apiHelper->parseFilters($filters);
|
| 30 |
+
try {
|
| 31 |
+
foreach ($filters as $field => $value) {
|
| 32 |
+
$collection->addFieldToFilter($field, $value);
|
| 33 |
+
}
|
| 34 |
+
} catch (Mage_Core_Exception $e) {
|
| 35 |
+
$this->_fault('filters_invalid', $e->getMessage());
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
$collection->unshiftOrder('region_id', Varien_Data_Collection_Db::SORT_ORDER_ASC);
|
| 39 |
+
if (!$this->_apiHelper->applyPager($collection, $pager)) {
|
| 40 |
+
// there's no such page, so no results for it
|
| 41 |
+
return array();
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
$result = array();
|
| 45 |
+
/** @var Mage_Directory_Model_Region $region */
|
| 46 |
+
foreach ($collection as $region) {
|
| 47 |
+
$result[] = array(
|
| 48 |
+
'region_id' => $region->getId(),
|
| 49 |
+
'code' => $region->getCode(),
|
| 50 |
+
'countryCode' => $region->getCountryId(),
|
| 51 |
+
'name' => $region->getName(),
|
| 52 |
+
);
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
return $result;
|
| 56 |
+
}
|
| 57 |
+
}
|
app/code/community/Oro/Api/Model/Directory/Region/Api/V2.php
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
|
| 3 |
+
class Oro_Api_Model_Directory_Region_Api_V2
|
| 4 |
+
extends Oro_Api_Model_Directory_Region_Api
|
| 5 |
+
{
|
| 6 |
+
|
| 7 |
+
}
|
app/code/community/Oro/Api/Model/Sales/Order/Api.php
CHANGED
|
@@ -120,12 +120,14 @@ class Oro_Api_Model_Sales_Order_Api extends Mage_Sales_Model_Api_Resource
|
|
| 120 |
protected function _getOrderAdditionalInfo($order)
|
| 121 |
{
|
| 122 |
if ($order->getGiftMessageId() > 0) {
|
| 123 |
-
$order->
|
| 124 |
-
|
| 125 |
-
|
|
|
|
| 126 |
}
|
| 127 |
|
| 128 |
$result = array();
|
|
|
|
| 129 |
$result['shipping_address'] = $this->_getAttributes($order->getShippingAddress(), 'order_address');
|
| 130 |
$result['billing_address'] = $this->_getAttributes($order->getBillingAddress(), 'order_address');
|
| 131 |
$result['items'] = array();
|
|
@@ -133,12 +135,15 @@ class Oro_Api_Model_Sales_Order_Api extends Mage_Sales_Model_Api_Resource
|
|
| 133 |
/** @var Mage_Sales_Model_Order_Item $item */
|
| 134 |
foreach ($order->getAllItems() as $item) {
|
| 135 |
if ($item->getGiftMessageId() > 0) {
|
| 136 |
-
$item->
|
| 137 |
-
|
| 138 |
-
|
|
|
|
| 139 |
}
|
| 140 |
|
| 141 |
-
$
|
|
|
|
|
|
|
| 142 |
}
|
| 143 |
|
| 144 |
$result['payment'] = $this->_getAttributes($order->getPayment(), 'order_payment');
|
| 120 |
protected function _getOrderAdditionalInfo($order)
|
| 121 |
{
|
| 122 |
if ($order->getGiftMessageId() > 0) {
|
| 123 |
+
$orderGiftMessage = Mage::getSingleton('giftmessage/message')->load($order->getGiftMessageId())
|
| 124 |
+
->getMessage();
|
| 125 |
+
} else {
|
| 126 |
+
$orderGiftMessage = null;
|
| 127 |
}
|
| 128 |
|
| 129 |
$result = array();
|
| 130 |
+
$result['gift_message'] = $orderGiftMessage;
|
| 131 |
$result['shipping_address'] = $this->_getAttributes($order->getShippingAddress(), 'order_address');
|
| 132 |
$result['billing_address'] = $this->_getAttributes($order->getBillingAddress(), 'order_address');
|
| 133 |
$result['items'] = array();
|
| 135 |
/** @var Mage_Sales_Model_Order_Item $item */
|
| 136 |
foreach ($order->getAllItems() as $item) {
|
| 137 |
if ($item->getGiftMessageId() > 0) {
|
| 138 |
+
$cartItemGiftMessage = Mage::getSingleton('giftmessage/message')->load($item->getGiftMessageId())
|
| 139 |
+
->getMessage();
|
| 140 |
+
} else {
|
| 141 |
+
$cartItemGiftMessage = null;
|
| 142 |
}
|
| 143 |
|
| 144 |
+
$cartItemInfo = $this->_getAttributes($item, 'order_item');
|
| 145 |
+
$cartItemInfo['gift_message'] = $cartItemGiftMessage;
|
| 146 |
+
$result['items'][] = $cartItemInfo;
|
| 147 |
}
|
| 148 |
|
| 149 |
$result['payment'] = $this->_getAttributes($order->getPayment(), 'order_payment');
|
app/code/community/Oro/Api/etc/api.xml
CHANGED
|
@@ -289,6 +289,18 @@
|
|
| 289 |
</list>
|
| 290 |
</methods>
|
| 291 |
</oro_website>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 292 |
</resources>
|
| 293 |
<rest>
|
| 294 |
<mapping>
|
|
@@ -325,6 +337,9 @@
|
|
| 325 |
<oro_website>
|
| 326 |
<get><method>list</method></get>
|
| 327 |
</oro_website>
|
|
|
|
|
|
|
|
|
|
| 328 |
</mapping>
|
| 329 |
</rest>
|
| 330 |
<acl>
|
|
@@ -391,6 +406,9 @@
|
|
| 391 |
<website translate="title" module="oro_api">
|
| 392 |
<title>Website List</title>
|
| 393 |
</website>
|
|
|
|
|
|
|
|
|
|
| 394 |
</oro>
|
| 395 |
</resources>
|
| 396 |
</acl>
|
|
@@ -400,6 +418,7 @@
|
|
| 400 |
<oro_quote>oroQuote</oro_quote>
|
| 401 |
<oro_order>oroOrder</oro_order>
|
| 402 |
<oro_website>oroWebsite</oro_website>
|
|
|
|
| 403 |
<oro_customer>oroCustomer</oro_customer>
|
| 404 |
<oro_customer_address>oroCustomerAddress</oro_customer_address>
|
| 405 |
<wishlist>wishlist</wishlist>
|
| 289 |
</list>
|
| 290 |
</methods>
|
| 291 |
</oro_website>
|
| 292 |
+
<oro_region translate="title" module="oro_api">
|
| 293 |
+
<model>oro_api/directory_region_api</model>
|
| 294 |
+
<title>Region List Information</title>
|
| 295 |
+
<acl>oro</acl>
|
| 296 |
+
<methods>
|
| 297 |
+
<list translate="title" module="oro_api">
|
| 298 |
+
<title>Get list of all regions</title>
|
| 299 |
+
<method>items</method>
|
| 300 |
+
<acl>directory/region</acl>
|
| 301 |
+
</list>
|
| 302 |
+
</methods>
|
| 303 |
+
</oro_region>
|
| 304 |
</resources>
|
| 305 |
<rest>
|
| 306 |
<mapping>
|
| 337 |
<oro_website>
|
| 338 |
<get><method>list</method></get>
|
| 339 |
</oro_website>
|
| 340 |
+
<oro_region>
|
| 341 |
+
<get><method>list</method></get>
|
| 342 |
+
</oro_region>
|
| 343 |
</mapping>
|
| 344 |
</rest>
|
| 345 |
<acl>
|
| 406 |
<website translate="title" module="oro_api">
|
| 407 |
<title>Website List</title>
|
| 408 |
</website>
|
| 409 |
+
<region translate="title" module="oro_api">
|
| 410 |
+
<title>Region List</title>
|
| 411 |
+
</region>
|
| 412 |
</oro>
|
| 413 |
</resources>
|
| 414 |
</acl>
|
| 418 |
<oro_quote>oroQuote</oro_quote>
|
| 419 |
<oro_order>oroOrder</oro_order>
|
| 420 |
<oro_website>oroWebsite</oro_website>
|
| 421 |
+
<oro_region>oroRegion</oro_region>
|
| 422 |
<oro_customer>oroCustomer</oro_customer>
|
| 423 |
<oro_customer_address>oroCustomerAddress</oro_customer_address>
|
| 424 |
<wishlist>wishlist</wishlist>
|
app/code/community/Oro/Api/etc/config.xml
CHANGED
|
@@ -20,7 +20,7 @@
|
|
| 20 |
<config>
|
| 21 |
<modules>
|
| 22 |
<Oro_Api>
|
| 23 |
-
<version>1.2.
|
| 24 |
</Oro_Api>
|
| 25 |
</modules>
|
| 26 |
<global>
|
| 20 |
<config>
|
| 21 |
<modules>
|
| 22 |
<Oro_Api>
|
| 23 |
+
<version>1.2.14</version>
|
| 24 |
</Oro_Api>
|
| 25 |
</modules>
|
| 26 |
<global>
|
app/code/community/Oro/Api/etc/wsdl.xml
CHANGED
|
@@ -375,6 +375,24 @@
|
|
| 375 |
</restriction>
|
| 376 |
</complexContent>
|
| 377 |
</complexType>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 378 |
</schema>
|
| 379 |
</types>
|
| 380 |
|
|
@@ -504,6 +522,12 @@
|
|
| 504 |
<input message="typens:oroWebsiteListRequest" />
|
| 505 |
<output message="typens:oroWebsiteListResponse" />
|
| 506 |
</operation>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 507 |
</portType>
|
| 508 |
|
| 509 |
<binding name="{{var wsdl.handler}}Binding" type="typens:{{var wsdl.handler}}PortType">
|
|
@@ -613,6 +637,11 @@
|
|
| 613 |
<input><soap:body namespace="urn:{{var wsdl.name}}" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /></input>
|
| 614 |
<output><soap:body namespace="urn:{{var wsdl.name}}" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /></output>
|
| 615 |
</operation>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 616 |
</binding>
|
| 617 |
|
| 618 |
<message name="oroPingRequest">
|
|
@@ -773,5 +802,16 @@
|
|
| 773 |
<part name="result" type="typens:oroWebsiteEntityArray" />
|
| 774 |
</message>
|
| 775 |
<!-- Oro Website -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 776 |
</definitions>
|
| 777 |
|
| 375 |
</restriction>
|
| 376 |
</complexContent>
|
| 377 |
</complexType>
|
| 378 |
+
|
| 379 |
+
<complexType name="oroRegionEntity">
|
| 380 |
+
<all>
|
| 381 |
+
<element name="region_id" type="xsd:int" minOccurs="0" />
|
| 382 |
+
<element name="countryCode" type="xsd:string" minOccurs="0" />
|
| 383 |
+
<element name="code" type="xsd:string" minOccurs="0" />
|
| 384 |
+
<element name="name" type="xsd:string" minOccurs="0" />
|
| 385 |
+
</all>
|
| 386 |
+
</complexType>
|
| 387 |
+
|
| 388 |
+
|
| 389 |
+
<complexType name="oroRegionEntityArray">
|
| 390 |
+
<complexContent>
|
| 391 |
+
<restriction base="soapenc:Array">
|
| 392 |
+
<attribute ref="soapenc:arrayType" wsdl:arrayType="typens:oroRegionEntity[]" />
|
| 393 |
+
</restriction>
|
| 394 |
+
</complexContent>
|
| 395 |
+
</complexType>
|
| 396 |
</schema>
|
| 397 |
</types>
|
| 398 |
|
| 522 |
<input message="typens:oroWebsiteListRequest" />
|
| 523 |
<output message="typens:oroWebsiteListResponse" />
|
| 524 |
</operation>
|
| 525 |
+
|
| 526 |
+
<operation name="oroRegionList">
|
| 527 |
+
<documentation>Retrieve regions list</documentation>
|
| 528 |
+
<input message="typens:oroRegionListRequest" />
|
| 529 |
+
<output message="typens:oroRegionListResponse" />
|
| 530 |
+
</operation>
|
| 531 |
</portType>
|
| 532 |
|
| 533 |
<binding name="{{var wsdl.handler}}Binding" type="typens:{{var wsdl.handler}}PortType">
|
| 637 |
<input><soap:body namespace="urn:{{var wsdl.name}}" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /></input>
|
| 638 |
<output><soap:body namespace="urn:{{var wsdl.name}}" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /></output>
|
| 639 |
</operation>
|
| 640 |
+
<operation name="oroRegionList">
|
| 641 |
+
<soap:operation soapAction="urn:{{var wsdl.handler}}Action" />
|
| 642 |
+
<input><soap:body namespace="urn:{{var wsdl.name}}" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /></input>
|
| 643 |
+
<output><soap:body namespace="urn:{{var wsdl.name}}" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" /></output>
|
| 644 |
+
</operation>
|
| 645 |
</binding>
|
| 646 |
|
| 647 |
<message name="oroPingRequest">
|
| 802 |
<part name="result" type="typens:oroWebsiteEntityArray" />
|
| 803 |
</message>
|
| 804 |
<!-- Oro Website -->
|
| 805 |
+
|
| 806 |
+
<!-- Oro Region -->
|
| 807 |
+
<message name="oroRegionListRequest">
|
| 808 |
+
<part name="sessionId" type="xsd:string" />
|
| 809 |
+
<part name="filters" type="typens:filters" />
|
| 810 |
+
<part name="pager" type="typens:pager" />
|
| 811 |
+
</message>
|
| 812 |
+
<message name="oroRegionListResponse">
|
| 813 |
+
<part name="result" type="typens:oroRegionEntityArray" />
|
| 814 |
+
</message>
|
| 815 |
+
<!-- Oro Region -->
|
| 816 |
</definitions>
|
| 817 |
|
app/code/community/Oro/Api/etc/wsi.xml
CHANGED
|
@@ -348,6 +348,21 @@
|
|
| 348 |
</xsd:sequence>
|
| 349 |
</xsd:complexType>
|
| 350 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 351 |
<!-- Customer -->
|
| 352 |
<xsd:element name="oroCustomerCreateRequestParam">
|
| 353 |
<xsd:complexType>
|
|
@@ -629,6 +644,26 @@
|
|
| 629 |
</xsd:complexType>
|
| 630 |
</xsd:element>
|
| 631 |
<!-- /Websites -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 632 |
</xsd:schema>
|
| 633 |
</wsdl:types>
|
| 634 |
|
|
@@ -800,6 +835,15 @@
|
|
| 800 |
</wsdl:message>
|
| 801 |
<!-- /Website -->
|
| 802 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 803 |
<wsdl:portType name="{{var wsdl.handler}}PortType">
|
| 804 |
<wsdl:operation name="oroPing">
|
| 805 |
<wsdl:documentation>Get basic presence info</wsdl:documentation>
|
|
@@ -926,6 +970,12 @@
|
|
| 926 |
<wsdl:input message="typens:oroWebsiteListRequest"/>
|
| 927 |
<wsdl:output message="typens:oroWebsiteListResponse"/>
|
| 928 |
</wsdl:operation>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 929 |
</wsdl:portType>
|
| 930 |
|
| 931 |
<wsdl:binding name="{{var wsdl.handler}}Binding" type="typens:{{var wsdl.handler}}PortType">
|
|
@@ -1119,5 +1169,14 @@
|
|
| 1119 |
<soap:body use="literal" />
|
| 1120 |
</wsdl:output>
|
| 1121 |
</wsdl:operation>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1122 |
</wsdl:binding>
|
| 1123 |
</wsdl:definitions>
|
| 348 |
</xsd:sequence>
|
| 349 |
</xsd:complexType>
|
| 350 |
|
| 351 |
+
<xsd:complexType name="oroRegionEntity">
|
| 352 |
+
<xsd:sequence>
|
| 353 |
+
<xsd:element name="region_id" type="xsd:int" minOccurs="0" />
|
| 354 |
+
<xsd:element name="countryCode" type="xsd:string" minOccurs="0" />
|
| 355 |
+
<xsd:element name="code" type="xsd:string" minOccurs="0" />
|
| 356 |
+
<xsd:element name="name" type="xsd:string" minOccurs="0" />
|
| 357 |
+
</xsd:sequence>
|
| 358 |
+
</xsd:complexType>
|
| 359 |
+
|
| 360 |
+
<xsd:complexType name="oroRegionEntityArray">
|
| 361 |
+
<xsd:sequence>
|
| 362 |
+
<xsd:element minOccurs="0" maxOccurs="unbounded" name="complexObjectArray" type="typens:oroRegionEntity" />
|
| 363 |
+
</xsd:sequence>
|
| 364 |
+
</xsd:complexType>
|
| 365 |
+
|
| 366 |
<!-- Customer -->
|
| 367 |
<xsd:element name="oroCustomerCreateRequestParam">
|
| 368 |
<xsd:complexType>
|
| 644 |
</xsd:complexType>
|
| 645 |
</xsd:element>
|
| 646 |
<!-- /Websites -->
|
| 647 |
+
|
| 648 |
+
<!-- Websites -->
|
| 649 |
+
<xsd:element name="oroRegionListRequestParam">
|
| 650 |
+
<xsd:complexType>
|
| 651 |
+
<xsd:sequence>
|
| 652 |
+
<xsd:element minOccurs="1" maxOccurs="1" name="sessionId" type="xsd:string" />
|
| 653 |
+
<xsd:element minOccurs="0" maxOccurs="1" name="filters" type="typens:filters" />
|
| 654 |
+
<xsd:element minOccurs="0" maxOccurs="1" name="pager" type="typens:pager" />
|
| 655 |
+
</xsd:sequence>
|
| 656 |
+
</xsd:complexType>
|
| 657 |
+
</xsd:element>
|
| 658 |
+
|
| 659 |
+
<xsd:element name="oroRegionListResponseParam">
|
| 660 |
+
<xsd:complexType>
|
| 661 |
+
<xsd:sequence>
|
| 662 |
+
<xsd:element minOccurs="1" maxOccurs="1" name="result" type="typens:oroRegionEntityArray" />
|
| 663 |
+
</xsd:sequence>
|
| 664 |
+
</xsd:complexType>
|
| 665 |
+
</xsd:element>
|
| 666 |
+
<!-- /Websites -->
|
| 667 |
</xsd:schema>
|
| 668 |
</wsdl:types>
|
| 669 |
|
| 835 |
</wsdl:message>
|
| 836 |
<!-- /Website -->
|
| 837 |
|
| 838 |
+
<!-- Region -->
|
| 839 |
+
<wsdl:message name="oroRegionListRequest">
|
| 840 |
+
<wsdl:part name="parameters" element="typens:oroRegionListRequestParam" />
|
| 841 |
+
</wsdl:message>
|
| 842 |
+
<wsdl:message name="oroRegionListResponse">
|
| 843 |
+
<wsdl:part name="parameters" element="typens:oroRegionListResponseParam" />
|
| 844 |
+
</wsdl:message>
|
| 845 |
+
<!-- /Region -->
|
| 846 |
+
|
| 847 |
<wsdl:portType name="{{var wsdl.handler}}PortType">
|
| 848 |
<wsdl:operation name="oroPing">
|
| 849 |
<wsdl:documentation>Get basic presence info</wsdl:documentation>
|
| 970 |
<wsdl:input message="typens:oroWebsiteListRequest"/>
|
| 971 |
<wsdl:output message="typens:oroWebsiteListResponse"/>
|
| 972 |
</wsdl:operation>
|
| 973 |
+
|
| 974 |
+
<wsdl:operation name="oroRegionList">
|
| 975 |
+
<wsdl:documentation>Retrieve regions list</wsdl:documentation>
|
| 976 |
+
<wsdl:input message="typens:oroRegionListRequest"/>
|
| 977 |
+
<wsdl:output message="typens:oroRegionListResponse"/>
|
| 978 |
+
</wsdl:operation>
|
| 979 |
</wsdl:portType>
|
| 980 |
|
| 981 |
<wsdl:binding name="{{var wsdl.handler}}Binding" type="typens:{{var wsdl.handler}}PortType">
|
| 1169 |
<soap:body use="literal" />
|
| 1170 |
</wsdl:output>
|
| 1171 |
</wsdl:operation>
|
| 1172 |
+
<wsdl:operation name="oroRegionList">
|
| 1173 |
+
<soap:operation soapAction=""/>
|
| 1174 |
+
<wsdl:input>
|
| 1175 |
+
<soap:body use="literal" />
|
| 1176 |
+
</wsdl:input>
|
| 1177 |
+
<wsdl:output>
|
| 1178 |
+
<soap:body use="literal" />
|
| 1179 |
+
</wsdl:output>
|
| 1180 |
+
</wsdl:operation>
|
| 1181 |
</wsdl:binding>
|
| 1182 |
</wsdl:definitions>
|
package.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Oro_Api</name>
|
| 4 |
-
<version>1.2.
|
| 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>2017-06
|
| 14 |
-
<time>
|
| 15 |
-
<contents><target name="magecommunity"><dir name="Oro"><dir name="Api"><dir name="Helper"><file name="Data.php" hash="3f60d322fbdeea0f751addadc3d0b10e"/></dir><dir name="Model"><dir name="Admin"><file name="Redirectpolicy.php" hash="6d266848220d82ee2a8ef037755be953"/></dir><dir name="Catalog"><dir name="Product"><dir name="Api"><file name="V2.php" hash="9fe5e65e1b189ba6a9fed25fe8d858d6"/></dir></dir></dir><dir name="Customer"><dir name="Address"><dir name="Api"><file name="V2.php" hash="d78fb25439d4c4f172f8ff49dc24439d"/></dir><file name="Api.php" hash="bc68a17a8b3f4ef84d4887c9bbe148f0"/></dir><dir name="Api"><file name="V2.php" hash="89fc6f16e7f452438d4927669ea0f0de"/></dir><file name="Api.php" hash="36e09efd92d3ecb1d4dc833f3c259ad3"/></dir><dir name="Newsletter"><dir name="Subscriber"><dir name="Api"><file name="V2.php" hash="7b18db294f86ccf841a95aa7b7e656af"/></dir><file name="Api.php" hash="ac35ba0bb921258495149509fdb1b66e"/></dir></dir><dir name="Observer"><dir name="Crm"><file name="Controller.php" hash="7b3ec12f8934af2cb97ee21d7cd1c903"/></dir><dir name="Sales"><file name="Order.php" hash="81e2f8992f57a406130c893072365782"/></dir></dir><file name="Observer.php" hash="cf5202298ae9319e731ef8b5845a36a1"/><dir name="Ping"><file name="V2.php" hash="0fa10110ecb67d32079c5530a979c55a"/></dir><file name="Ping.php" hash="223e546950e0f7c23dfcc567e44893a3"/><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="199749c5c972ab305abff0c9b10e9954"/></dir></dir></dir></dir><file name="Setup.php" hash="4186114dd1317db2c98d54089d7edf89"/><dir name="Wishlist"><dir name="Status"><file name="Collection.php" hash="c700fba4fcdf3c229cac1636c09e6d63"/></dir><file name="Status.php" hash="2af51c733fd1a967d0c540b7d8db9f76"/></dir></dir><dir name="Sales"><dir name="Order"><dir name="Api"><file name="V2.php" hash="0621bd68c420feb8000dae6861c49369"/></dir><file name="Api.php" hash="
|
| 16 |
<compatible/>
|
| 17 |
<dependencies><required><php><min>5.2.13</min><max>5.6.99</max></php></required></dependencies>
|
| 18 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Oro_Api</name>
|
| 4 |
+
<version>1.2.15.0</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>2017-09-06</date>
|
| 14 |
+
<time>13:56:59</time>
|
| 15 |
+
<contents><target name="magecommunity"><dir name="Oro"><dir name="Api"><dir name="Helper"><file name="Data.php" hash="3f60d322fbdeea0f751addadc3d0b10e"/></dir><dir name="Model"><dir name="Admin"><file name="Redirectpolicy.php" hash="6d266848220d82ee2a8ef037755be953"/></dir><dir name="Catalog"><dir name="Product"><dir name="Api"><file name="V2.php" hash="9fe5e65e1b189ba6a9fed25fe8d858d6"/></dir></dir></dir><dir name="Customer"><dir name="Address"><dir name="Api"><file name="V2.php" hash="d78fb25439d4c4f172f8ff49dc24439d"/></dir><file name="Api.php" hash="bc68a17a8b3f4ef84d4887c9bbe148f0"/></dir><dir name="Api"><file name="V2.php" hash="89fc6f16e7f452438d4927669ea0f0de"/></dir><file name="Api.php" hash="36e09efd92d3ecb1d4dc833f3c259ad3"/></dir><dir name="Directory"><dir name="Region"><dir name="Api"><file name="V2.php" hash="58db6ac2958e08cc1d5d35b7d6aed492"/></dir><file name="Api.php" hash="627b8ec0cf600bc3d1527728fff9e747"/></dir></dir><dir name="Newsletter"><dir name="Subscriber"><dir name="Api"><file name="V2.php" hash="7b18db294f86ccf841a95aa7b7e656af"/></dir><file name="Api.php" hash="ac35ba0bb921258495149509fdb1b66e"/></dir></dir><dir name="Observer"><dir name="Crm"><file name="Controller.php" hash="7b3ec12f8934af2cb97ee21d7cd1c903"/></dir><dir name="Sales"><file name="Order.php" hash="81e2f8992f57a406130c893072365782"/></dir></dir><file name="Observer.php" hash="cf5202298ae9319e731ef8b5845a36a1"/><dir name="Ping"><file name="V2.php" hash="0fa10110ecb67d32079c5530a979c55a"/></dir><file name="Ping.php" hash="223e546950e0f7c23dfcc567e44893a3"/><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="199749c5c972ab305abff0c9b10e9954"/></dir></dir></dir></dir><file name="Setup.php" hash="4186114dd1317db2c98d54089d7edf89"/><dir name="Wishlist"><dir name="Status"><file name="Collection.php" hash="c700fba4fcdf3c229cac1636c09e6d63"/></dir><file name="Status.php" hash="2af51c733fd1a967d0c540b7d8db9f76"/></dir></dir><dir name="Sales"><dir name="Order"><dir name="Api"><file name="V2.php" hash="0621bd68c420feb8000dae6861c49369"/></dir><file name="Api.php" hash="373f0e839ca16709b0bc7899db92b9db"/></dir><dir name="Quote"><dir name="Api"><file name="V2.php" hash="4e8ba0ed7757110c4eae1d239b2adf76"/></dir><file name="Api.php" hash="bc8a696845efa612d52f06f7e7c27c08"/><file name="Item.php" hash="991c52036036b348b7385f618ee16b67"/></dir></dir><dir name="Website"><dir name="Api"><file name="V2.php" hash="aa9ab487ab696216d287be68dac262a6"/></dir><file name="Api.php" hash="a7cc7c6b06873e6d63b5d393cd50fd9b"/></dir><dir name="Wishlist"><dir name="Api"><file name="V2.php" hash="f0ac63e1cf9440ed0e4ca72eb93834f2"/></dir><file name="Api.php" hash="db30a7c3c9fbd7ff5fa6dcf7ba4c594f"/><dir name="Item"><dir name="Api"><file name="V2.php" hash="43a919dae8dd432e211878a39ba3f4a2"/></dir><file name="Api.php" hash="8d5d856ea533b9b122c96d0bef32861b"/></dir><file name="Observer.php" hash="475495be5a367730dfdf1ffbc20b54fa"/><dir name="Status"><dir name="Api"><file name="V2.php" hash="37a227a428a277ace34cbb25d30e92c2"/></dir><file name="Api.php" hash="25789253dbd23561aabaf62aba3a982c"/></dir><file name="Status.php" hash="0fe5e02ae58a405adbc7b69a282acdab"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Oro"><file name="GatewayController.php" hash="aca4efd099a889a77fb119356d9fab23"/><file name="SalesController.php" hash="3cd40b74eafe18fc6885ce871e305c5c"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="b3298b50c6f9556d36055f01cdfeb180"/><file name="api.xml" hash="1afe878afc0f501d5d65487a354f31e1"/><file name="config.xml" hash="aa482003c9d7b00c67750a50891a1e0d"/><file name="system.xml" hash="d42daecd30f4b9a1de9952fa1041bfbe"/><file name="workflow.xml" hash="40e7f46d53156e77b1d5498769e8f6cc"/><file name="wsdl.xml" hash="a04173786fa06dcba5ea6f4658ba5b50"/><file name="wsi.xml" hash="4522ce764cde2c134e0e7350fc8ebbd7"/></dir><dir name="sql"><dir name="oro_api_setup"><file name="install-1.2.5.php" hash="d7c5d2ef1ebfd4f6084aa48d318fe307"/><file name="upgrade-1.2.5.0-1.2.5.1.php" hash="7946d51070254f4230c90da2e97801e8"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Oro_Api.xml" hash="9e6e71fac0eecdb2eb3d5589a19aa60e"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="oro"><dir><dir name="api"><file name="check.phtml" hash="142e380fa9eae5c0b7f233d519d13dc7"/><file name="login_styles.phtml" hash="a89d5d690702cf8296d76923b85e4ced"/><file name="page.phtml" hash="e9359e49019bbaa6e8b77e2a0ec458dd"/><file name="script.phtml" hash="89c3810165995c0ef6a0f5ad3b39f41f"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><dir name="oro"><file name="add_button_icon_dark.png" hash="01929b4351b537427035ba0f4df61689"/><file name="apply_button_icon.png" hash="4fc6fffbf943e82ea2b1a0022ec329e1"/><file name="error.png" hash="0caf3533e40e7f425d206803ef6e1876"/><file name="grid_sort_asc.gif" hash="8a86df764d4219dc0cf04f8529165cef"/><file name="grid_sort_desc.gif" hash="4f493deb94cb0eb0c6401e7f6bf6e0af"/><file name="loader.gif" hash="edf214475c8e79574dac3687926fc62b"/></dir></dir><file name="oro_style.css" hash="90e9457b48af47efd91ee80114ca636e"/></dir></dir></dir></target></contents>
|
| 16 |
<compatible/>
|
| 17 |
<dependencies><required><php><min>5.2.13</min><max>5.6.99</max></php></required></dependencies>
|
| 18 |
</package>
|
