1
0
mirror of synced 2025-01-09 02:37:09 +03:00
DeliveryModuleBundle/Resources/config/routing.yaml
2020-04-24 17:59:28 +03:00

51 lines
1.7 KiB
YAML

#############
# API
############
retailcrm_delivery_module_api_base:
path: /api
defaults: { _controller: retailcrm.delivery_module.api_controller::index }
retailcrm_delivery_module_api_activity:
path: /api/activity
defaults: { _controller: retailcrm.delivery_module.api_controller::activity }
methods: POST
retailcrm_delivery_module_api_calculate:
path: /api/calculate
defaults: { _controller: retailcrm.delivery_module.api_controller::calculate }
methods: POST
retailcrm_delivery_module_api_save:
path: /api/save
defaults: { _controller: retailcrm.delivery_module.api_controller::save }
methods: POST
retailcrm_delivery_module_api_get:
path: /api/get
defaults: { _controller: retailcrm.delivery_module.api_controller::getDeliveryOrder }
methods: GET
retailcrm_delivery_module_api_delete:
path: /api/delete
defaults: { _controller: retailcrm.delivery_module.api_controller::delete }
methods: POST
retailcrm_delivery_module_api_shipment_point_list:
path: /api/shipment-point-list
defaults: { _controller: retailcrm.delivery_module.api_controller::shipmentPointList }
methods: GET
retailcrm_delivery_module_api_print:
path: /api/print
defaults: { _controller: retailcrm.delivery_module.api_controller::print }
methods: POST
retailcrm_delivery_module_api_shipment_save:
path: /api/shipment-save
defaults: { _controller: retailcrm.delivery_module.api_controller::shipmentSave }
methods: POST
retailcrm_delivery_module_api_shipment_delete:
path: /api/shipment-delete
defaults: { _controller: retailcrm.delivery_module.api_controller::shipmentDelete }
methods: POST