class RelationalTableRegistrationRestController extends HerdBaseController {

    @RequestMapping(value = "/relationalTableRegistrations", method = RequestMethod.POST, consumes = {"application/xml", "application/json"})
    @Secured(SecurityFunctions.FN_RELATIONAL_TABLE_REGISTRATIONS_POST)
    public BusinessObjectData createRelationalTableRegistration(@RequestBody RelationalTableRegistrationCreateRequest relationalTableRegistrationCreateRequest,
        @RequestParam(value = "appendToExistingBusinessObjectDefinition", required = false, defaultValue = "false")
            Boolean appendToExistingBusinessObjectDefinition)
    {
        return relationalTableRegistrationService
            .createRelationalTableRegistration(relationalTableRegistrationCreateRequest, appendToExistingBusinessObjectDefinition);
    }

}