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

Author-it Development Documentation

Returns a value that specifies whether a variant with the specified criteria exists for the specified variant parent object.

Parameters

  • variantParentObjectId

    Type: Integer

    Object ID of the variant parent.

  • assignments

    Type: List of VariableAssignment objects.

    List of variant criteria.

Returns

Type: Boolean

True if the specified variant exists; otherwise, false.

Addresses

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

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