40 lines
1.7 KiB
XML
Executable File
40 lines
1.7 KiB
XML
Executable File
<?xml version="1.0" ?>
|
|
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Webapi:etc/webapi.xsd">
|
|
<route url="/V1/report-adapter/internalaccounts" method="POST">
|
|
<service class="JR\ReportIntegration\Api\Model\InternalAccountsManagementInterface" method="postInternalAccounts"/>
|
|
<resources>
|
|
<resource ref="anonymous"/>
|
|
</resources>
|
|
</route>
|
|
<route url="/V1/report-adapter/disableaccounts" method="POST">
|
|
<service class="JR\ReportIntegration\Api\Model\DisableAccountsManagementInterface" method="postDisableAccounts"/>
|
|
<resources>
|
|
<resource ref="anonymous"/>
|
|
</resources>
|
|
</route>
|
|
<route url="/V1/report-adapter/setoffice" method="POST">
|
|
<service class="JR\ReportIntegration\Api\Model\SetOfficeManagementInterface" method="postSetOffice"/>
|
|
<resources>
|
|
<resource ref="anonymous"/>
|
|
</resources>
|
|
</route>
|
|
<route url="/V1/report-adapter/setsales" method="POST">
|
|
<service class="JR\ReportIntegration\Api\Model\SetSalesManagementInterface" method="postSetSales"/>
|
|
<resources>
|
|
<resource ref="anonymous"/>
|
|
</resources>
|
|
</route>
|
|
<route url="/V1/report-adapter/confirm" method="POST">
|
|
<service class="JR\ReportIntegration\Api\Model\ConfirmManagementInterface" method="postConfirm"/>
|
|
<resources>
|
|
<resource ref="anonymous"/>
|
|
</resources>
|
|
</route>
|
|
<route url="/V1/report-adapter/deny" method="POST">
|
|
<service class="JR\ReportIntegration\Api\Model\DenyManagementInterface" method="postDeny"/>
|
|
<resources>
|
|
<resource ref="anonymous"/>
|
|
</resources>
|
|
</route>
|
|
</routes>
|