CreateVariant(Integer, VariableAssignment List) Method - Author-it On-Premises - Author-it

Author-it Development Documentation

Creates a new variant of the specified object using the specified variant assignments.

Parameters

  • variantParentObjectId

    Type: Integer

    Object ID of the variant parent.

  • assignments

    Type: List of VariableAssignment objects.

    List of variant criteria.

Returns

Type: ObjectBrief

An ObjectBrief object that contains information about the new variant object.

Addresses

JSON: http://<Base Address>/Variable/json/CreateVariant

JSON (for IIS): http://<Base Address>/Variable.svc/json/CreateVariant