FieldsFieldNameThe LmsObject property the client wishes to query on. The FieldName string will always match the names of the LmsObject's properties. For LmsPersonObject, this might be 'FirstName', 'LastName', etc. OperationThe search operator used when comparing the value of the specified field with the search term(s). The 'greater' and 'lesser' operators are not restricted to numeric searches and may be used on strings to compare alphabetical order. SearchTermThe string to perform the search against. Wild cards in the
string may or may not be interpreted depending on the operator in use.
SearchTerm is ignored for searches using the ContainsSearchTermsThe required list of values that the specified field array must
contain in order to be returned in the result set. Objects containing
more values than specified in the ContainsSearchTerms list are also
returned as long as the contain the terms being searched for. Only
applicable when using the UsageA client application must instantiate an LmsSearchParam
object for each search parameter to be specified. The client must pass
in the FieldName they would like to search on, the operator they would
like to use, and a string value that they would like to search against.
This string may include wild card characters depending on the
search operator being used. When searching using the The following searchOperator strings are permissible:
As indicated, only the 'like' operator supports wild card characters at the time of writing. The Wild CardsThe SearchTerm argument can contain zero or more of the following wild cards:
The % wild card will match an indefinite number of characters (ungreedily). The ? wild card will match only one character. A literal % or ? can be included by escaping it with a backslash. A literal backslash can be included by escaping it with an additional backslash. All wild card and escape-sequence substitutions will be performed only if the searchOperator supports it. In this case, this will only happen when the 'like' operator is being used. When using other operators, special characters such as % and ? need not be escaped. All wild cards will match punctuation characters, notably the asterisk and the question mark. Contains OperatorThe contains operator is used to search fields that can contain multiple values. When searching using the One such example is the property Rules and Guidelines:PermissionsAs always the client must be authenticated with the web service as a user with sufficient privileges to view the data that the client expects to be returned. The returned result set will always be a subset (never a superset) to that returned if the Search method had been invoked with no search parameters. CaseAll searches will be done in a case insensitive manner. This
includes using the 'greater' and 'lesser' operators against string
searches. For example, the expressions 'hello' > 'helloThere',
'meToo' < 'metoo', 'fun' > 'Joy' will all evaluate to Sample CodeExamples
|