Add nano service endpoints to add beneficiaries insurances subscriptions

This commit is contained in:
Djery-Tom 2021-11-09 09:28:50 +01:00
parent e09b9a3b68
commit fa879cb83c
1 changed files with 4 additions and 1 deletions

View File

@ -202,6 +202,10 @@ $router->get('/geocode', 'HelperController@getGoogleGeocoding');
// Insurances routes
$router->group(['prefix' => '/insurances'], function () use ($router) {
$router->get('', 'NanoSanteServiceController@get');
$router->get('networks', 'NanoSanteServiceController@get');
$router->put('{id}/add-beneficiaries', 'NanoSanteServiceController@put');
// Subscriptions
$router->group(['prefix' => '/subscriptions'], function () use ($router) {
$router->post('bonus-amount', 'NanoSanteServiceController@post');
$router->post('upload-images', 'NanoSanteServiceController@postWithFiles');
@ -210,7 +214,6 @@ $router->get('/geocode', 'HelperController@getGoogleGeocoding');
// $router->put('{id}/reject', 'NanoSanteServiceController@put');
$router->put('{id}/pay', 'NanoSanteServiceController@put');
$router->get('', 'NanoSanteServiceController@get');
$router->put('{id}', 'NanoSanteServiceController@put');
});
});