postNewVariant

@PostMapping(value = ["model/variant"], produces = ["application/xml"])
fun postNewVariant(@RequestParam(required = false, name = "variant_id") variantID: String?, @RequestParam(required = false, name = "variant_name") name: String?): String

Create a new variant. If an existing variant is specified, the new variant will be initialized with a copy of the model. If no existing variant is specified, a new empty variant with the given name is constructed.