<?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/ctsg/shippingaccount" method="GET">
        <service class="CTSG\ShippingAccount\Service\ShippingAccountManagementInterface" method="get"/>
        <resources>
            <resource ref="Magento_Backend::admin"/>
        </resources>
    </route>
    <route url="/V1/ctsg/shippingaccount" method="POST">
        <service class="CTSG\ShippingAccount\Service\ShippingAccountManagementInterface" method="create"/>
        <resources>
            <resource ref="Magento_Backend::admin"/>
        </resources>
    </route>
    <route url="/V1/ctsg/shippingaccount/:id" method="PUT">
        <service class="CTSG\ShippingAccount\Service\ShippingAccountManagementInterface" method="update"/>
        <resources>
            <resource ref="Magento_Backend::admin"/>
        </resources>
    </route>
    <route url="/V1/ctsg/shippingaccount/:id" method="DELETE">
        <service class="CTSG\ShippingAccount\Service\ShippingAccountManagementInterface" method="remove"/>
        <resources>
            <resource ref="Magento_Backend::admin"/>
        </resources>
    </route>
</routes>
