class PreparationController {

    @RequestMapping(value = "/preparations", method = POST)
    @ApiOperation(value = "Create a preparation", notes = "Returns the id of the created preparation.")
    @Timed
    public String create(@ApiParam("preparation") @RequestBody @Valid final Preparation preparation,
            @ApiParam(value = "The folderId path to create the entry.") @RequestParam String folderId) {
        return preparationService.create(preparation, folderId);
    }

}