SearchByName(String, Boolean) Method - Author-it On-Premises - Author-it

Author-it Development Documentation

Searches for variables by name.

Parameters

  • searchName

    Type: String

    The name of the variable.

    Note: Do not use brackets in the variable name value. For example, use VARIABLE_NAME instead of <VARIABLE_NAME>. The value is not case-sensitive.

  • isVariantsOnly

    Type: Boolean

    True to search only for variant variables; otherwise, false.

Returns

Type: Variable List

List of Variable objects that contain information about the variables that match the search criteria.

Addresses

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

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