2016-08-10 13 views
1

如何在Magento休息API2除了默認的參數傳遞多個參數,我們將在api2.xml如何通過在Magento休息API2多個參數

<routes> 
     <route_collection> 
      <route>/appointmentupdate/:appointmentid</route> 
      <action_type>collection</action_type> 
     </route_collection> 
</routes> 

回答

0

我發現這裏面的另一個API2 Magento的通話

app\code\core\Mage\Catalog\etc\api2.xml: 
    187:       <route>/products/:id/store/:store</route> 

所以URL調用將是:

產品/ [ID]/[存儲]

+0

好的..我會嘗試使用我的代碼並給你反饋.. – Vishnu