This section describes how to search for concept and terms via TermWeb API.
Selecting dictionary, section and domain
Searching via the API is similar to searching in TermWeb directly. You need to select a dictionary, one or more sections, and optionally a set of domains. The selections are saved when the user's session is closed (i.e. by logging out), and applied again when the same user logs in.
Selecting dictionary
Selecting which dictionary to search in is done by the generic method setSelected
.
<?xml version="1.0"?> <methodCall> <methodName>termwebapi2.setSelected</methodName> <params> <param><value><string>123456789abc</string></value></param> <param><value><string>dictionary</string></value></param> <param><value><string>312</string></value></param> </params> </methodCall>
Response:
<?xml version="1.0" encoding="UTF-8"?> <methodResponse> <params> <param><value><i4>0</i4></value></param> </params> </methodResponse>