class ExternalInterfaceRestController {

    @RequestMapping(value = EXTERNAL_INTERFACE_URI_PREFIX, method = RequestMethod.POST, consumes = {"application/xml", "application/json"})
    @Secured(SecurityFunctions.FN_EXTERNAL_INTERFACES_POST)
    public ExternalInterface createExternalInterface(@RequestBody ExternalInterfaceCreateRequest request)
    {
        return externalInterfaceService.createExternalInterface(request);
    }

}