putModelOfVariant

@PutMapping(value = ["model"], produces = ["application/xml"], consumes = ["application/xml"])
fun putModelOfVariant(@RequestParam(required = false, name = "variant_UUID") variantUID: String?, @RequestParam(required = false, name = "variant_name") name: String?, @RequestParam(required = false, name = "as_version") asVersion: Boolean = false, @RequestBody fragment: Fragment): String

Set a complete model (Fragment). If the specified variant is existent, a new running version will be created. if the variant is not present, a new variant with the given name is initialized with the specified model as an initial version

URL Params

  • variant_UUID?=String

  • variant_name=String

Body

  • XML Body (closed fragment)

Checks

  • XML fragment verification

Parameters

variantUID
name
fragment