class DataProviderRestController {

    @RequestMapping(value = "/dataProviders", method = RequestMethod.POST, consumes = {"application/xml", "application/json"})
    @Secured(SecurityFunctions.FN_DATA_PROVIDERS_POST)
    public DataProvider createDataProvider(@RequestBody DataProviderCreateRequest request)
    {
        return dataProviderService.createDataProvider(request);
    }

}