123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- <?xml version="1.0"?>
- <!--
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- -->
- <routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Webapi:etc/webapi.xsd">
- <route url="/V1/taxRates" method="POST">
- <service class="Magento\Tax\Api\TaxRateRepositoryInterface" method="save"/>
- <resources>
- <resource ref="Magento_Tax::manage_tax"/>
- </resources>
- </route>
- <route url="/V1/taxRates/:rateId" method="GET">
- <service class="Magento\Tax\Api\TaxRateRepositoryInterface" method="get"/>
- <resources>
- <resource ref="Magento_Tax::manage_tax"/>
- </resources>
- </route>
- <route url="/V1/taxRates" method="PUT">
- <service class="Magento\Tax\Api\TaxRateRepositoryInterface" method="save"/>
- <resources>
- <resource ref="Magento_Tax::manage_tax"/>
- </resources>
- </route>
- <route url="/V1/taxRates/:rateId" method="DELETE">
- <service class="Magento\Tax\Api\TaxRateRepositoryInterface" method="deleteById"/>
- <resources>
- <resource ref="Magento_Tax::manage_tax"/>
- </resources>
- </route>
- <route url="/V1/taxRates/search" method="GET">
- <service class="Magento\Tax\Api\TaxRateRepositoryInterface" method="getList"/>
- <resources>
- <resource ref="Magento_Tax::manage_tax"/>
- </resources>
- </route>
- <route url="/V1/taxRules" method="POST">
- <service class="Magento\Tax\Api\TaxRuleRepositoryInterface" method="save"/>
- <resources>
- <resource ref="Magento_Tax::manage_tax"/>
- </resources>
- </route>
- <route url="/V1/taxRules" method="PUT">
- <service class="Magento\Tax\Api\TaxRuleRepositoryInterface" method="save"/>
- <resources>
- <resource ref="Magento_Tax::manage_tax"/>
- </resources>
- </route>
- <route url="/V1/taxRules/:ruleId" method="DELETE">
- <service class="Magento\Tax\Api\TaxRuleRepositoryInterface" method="deleteById"/>
- <resources>
- <resource ref="Magento_Tax::manage_tax"/>
- </resources>
- </route>
- <route url="/V1/taxRules/:ruleId" method="GET">
- <service class="Magento\Tax\Api\TaxRuleRepositoryInterface" method="get"/>
- <resources>
- <resource ref="Magento_Tax::manage_tax"/>
- </resources>
- </route>
- <route url="/V1/taxRules/search" method="GET">
- <service class="Magento\Tax\Api\TaxRuleRepositoryInterface" method="getList"/>
- <resources>
- <resource ref="Magento_Tax::manage_tax"/>
- </resources>
- </route>
- <route url="/V1/taxClasses" method="POST">
- <service class="Magento\Tax\Api\TaxClassRepositoryInterface" method="save"/>
- <resources>
- <resource ref="Magento_Tax::manage_tax"/>
- </resources>
- </route>
- <route url="/V1/taxClasses/:taxClassId" method="GET">
- <service class="Magento\Tax\Api\TaxClassRepositoryInterface" method="get"/>
- <resources>
- <resource ref="Magento_Tax::manage_tax"/>
- </resources>
- </route>
- <route url="/V1/taxClasses/:classId" method="PUT">
- <service class="Magento\Tax\Api\TaxClassRepositoryInterface" method="save"/>
- <resources>
- <resource ref="Magento_Tax::manage_tax"/>
- </resources>
- </route>
- <route url="/V1/taxClasses/:taxClassId" method="DELETE">
- <service class="Magento\Tax\Api\TaxClassRepositoryInterface" method="deleteById"/>
- <resources>
- <resource ref="Magento_Tax::manage_tax"/>
- </resources>
- </route>
- <route url="/V1/taxClasses/search" method="GET">
- <service class="Magento\Tax\Api\TaxClassRepositoryInterface" method="getList"/>
- <resources>
- <resource ref="Magento_Tax::manage_tax"/>
- </resources>
- </route>
- </routes>
|